@charset "utf-8";

/* *****トップページ***** */

/*
 * メインビジュアル
 */

.key.container {
  padding: 0 !important;
  margin: 0 auto 45px !important;
  max-width: 930px;
  height: 400px;
}
.jumbotron {
  background-image: url("../img/top/key.jpg");
  position: relative;
  width: 930px;
  height: 400px;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
  z-index: 2;
  border-radius: 0;
}

@media (max-width: 992px) {
  .key.container {
    height: 30vh;
  }

  .jumbotron {
    width: 100%;
    height: 30vh;
    background-attachment: initial;
    background-position: center center;
  }
}

/*
 * タイトル
 */

section h2 {
  padding: 100px 15px 15px;
  margin-bottom: 30px;
  border-bottom: 6px solid #00008b;
}

section h3 {
  padding: 5px 10px;
  margin: 20px 0 10px;
  border-left: 6px solid #00008b;
  font-size: 1.1rem;
  font-weight: bold;
}

section h4 {
  margin: 15px 0;
  padding-left: 20px;
  font-weight: bold;
  font-size: 1rem;
}

.sectionH3 {
  margin-bottom: 30px;
}

.sectionH3 p {
  padding-left: 18px;
}

.sectionH4 {
  margin-bottom: 25px;
}

.container p {
  margin-bottom: 10px;
}

.container ol {
  margin-bottom: 0;
}

.container ol .information {
  padding-left: 0;
  margin-bottom: 0;
}

@media (max-width: 992px) {
  section h2 {
    padding-top: 40px;
    font-size: 1.3rem;
    font-weight: bold;
  }
}

/*
 * 1行ニュース
 */

.topNews h2 {
  margin: 0;
  padding: 20px 0 24px;
  border: 4px solid #F00;
  border-radius: 5px 5px 0 0;
  background: #F00;
  color: #fff;
  font-size: 1.4rem;
  font-weight: bold;
  border: none;
}

.topNews .topNewsContainer {
  padding: 24px 10px 5px;
  border-left: 4px solid #F00;
  border-right: 4px solid #F00;
  border-bottom: 4px solid #F00;
  border-radius: 0 0 5px 5px;
}

.topNews p {
  padding: 0 15px 10px;
}

.topNews .attention {
  font-size: 1rem;
  color: #000;
  font-weight: bold;
  text-decoration: underline;
}

.topNews p.information {
  color: #dc143c;
  margin: 0;
  padding-bottom: 0;
}

.topNews .information li {
  color: #dc143c;
  padding: 0 15px 0 30px;
}

/*
 * スケジュール
 */

.schedule {
  width: 100%;
  max-width: 700px;
  margin: 0 auto;
  border-top: 1px solid #00008b;
}

.schedule tr:nth-child(2) td {
  background: #dadaee;
  font-weight: normal;
}

/*
.schedule tr:nth-child(5) td {
  color: #dc143c;
}
*/
.schedule tr:nth-child(5) td:nth-child(5) {
  font-size: 0.9rem;
}

.schedule tr td {
  height: 60px;
  padding: 10px 5px;
  border-bottom: 1px solid #00008b;
  font-weight: bold;
}

.schedule tr td:first-child {
  width: 40px;
  text-align: center;
}

.schedule tr td:nth-child(2) {
  max-width: 55px;
  text-align: right;
}

.schedule tr td:nth-child(3) {
  width: 20px;
  text-align: center;
}

.schedule tr td:nth-child(4) {
  width: auto;
  min-width: 100px;
}

.schedule tr td:nth-child(5), .schedule tr td:nth-child(7) {
  width: auto;
  text-align: center;
  line-height: 1;
}

.schedule tr td:nth-child(6) {
  max-width: 30px;
  text-align: center;
}

.schedule tr td:first-child span {
  background: #00008b;
  border-radius: 50%;
  height: 25px;
  width: 25px;
  color: #FFF;
  display: inline-block;
  text-align: center;
}

.schedule tr td .small {
  font-size: 0.7rem;
  font-weight: bold;
}

/*
 * 申し込み
 */

.application {
  margin: 20px;
}




.steps {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-left: 20px;
}

.steps .step {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: left;
  padding: 10px 13px 10px 22px;
  border-radius: 5px;
  background: white;
  color: #000;
  font-weight: bold;
  height: 60px;
  border: 1px solid #ccc;
  position: relative;
  white-space: nowrap;
  background: #FFC107;
  color: #fff;
  border: none;
}

.steps.group .step {
  height: 80px;
  padding: 10px 10px 10px 22px;
  background: #11bf4b;
  color: #fff;
  border: none;
}

.steps .step span::before {
  display: block;
  position: absolute;
  left: 6px;
  top: 50%;
  transform: translateY(-50%);
}

.steps .step:nth-of-type(1) span::before {
  content: "①";
}

.steps .step:nth-of-type(2) span::before {
  content: "②";
}

.steps .step:nth-of-type(3) span::before {
  content: "③";
}

.steps .step:nth-of-type(4) span::before {
  content: "④";
}

.steps .step:nth-of-type(5) span::before {
  content: "⑤";
}

.steps .step:nth-of-type(6) span::before {
  content: "⑥";
}

.steps .step:nth-of-type(7) span::before {
  content: "⑦";
}

.steps .step:nth-of-type(8) span::before {
  content: "⑧";
}

.steps .step a {
  text-decoration: none;
  color: inherit;
  display: block;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: left;
  text-decoration: underline;
}

.steps .step:not(:last-child)::after {
  content: "";
  display: block;
  position: absolute;
  right: -10px;
  top: 50%;
  width: 10px;
  height: 10px;
  border-top: solid 3px #00008b;
  border-right: solid 3px #00008b;
  -webkit-transform: rotate(45deg) translateY(-50%);
  transform: rotate(45deg) translateY(-50%);
}

.appInformation {
  background: #00008b;
  color: #FFF;
  border-radius: 4px;
  padding: 30px 20px 20px;
  text-align: center;
}

.appInformation .btnContainer {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 60px;
  margin: 35px 0 20px;
}

.appInformation a {
  display: inline-block;
  width: 40%;
  height: 100%;
  margin-right: 15px;
  background: #FFF;
  color: #00008b;
  font-weight: bold;
  border-radius: 5px;
  padding: 18px 20px;
  text-decoration: none;
}

.appInformation a.textLink {
  width: auto;
  height: auto;
  color: #FFF;
  background: none;
  font-weight: normal;
  text-decoration: underline;
}

@media (max-width: 600px) {
  .steps .step,
  .steps.group .step {
    width: 100%;
    height: auto;
    justify-content: flex-start;
    padding: 8px 10px 8px 30px;  
    white-space: normal;
  }

  .steps .step br {
    display: none;
  }

  .steps .step span::before {
    display: block;
    position: absolute;
    left: 10px;
    top: 8px;
    transform: none;
  }

  .steps .step:first-child::after {
    display: none;
  }
  .steps .step:not(:first-child)::after,
  .steps .step:last-child::after {
    content: "";
    display: block;
    position: absolute;
    right: 50%;
    top: -7px;
    width: 10px;
    height: 10px;
    border-top: solid 3px #00008b;
    border-right: solid 3px #00008b;
    -webkit-transform: rotate(135deg) translateX(-50%) translateY(10px);
    transform: rotate(135deg) translateX(-50%) translateY(10px);
  }

  .appInformation .btnContainer {
    display: block;
  }

  .appInformation a {
    display: block;
    width: 100%;
    margin-bottom: 15px;
    padding: 15px 0;
  }

  .appInformation a.textLink {
    height: 10px;
  }
}

/*
 * 手順
 */

.flowContainer {
  border: 2px solid #00008b;
  padding: 5px 15px 8px 0;
  margin: 5px 0 10px 20px;
}

.flowContainer p {
  margin: 10px 0;
}

.flowContainer p:first-child {
  font-weight: bold;
}

.flowContainer ol li {
  margin-bottom: 8px;
}
