header {
  border-bottom: none;
}

#title {
  background-image: url("../img/img_BGtitle 2.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  height: 320px;
}

#title h1 {
  line-height: normal;
  font-size: 38px;
  max-width: 520px;
  width: 100%;
  margin: auto;
  color: #0B57A0;
  background: rgba(255,255,255,0.85);
  padding: 20px;
  border-radius: 5px;
}

#title h1::before {
  content: '';
  display: block;
  margin: auto;
  width: 220px;
  padding-top: 50px;
  margin-bottom: 3px;
  background-image: url("../img/Ziaino_logo.png");
  background-size: 220px auto;
  background-position: center;
  background-repeat: no-repeat;
}

@media (max-width: 768px) {
  #title h1 {
    font-size: 30px;
    width: calc(100% - 50px);
  }
  #title h1::before {
    content: '';
    display: block;
    margin: auto;
    width: 220px;
    padding-top: 50px;
    margin-bottom: 3px;
    background-image: url("../img/Ziaino_logo.png");
    background-size: 220px auto;
    background-position: center;
    background-repeat: no-repeat;
  }
}

@media (max-width: 500px) {
  #title {
    width: 100%;
    padding: 50px 0;
  }
  #title {
    height: 200px;
  }
  #title h1 {
    font-size: 26px !important;
    width: calc(100% - 50px);
  }
  #title h1::before {
    content: '';
    display: block;
    margin: auto;
    width: 170px;
    padding-top: 50px;
    margin-bottom: 3px;
    background-image: url("../img/Ziaino_logo.png");
    background-size: 170px auto;
    background-position: center;
    background-repeat: no-repeat;
  }
}

#sec1 {
  width: 100%;
  margin: auto auto 45px;
}

#sec1 .title {
  font-size: 28px;
  line-height: 43px;
  margin-bottom: 40px;
}

#sec1 .course {
  display: flex;
  flex-flow: nowrap;
  justify-content: space-between;
  align-items: flex-start;
  column-gap: 58px;
}

#sec1 .course > div {
  flex: 0 1 50%;
  box-shadow: 0 3px 5px rgba(0,0,0,.2);
  border-radius: 10px;
  overflow: hidden;
}

#sec1 .course .btn-cont {
  display: flex;
  flex-flow: nowrap;
  justify-content: space-between;
  align-items: flex-start;
  column-gap: 24px;
  padding: 0 50px 40px;
}

#sec1 .course .btn-cont .btn {
  color: #FFF;
  padding: 10px 0 12px;
  box-shadow: 0 3px 5px rgba(0,0,0,.1);
  margin-top: 0;
  border: 1px solid #0B57A0;
  background: #0B57A0;
  line-height: 16px;
}

#sec1 .course .btn-cont .btn:last-of-type {
  color: #0B57A0;
  border: 1px solid #0B57A0;
  background: #FFF;
}

#sec1 .course > div >h2 {
  font-size: 28px;
  line-height: 26px;
  padding-bottom: 16px;
  color: #0B57A0;
}

#sec1 .course > div >h2::before {
  content: '';
  display: block;
  padding-top: 260px;
  background: url("../img/teikicourse.png");
  background-size: cover;
  background-position: top;
  margin-bottom: 24px;
}

#sec1 .course > div:last-of-type >h2::before {
  content: '';
  display: block;
  padding-top: 260px;
  background: url("../img/spotcourse.png");
  background-size: cover;
  background-position: top;
  margin-bottom: 24px;
}

#sec1 .course .plan {
  padding: 0 24px;
}

#sec1 .course .plan .course_detail {
  text-align: start;
  margin-bottom: 10px;
  height: 104px;
}

#sec1 .course .plan .chushaku {
  font-size: 14px;
  color: #DD0B0B;
  display: block;
  width: 100%;
  text-align: left;
  margin: 0 0 10px;
}

#sec1 .course .plan .opt {
  display: flex;
  flex-flow: nowrap;
  justify-content: space-between;
  align-items: flex-start;
  column-gap: 20px;
}

#sec1 .course .plan .opt ul {
  flex: 0 1 50%;
  text-align: start;
}

#sec1 .course .plan .opt ul li {
  line-height: 49px;
  font-size: 18px;
  border-top: 1px dotted #ccc;
  position: relative;
}

#sec1 .course .plan .opt ul li::before {
  content: '☑︎';
  font-size: 25px;
  margin-right: 3px;
}

#sec1 .course .plan .opt ul li::before {
  content: '☑︎';
  font-size: 25px;
  margin-right: 3px;
}

#sec1 .course .plan .opt ul li::after {
  content: '◎';
  display: block;
  position: absolute;
  right: 24px;
  top: 0px;
}

#sec1 .course .plan .opt ul li:last-of-type {
  border-bottom: 1px dotted #ccc;
}

#sec1 .course .plan .opt ul li span {
  font-size: 10px;
  line-height: 0;
}

#sec1 .course .spot .opt ul:last-of-type li:last-child {
  position: relative;
  text-indent: 1.1em;
  margin-left: 4px;
  /* 右端の「× ※2」画像と文字が重ならないようにする */
  padding-right: 48px;
}

#sec1 .course .spot .opt ul:last-of-type li:last-child::before {
  content: '';
  display: block;
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  width: 14px;
  height: 14px;
  border: 1px solid #000;
}

#sec1 .course .spot .opt ul:last-of-type li:last-child::after {
  content: '';
  background: url("../img/option02.png");
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  display: block;
  position: absolute;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  /* 画像（× ※2）の比率 61:26 を保つ */
  width: 47px;
  height: 20px;
}

#sec1 .course .spot .opt ul:first-of-type li:last-child {
  position: relative;
}

#sec1 .course .spot .opt ul:first-of-type li:last-child::after {
  content: '';
  background: url("../img/option.png");
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  display: block;
  position: absolute;
  top: 50%;
  right: -7px;
  transform: translateY(-50%);
  padding: 40px;
}

#sec1 .course .plan .money {
  height: 100px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  column-gap: 15px;
  margin-top: 10px;
  margin-bottom: 40px;
}

#sec1 .course .plan .money dt {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  column-gap: 90px;
  font-weight: normal;
  flex-wrap: wrap;
  width: 84%;
}

#sec1 .course .plan .money dt p {
  font-size: 18px;
  line-height: 28px;
  text-align: start;
}

#sec1 .course .plan .money dt .plice {
  font-size: 20px;
}

#sec1 .course .plan .money dt .plice span {
  font-size: 14px;
}

#sec1 .course .plan .money dt .plice span {
  font-size: 14px;
}

#sec1 .course .plan .money dd {
  width: auto;
}

.teiki .money {
  margin-bottom: 0px !important;
}

.spot .money {
  margin: 10px 0 40px !important;
}

/* 塩タブレット注釈 */
.shio_tablet {
  font-size: 13px;
  margin: 0px 0 0 0;
  text-align: left;
  line-height: 150%;
}

/* sec2 */
#sec2 {
  padding: 30px 70px;
  width: 100%;
  margin: auto auto 45px;
  text-align: start;
  background: #F3F3F3;
  border-radius: 10px;
  margin-bottom: 80px;
}

#sec2 dl {
  display: flex;
  flex-flow: nowrap;
  justify-content: flex-start;
  align-items: flex-start;
  column-gap: 30px;
  margin-bottom: 10px;
}

#sec2 dt {
  flex: 0 1 120px;
  line-height: normal;
}

#sec2 dd {
  line-height: normal;
  text-align: start;
  position: relative;
}

#sec2 dd .red {
  color: #DD0B0B;
}

#sec2 dd .min {
  font-size: 14px;
}

#sec2 dd .min a {
  color: #0B57A0;
}

#sec2 h4 {
  line-height: 32px;
  padding-top: 20px;
}

#sec2 ul {
  width: 720px;
  display: flex;
  flex-flow: wrap;
  justify-content: flex-start;
  align-items: flex-start;
  column-gap: 30px;
}

#sec2 ul li {
  width: 220px;
  line-height: 32px;
}

/* sec3 */
#sec4 {
  background: #F6F4E9;
  padding: 60px 0 40px;
  margin-bottom: 60px;
}

.content #sec4 {
  background: #FFF;
  padding: 0;
  margin-bottom: 0px;
}

#sec4 .title {
  max-width: 1118px !important;
  width: calc(100% - 50px);
  margin: auto auto 20px;
}

/* .content の中にある #sec4（料金一覧）は、すでに左右の余白があるので幅いっぱい */
.content #sec4 .title {
  width: 100%;
}

#sec4 img {
  margin: auto;
  width: calc(100% - 50px);
}

#sec4 div {
  max-width: 1100px !important;
  margin: auto auto 40px;
}

#sec4 .btn-cont {
  width: 100%;
  margin: auto;
  position: absolute;
  display: flex;
  flex-flow: nowrap;
  justify-content: space-between;
  align-items: center;
  bottom: 20px;
  padding: 0 30px;
  column-gap: 70px;
}

#sec4 .btn-cont .btn {
  flex: 0 1 20%;
  max-width: 100%;
  background: #0B57A0;
  color: #FFF;
  border: none;
}

#sec4 img {
  width: 100%;
  margin: auto;
}

#sec4 .menu > p {
  color: #F18D00;
  padding: 0 0 20px;
}

@media (max-width: 1170px) {
  #sec1 {
    margin: auto auto 45px;
  }
  #sec1 .title {
    margin-bottom: 40px;
  }
  #sec1 .course {
    column-gap: 3%;
  }
  #sec1 .course .btn-cont {
    column-gap: 24px;
    padding: 0 20px 40px;
  }
  #sec1 .course > div >h2 {
    font-size: 26px;
    line-height: 24px;
    padding-bottom: 12px;
  }
  #sec1 .course > div >h2::before {
    margin-bottom: 22px;
  }
  #sec1 .course > div:last-of-type >h2::before {
    margin-bottom: 22px;
  }
  #sec1 .course .plan {
    padding: 0 20px;
  }
  #sec1 .course .plan .course_detail {
    margin-bottom: 10px;
    height: 120px;
  }
  #sec1 .course .plan .opt ul li {
    line-height: 40px;
    font-size: 16px;
  }
  #sec1 .course .plan .opt ul li::before {
    content: '☑︎';
    font-size: 20px;
    margin-right: 0px;
  }
  #sec1 .course .plan .opt ul li::before {
    content: '☑︎';
    font-size: 20px;
    margin-right: 0px;
  }
  #sec1 .course .plan .opt ul li::after {
    content: '◎';
    display: block;
    position: absolute;
    right: 10px;
    top: 0px;
  }
  #sec1 .course .plan .opt ul li:last-of-type {
    border-bottom: 1px dotted #ccc;
  }
  #sec1 .course .plan .opt ul li span {
    font-size: 10px;
    line-height: 0;
  }
  #sec1 .course .spot .opt ul:last-of-type li:last-child {
    position: relative;
    text-indent: 1em;
    margin-left: 4px;
  }
  #sec1 .course .spot .opt ul:last-of-type li:last-child::before {
    left: 0;
    width: 11px;
    height: 11px;
  }
  #sec1 .course .spot .opt ul:last-of-type li:last-child::after {
    width: 40px;
    height: 17px;
  }
  #sec1 .course .spot .opt ul:first-of-type li:last-child {
    position: relative;
  }
  #sec1 .course .spot .opt ul:first-of-type li:last-child::after {
    right: -18px;
    padding: 35px;
  }
  #sec1 .course .plan .money {
    height: 100px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    column-gap: 0px;
    margin-top: 10px;
  }
  #sec1 .course .plan .money dt {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    column-gap: 3vw;
    font-weight: normal;
  }
  #sec1 .course .plan .money dt p {
    font-size: 16px;
    text-align: start;
    line-height: normal;
  }
  #sec1 .course .plan .money dt .plice {
    font-size: 18px;
  }
  #sec1 .course .plan .money dt .plice span {
    font-size: 12px;
  }
  #sec1 .course .plan .money dt .plice span {
    font-size: 12px;
  }
  /* sec2 */
  #sec2 {
    padding: 30px 40px;
    margin: auto auto 45px;
    margin-bottom: 80px;
  }
  #sec2 dl {
    column-gap: 20px;
  }
  #sec2 dt {
    flex: 0 1 120px;
    line-height: normal;
  }
  #sec2 dd {
    flex: 0 1 70%;
    line-height: normal;
    text-align: start;
  }
  #sec2 dd .red {
    color: #DD0B0B;
  }
  #sec2 dd .min {
    font-size: 14px;
  }
  #sec2 h4 {
    line-height: 32px;
    padding-top: 20px;
  }
  #sec2 ul {
    width: 720px;
    display: flex;
    flex-flow: wrap;
    justify-content: flex-start;
    align-items: flex-start;
    column-gap: 30px;
  }
  #sec2 ul li {
    width: 220px;
    line-height: 32px;
  }
  /* sec3 */
  #sec4 div {
    margin: auto auto 60px;
  }
  #sec4 img {
    width: 100%;
    margin: auto;
  }
  #sec4 .menu > p {
    color: #F18D00;
    padding: 0 0 20px;
  }
}

/* ****************************900px***************************** */
@media (max-width: 900px) {
  #sec1 .course .plan .money {
    height: 115px;
    display: block;
    justify-content: space-between;
    align-items: flex-start;
    column-gap: 0px;
    margin-top: 10px;
  }
  .shio_tablet {
    margin: 8px 0 8px 0;
  }
  #sec4 .btn-cont .btn {
    flex: 0 1 20%;
    font-size: 12px;
    padding: 0;
  }
}

/* ****************************768px***************************** */
@media (max-width: 768px) {
  #sec1 .sp {
    display: none;
  }
  #sec1 {
    margin: auto auto 30px;
  }
  #sec1 .title {
    font-size: 24px;
    line-height: 36px;
  }
  #sec1 .course {
    display: block;
  }
  #sec1 .course .teiki {
    margin-bottom: 30px;
  }
  #sec1 .course .plan .course_detail {
    height: 120px;
  }
  /* sec2 */
  #sec2 {
    padding: 20px;
    margin: auto auto 30px;
    margin-bottom: 30px;
  }
  #sec2 dl {
    display: block;
    margin-bottom: 1em;
  }
  #sec2 dt {
    flex: 0 1 120px;
    line-height: 24px;
  }
  #sec2 dd {
    line-height: 26px;
    text-align: start;
  }
  #sec2 dd .min {
    font-size: 14px;
  }
  #sec2 h4 {
    line-height: 32px;
    padding-top: 20px;
  }
  #sec2 ul {
    max-width: 700px;
    width: 100%;
    margin: auto;
    display: flex;
    flex-flow: wrap;
    justify-content: flex-start;
    align-items: flex-start;
    column-gap: 20px;
  }
  #sec2 ul li {
    flex: 0 1 30%;
    line-height: 20px;
    font-size: 14px;
    white-space: nowrap;
  }
  /* sec3 */
  #sec4 .btn-cont {
    max-width: 100%;
    width: 923px;
    margin: auto auto auto 0;
    position: absolute;
    justify-content: flex-start;
    bottom: 20px;
    left: 38.5px;
    padding: 0;
    column-gap: 51px;
  }
  #sec4 img {
    width: 1000px;
    padding: 0 25px;
  }
  #sec4 .table img {
    width: 1000px;
    padding: 0;
  }
  #sec4 div {
    max-width: 100%;
  }
  #sec4 div {
    margin: auto auto 20px;
    overflow-x: scroll;
  }
  #sec4 .menu div {
    margin: auto auto 15px;
    overflow-x: scroll;
  }
  #sec4 img {
    width: 1000px;
  }
}

/* ****************************600px***************************** */
@media (max-width: 600px) {
  #sec1 .course .spot .opt ul:last-of-type li:last-child {
    padding-right: 0;
  }
  #sec1 .course .spot .opt ul:last-of-type li:last-child::after {
    width: 33px;
    height: 14px;
  }
  #sec1 .title {
    font-size: 18px;
    line-height: 30px;
    white-space: nowrap;
  }
  #sec1 .course .plan .opt ul li::after {
    right: 5px;
  }
  #sec1 .course .spot .opt ul:first-of-type li:last-child::after {
    right: -21.8px;
    padding: 35px;
  }
  #sec2 {
    padding: 20px;
    margin: auto auto 30px;
    margin-bottom: 30px;
  }
  #sec2 ul {
    column-gap: 20px;
  }
  #sec2 ul li {
    flex: 0 1 30%;
    line-height: 20px;
    font-size: 13px;
  }
}

/* ****************************500px***************************** */
@media (max-width: 500px) {
  main .content {
    padding: 20px 0;
  }
  #sec1 .sp {
    display: none;
  }
  #sec1 .course {
    display: block;
  }
  #sec1 .title {
    font-size: 16px;
    letter-spacing: -.0rem;
    line-height: 26px;
    margin-bottom: 20px;
  }
  #sec1 .course .btn-cont {
    column-gap: 18px;
    padding: 0 20px 30px;
  }
  #sec1 .course > div >h2 {
    font-size: 22px;
    line-height: 22px;
    padding-bottom: 10px;
  }
  #sec1 .course > div >h2::before {
    margin-bottom: 20px;
    padding-top: 200px;
  }
  #sec1 .course > div:last-of-type >h2::before {
    margin-bottom: 20px;
    padding-top: 200px;
  }
  #sec1 .course .plan {
    padding: 0 16px;
  }
  #sec1 .course .plan .course_detail {
    margin-bottom: 10px;
    height: 140px;
    font-size: 14px;
  }
  #sec1 .course .plan .money {
    height: 140px;
  }
  #sec1 .course .plan .money dt {
    width: 100%;
  }
  #sec1 .course .plan .money dt p {
    font-size: 16px;
  }
  #sec1 .course .plan .money dt .plice {
    font-size: 16px;
  }
  #sec1 .course .plan .money dt .plice span {
    font-size: 12px;
  }
  #sec1 .course .plan .money dt .plice span {
    font-size: 12px;
  }
  .shio_tablet {
    font-size: 14px;
    margin: 8px 0 8px;
  }
  .shio_tablet br {
    display: none;
  }
  /* sec2 */
  #sec2 {
    padding: 15px;
  }
  #sec2 dt {
    flex: 0 1 120px;
  }
  #sec2 dd {
    line-height: normal;
    text-align: start;
    font-size: 14px;
  }
  #sec2 dd .red {
    color: #DD0B0B;
  }
  #sec2 dd .min {
    font-size: 13px;
  }
  #sec2 h4 {
    line-height: 32px;
    padding-top: 20px;
  }
  #sec2 ul {
    display: flex;
    flex-flow: wrap;
    justify-content: flex-start;
    align-items: flex-start;
  }
  #sec2 ul li {
    width: 220px;
    line-height: 20px;
    font-size: 12px;
  }
  /* sec3 */
  #sec4 {
    background: #F6F4E9;
    padding: 30px 0 5px;
    margin-bottom: 15px;
  }
  #sec4 .title {
    max-width: 1118px !important;
    width: calc(100% - 50px);
  }
  #sec4 .btn-cont {
    max-width: 100%;
    width: 717px;
    margin: auto auto auto 0;
    position: absolute;
    justify-content: flex-start;
    bottom: 20px;
    left: 40px;
    padding: 0;
    column-gap: 48px;
  }
  #sec4 img {
    width: 900px;
  }
  #sec4 img {
    width: 800px;
  }
}

@media (max-width: 500px) {
  footer .content {
    width: calc(100% - 30px);
    padding: 15px 0 15px 0;
    display: none;
  }
  footer #copyright {
    border-top: 1px solid #ccc;
  }
}

@media (max-width: 400px) {
  #sec1 .title {
    font-size: 15px;
  }
}

/* 狭いスマホでは、チェック項目の文字と右側の記号（◎・×）が重ならないよう詰める */
@media (max-width: 420px) {
  #sec1 .course .plan .opt {
    column-gap: 10px;
  }
  #sec1 .course .plan .opt ul li {
    font-size: 15px;
  }
}

/* 申込書（PDF）ダウンロードボタン：見た目は右側ボタン（.btn:last-of-type）のまま、名前の前にダウンロードアイコンを付ける */
#sec1 .course .btn-cont .btn.pdf::before {
  content: "";
  display: inline-block;
  width: 14px;
  height: 14px;
  margin: 1px 6px 0 0;
  /* 行の高さを押し広げて隣の「詳細を見る」より背が高くならないよう、行の上端にそろえる */
  vertical-align: top;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M8 1.5v9M4 6.5l4 4 4-4M2 14.5h12' fill='none' stroke='%230B57A0' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center / contain;
}

/* 狭いスマホではボタン名が折り返さないようアイコンを外す */
@media (max-width: 350px) {
  #sec1 .course .btn-cont .btn.pdf::before {
    display: none;
  }
}
