@charset "utf-8";
@import "../../first/css/base.min.css";

#title{
  background: url('../img/bg.jpg') center top no-repeat;
  background-size: 100% auto;
}

#contents{
  h2{
    font-size: 2.5rem;
    line-height: 150%;
    text-align: center;
    padding: 0 0 15px;
    margin: 0 auto 60px;
    border-bottom: 1px solid #ccc;
    strong{
      font-size: 3rem;
    }
    &.v2{
      text-align: left;
      padding: 0 100px 15px;
      margin: 0 auto 20px;
    }
    &.v3{
      text-align: center;
      padding: 0 0 40px;
      margin: 0 auto;
    }
  }
  p{
    font-size: 1.6rem;
    line-height: 200%;
    text-align: left;
    &.txt{
      margin: 0 auto 40px;
      text-align: center;
      strong{
        font-size: 1.6rem;
        color: #3a7775;
      }
    }
    &.img{
      line-height: 0;
      margin: 0 auto;
      text-align: center;
      &.ex{
        margin: 60px 0;
		padding: 30px 15px;
		background: #FFF;
      }
    }
  }
  ul.point{
    display: block;
    letter-spacing: -0.4em;
    text-align: center;
    line-height: 0;
    margin: 0 auto 100px;
    li{
      display: inline-block;
      letter-spacing: normal;
      vertical-align: top;
      width: 200px;
      -webkit-box-sizing: border-box;
      box-sizing: border-box;
      margin: 0 30px 0 0;
      >span{
        display: block;
        width: 100%;
        color: #333;
        text-align: center;
        &.c{
          display: table;
          height: 200px;
          border-radius: 100%;
          background: #324d4c;
          color: #fff;
          margin: 0 auto 15px;
          >span{
            display: table-cell;
            vertical-align: middle;
            font-size: 2.5rem;
            line-height: 120%;
            small{
              font-size: 2.2rem;
            }
          }
        }
        &.t{
          color: #3a7775;
          font-size: 1.7rem;
          line-height: 140%;
		  font-weight: bold;
        }
      }
    }
  }
  .in{
    padding: 0 100px;
    p{
      font-size: 1.6rem;
    }
    .p{
      display: block;
      letter-spacing: -0.4em;
      text-align: left;
      line-height: 0;
      padding: 40px 0 0;
      .img{
        display: inline-block;
        letter-spacing: normal;
        vertical-align: top;
        line-height: 0;
        width: 350px;
        background: #FFF;
        margin: 0 100px 0 0;
      }
      .tex{
        display: inline-block;
        letter-spacing: normal;
        vertical-align: top;
        width: 550px;
        p{
          font-size: 1.6rem;
            line-height: 1.8;
          span{
            display: block;
            font-size: 1.8rem;
            padding: 5px 0 0;
            font-weight: bold;
            strong{
              color: #3a7775;
              padding: 0 5px;
            }
          }
        }
        .box{
          position: relative;
          background: #EAEAEA;
          padding: 50px 30px 30px;
          margin: 80px auto 0;
          p{
            &.t{
              position: absolute;
              top: -20px;
              left: 30px;
              padding: 15px 25px 13px;
              font-size: 2rem;
              line-height: 120%;
              color: #fff;
              background: #333;
              font-weight: bold;
            }
            span{
              padding: 0;
            }
          }
        }
      }
    }
    ul.cap{
      display: inline-block;
      width: 700px;
      text-align: left;
      line-height: 0;
      margin: 0 auto 40px;
      li{
        display: block;
        font-size: 1.6rem;
        line-height: 200%;
        margin: 0 auto 20px;
        padding: 0 0 0 1.5em;
        position: relative;
        &::before{
          content: '※';
          position: absolute;
          top: 0;
          left: 0;
        }
      }
    }
  }
  ul.schedule{
    display: block;
    letter-spacing: -0.4em;
    text-align: left;
    line-height: 0;
    padding: 40px 0 0;
    margin: 0 auto 60px;
    li{
      display: inline-block;
	  background: #FFF;
      width: 280px;
      min-height: 310px;
      margin: 0 80px 60px 0;
      padding: 30px 15px 15px;
      letter-spacing: normal;
      vertical-align: top;
      border: 5px solid #d8e1e0;
      -webkit-box-sizing: border-box;
      box-sizing: border-box;
      &:nth-child(3n){
        margin-right: 0;
      }
      span{
        display: block;
        font-size: 1.5rem;
        line-height: 180%;
        text-align: left;
        margin: 0 auto 10px;
        small{
          font-size: 1.2rem;
        }
        a{
          color: #3a7775;
          text-decoration: underline;
          font-size: 1.6rem;
        }
        &.img{
          line-height: 0;
          margin: 0 auto 10px;
          text-align: center;
        }
        &.t{
          font-size: 1.7rem;
          line-height: 140%;
          text-align: center;
          font-weight: bold;
          margin: 0 auto 15px;
        }
        &:last-child{
          margin-bottom: 0;
        }
        &.btn{
          line-height: 0;
          padding: 10px 0 0;
          >a{
            display: block;
            border: 1px solid #ccc;
            border-radius: 10px;
            padding: 10px 10px 10px 30px;
            position: relative;
            line-height: 120%;
            color: #333;
            position: relative;
            transition: 0.3s ease-in-out;
            text-decoration: none;
            &::before{
              position: absolute;
              top: 50%;
              left: 15px;
              display: block;
              content: '';
              width: 4px;
              height: 4px;
              margin-top: -2px;
              border-top: 1px solid #333;
              border-right: 1px solid #333;
              transform: rotate(45deg);
            }
            &:hover{
              text-decoration: none;
              background: #333;
              color: #fff;
              &::before{
                border-top: 1px solid #fff;
                border-right: 1px solid #fff;
              }
            }
          }
        }
      }
    }
  }
  .table{
    table{
      width: 100% !important;
      max-width: 100% !important;
	  border-top: none;
      tr{
        &.bn{
          td{
            border-bottom: none;
          }
        }
        &.t{
          td{
            border-bottom: none;
            padding: 20px 30px 0;
            text-align: center;
          }
          &+tr>td{
            padding-top: 10px;
          }
        }
      }
      th,td{
        border-bottom: 1px solid #DDD;
        padding: 20px 30px;
        font-size: 1.6rem;
        vertical-align: middle;
      }
      th{
        border-bottom: 1px solid #CCC;
      }
      td{
        padding: 0 25px;
        &.img{
          border-bottom: 1px solid #DDD !important;
          line-height: 0;
          vertical-align: middle;
          text-align: center;
          padding: 15px;
          p{
            display: inline-block;
            line-height: 0;
            padding: 0;
            margin: 0;
            &.t{
              display: block;
              text-align: center;
              line-height: 140%;
              background: none;
              padding: 10px 0;
			  font-weight: bold;
            }
          }
        }
        &.b{
          border-bottom: 1px solid #DDD !important;
        }
        small{
          padding-left: 5px;
          font-size: 1.4rem;
        }
        strong{
          font-size: 2rem;
        }
        i{
          display: inline-block;
          font-size: 1.2rem;
          line-height: 100%;
          font-weight: bold;
          color: #fff;
          background: #9ebab0;
          padding: 4px 15px 4px;
          font-style: normal;
        }
        a{
          display: inline-block;
          font-size: 1.4rem;
          line-height: 100%;
          color: #333;
          background: #fff;
          padding: 12px 20px 12px 30px;
          border: 1px solid #666;
          position: relative;
          border-radius: 10px;
          transition: 0.3s ease-in-out;
          &::after{
            position: absolute;
            top: 50%;
            left: 15px;
            display: block;
            content: '';
            width: 4px;
            height: 4px;
            margin-top: -2px;
            border-top: 1px solid #333;
            border-right: 1px solid #333;
            transform: rotate(45deg);
            transition: 0.3s ease-in-out;
          }
          &:hover{
            background: #333;
            color: #fff;
            text-decoration: none;
            &::after{
              border-top: 1px solid #fff;
              border-right: 1px solid #fff;
            }
          }
        }
      }
    }
  }
}

#tablet{
  #contents{
    .in{
      padding: 0 50px;
      ul.schedule{
        li{
          width: 330px;
          min-height: 330px;
          margin: 0 40px 40px 0;
          &:nth-child(3n){
            margin-right: 0;
          }
        }
      }
      .table{
        table{
          th,
          td{
            padding: 10px 20px;
          }
        }
      }
    }
  }
}

@media screen and (min-width:768px){
	#contents{
    >#in{
      margin-top: -170px;
    }
  }
}

@media screen and (max-width:767px){
	#contents{
    h2{
      font-size: 2.0rem;
      line-height: 140%;
	  margin-bottom:20px; 
      &.v2{
        padding: 0 0 15px;
        strong{
          font-size: 2.4rem;
          display: inline-block;
          line-height: 120%;
        }
      }
    }
    p.txt{
        text-align: left;
        line-height: 200%;
    }
    ul.point{
      margin-bottom: 40px;
      li{
        width: 48%;
        margin: 0 4% 40px 0;
        &:nth-child(2n){
          margin-right: 0;
        }
        >span{
          &.c{
            width: 37.5vw;
            height: 37.5vw;
            >span{
              font-size: 1.8rem;
              small{
                font-size: 1.4rem;
              }
            }
          }
          &.t{
            font-size: 1.5rem;
          }
        }
      }
    }
    .in{
      padding: 0;
      p{
		  &.img{
			  &.ex{
				margin: 30px 0;
			  }
			}
      }
      .p{
        letter-spacing: normal;
        .img{
          display: block;
          width: 100%;
          margin: 0 auto 20px;
        }
        .tex{
          display: block;
          width: 100%;
          .box{
            margin-top: 50px;
            p.t{
              font-size: 1.6rem;
            }
          }
        }
      }
      ul.cap{
        width: auto;
        li{
          font-size: 1.4rem;
        }
      }
      ul.schedule{
        letter-spacing: normal;
        margin: 0 auto 60px;
        li{
          display: block;
          width: auto;
          min-height: 1px;
          margin: 0 auto 20px;
        }
      }
    }
    .table{
      background: #FFF;
      width: 100%;
      padding: 0;
      border: 1px solid #ccc;
	  border-top: none;
	  border-right: none;
      overflow: auto;
      -webkit-box-sizing: border-box;
      box-sizing: border-box;
      table{
        width: 860px !important;
        max-width: 860px !important;
		tr:first-child{
			th{
			  background: #EEE;
			  padding: 10px;
			  line-height: 1.2;
			}
		}
        th{
          padding: 15px;
          text-align: center;
        }
        td{
          padding: 10px !important;
          text-align: center;
          &.img{
		    width: 35vw;
            p{
			  font-weight: normal !important;
			  font-size:1.4rem;
              img{
                width: 120px;
				margin: 0;
              }
            }
          }
        }
	  
      }
    }
  }
}