@charset "UTF-8";

.benefits dd::before,
.unitbox .link::after {
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  display: inline-block;
  font-family: "Font Awesome 5 Free";
  font-style: normal;
  font-variant: normal;
  text-rendering: auto;
  line-height: 1;
}

body * {
  box-sizing: border-box;
}

body {
  background-image: url(../../img/Zendanshin/bg_pattern.jpg);
  background-repeat: repeat;
}

.hero {
  position: relative;
}

.hero img {
  width: 100%;
  height: auto;
}

.hero__text {
  background-color: #FFF;
  border: solid 2px #164010;
  padding: 16px 15px;
position: absolute;
bottom: 20px;
left: 24px;
right: 24px;
}
.hero__text p {
  font-size: 24px;
  line-height: 1.4;
}
.hero__text p strong {
  color: #9a0000;
}

h1.title img {
  width: 100%;
  height: auto;
}


.status {
  background-color: #164010;
  padding: 16px;
}
.status__diploma {
  background: #FFF;
}
.status__diploma h2 {
  background-image: url(../../img/Zendanshin/bg_heading.jpg);
  color: #392a13;

  font-size: 28px;
  line-height: 1;
  padding: 10px;
  height: 48px;

  overflow: hidden;
  text-align: center;
  text-overflow: ellipsis;
  text-shadow: 2px 2px #ffe066;
  white-space: nowrap;
}
.status__diploma > div {
  padding: 16px;
  background-color: #f5faff;
}
.status__diploma ul {

}
.status__diploma ul li {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;

  font-size: 24px;
  background: #333;
  border-radius: 8px;
  box-shadow: 0px 0px 8px 4px rgba(0,0,0,.25) inset;
  overflow: hidden;
}
.status__diploma ul li + li {
  margin-top: 8px;
}
.status__diploma ul li strong,
.status__diploma ul li span {
  padding: 16px 20px;
}
.status__diploma ul li strong {
  color: #FFF;
  width: 8em;
  text-align: center;
  background-color: #1a1a1a;
}
.status__diploma ul li span {
  color: #ffbb00;
  font-weight: bold;
  -webkit-box-flex: 1;
  -webkit-flex: 1 1 0%;
      -ms-flex: 1 1 0%;
          flex: 1 1 0%;

  text-align: right;
}
.status__diploma a,
.unitbox__link--submit {
  color: #FFF;
  display: block;
  font-size: 24px;
  font-weight: bold;
  width: 392px;
  text-align: center;
  background-color: #9a0000;
  margin: 0 auto;
  margin-top: 16px;
  padding: 16px;
  position: relative;
}

.status__diploma a i,
.unitbox__link--submit i {
  background-color: rgba(0,0,0,.25);
  width: 24px;
  height: 24px;
  border-radius: 50%;
  position: absolute;
  left: 16px;
  z-index: 10;
}

.status__diploma a i::before,
.unitbox__link--submit i::before {
  content: "";

  border-bottom: 6px solid transparent;
  border-left: 8px solid #FFF;
  border-top: 6px solid transparent;
  display: block;
  width: 0px;
  height: 0px;
  position: absolute;
  top: 6px;
  left: 9px;
}

.unitbox {
  margin: 16px;
  box-shadow: 0px 4px 0px rgba(0,0,0,.1);
}

.unitbox__title {
  background: #1b4d13;
  background: -webkit-linear-gradient(top, #1b4d13 0%,#164010 100%);
  background: linear-gradient(to bottom, #1b4d13 0%,#164010 100%);

  color: #FFF;
  font-size: 28px;
  line-height: 1;
  padding: 10px;
  height: 48px;

  overflow: hidden;
  text-align: center;
  text-overflow: ellipsis;
  text-shadow: -2px -2px rgba(0,0,0,.25);
  white-space: nowrap;
}
.unitbox__content {
  padding: 20px 16px;
  background-color: #FFF;
}
.unitbox__content::after {
  content: "";
  clear: both;
  display: block;
}
.unitbox__text {
  font-size: 24px;
  font-weight: bold;
  line-height: 1.4;
  text-align: justify;
}
.unitbox__text.ns {
  text-align: center;
  background: #f2f2f2;
  border-radius: .25em;
  padding: .5em;
  line-height: 1;
  margin-top: .25em;
  color: #193866;
}


.unitbox__link:not([class*="submit"]) {
  background-color: #0f2757;
  border-radius: 4px;
  color: #FFF;
  display: inline-block;
  float: right;
  font-size: 24px;
  margin: 16px auto;
  padding: 8px 16px;
  min-width: 8em;
}
.unitbox__link:not([class*="submit"]) + * {
  clear: both;
}
.unitbox__link:not([class*="submit"])::before {
  content: "›";
  margin-right: .25em;
}

.unitbox ol {
  background-color: #fffae5;
  border-radius: 8px;
  counter-reset: number 0;
  font-size: 24px;
  padding: 20px 16px;
}
.unitbox ol li {
  display: table;
  line-height: 1.4;
}
.unitbox ol li + li {
  margin-top: .5em;
}
.unitbox ol li::before {
  color: #9a0000;
  counter-increment: number 1;
  content: counter(number) ".";
  font-style: oblique;
  font-weight: bold;
  display: table-cell;
  padding-right: .75em;
}

.unitbox table {
  border-collapse: collapse;
  font-size: 20px;
  width: 100%;
}
.unitbox table th,
.unitbox table td {
  border: 2px solid #1b4d13;
  padding: 10px 15px;
  text-align: center;

}
.unitbox table th {
  vertical-align: middle;
  background: #eff7ed;
  color: #1b4d13;
}
.unitbox table td {
  font-weight: bold;
}
.unitbox table td span {
  display: inline-block;
  padding: .25em .5em;
  background-color: #fffab3;
}
.unitbox table td span + span {
  background-color: #ffd6d6;
}
.unitbox table td span + span {
  margin-left: 5px;
}
.unitbox table td.col-4 {
  color: #9a0000;
}

.unitbox h4 {
  font-size: 24px;
  display: flex;
  text-align: center;
  color: #132b6c;
  margin-top: 2em;
}
.unitbox h4 span {
  margin-left: .75em;
  margin-right: .75em;
}
.unitbox h4::before,
.unitbox h4::after {
  content: "";
  flex: 1;
  border-top: solid 4px #132b6c;
  margin-top: 10px;
  border-top-style: dotted;
}

.unitbox .link {
  color: #1268f6;
  font-size: 24px;
  font-weight: bold;

  display: block;
  line-height: 1.5;
  margin: .5em 0 0;
  text-align: right;
}
.unitbox .link::after {
  content: "\f054";
  margin-left: .5em;
}

.about-menjo .unitbox .link {
  margin: .5em 5% 0;
}


.benefits {
  margin: 3em 5% 0;
  font-family: "游明朝", YuMincho, "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN", "HG明朝E", "ＭＳ Ｐ明朝", "ＭＳ 明朝", serif;
}
.benefits dt {
  font-weight: bold;
  font-size: 40px;
  margin: .25em 0 0;
  text-align: center;
}
.benefits dt::before {
  display: inline-block;
  background-image: url(../../img/Zendanshin/logo.png);
  background-size: 100% auto;
  content: "";
  height: 1.4em;
  width: 1.4em;
  vertical-align: middle;
  margin: -.4em 5px 0 0;
}
.benefits dd {
  border-bottom: dashed 2px #ccc;
  font-size: 28px;
  font-weight: bold;
  line-height: 1.2;
  margin-top: .25em;
  position: relative;
  padding: .5em 0 .5em 1.5em;
}
.benefits dd::before {

  font-weight: 900;
  font-family: "Font Awesome 5 Free";
  color: #9a0000;
  content: "\f00c";

  position: absolute;
  left: .2em;
}

.benefits-img {
  margin: 2em;
}
.benefits-img img {
  width: 100%;
  height: auto;
}



.about__menjo {
  display: block;
  margin: 32px auto;
  border: solid 2px #e6e6e6;
}

.about-us .unitbox ol {
  margin-top: 32px;
  margin-bottom: 32px;
}
.about-us .unitbox ol li::before {
  content: "(" counter(number, cjk-ideographic) ").";
  font-family: "ヒラギノ明朝 ProN W6", "HiraMinProN-W6", "HG明朝E", "ＭＳ Ｐ明朝", "MS PMincho", "MS 明朝";
  padding-right: .5em;
}

.conditions .unitbox__link {
  min-width: 12em;
}
.conditions .unitbox__link + .unitbox__link {
  margin-top: 0;
}

ul.note {
  font-size: 20px;
  margin-top: 1em;
  margin-bottom: 1em;
  padding: 0
}
ul.note li {
  display: table;
  line-height: 1.25;
}
ul.note li + li {
  margin-top: .5em;
}
ul.note li::before {
  display: table-cell;
  padding-right: .34em;
}
ul.note li::before {
  content: "\203B";
}

.unitbox__text strong,
ul.note li strong {
  color: #9a0000;
}
.steps {
  margin-top: 3em;
  margin-bottom: 1em;
}
.steps li {
  background-color: #fffccc;
  border: solid 4px #9a0000;
  border-radius: 1em;
  font-size: 24px;
  font-weight: bold;
  text-align: center;
  padding: 1em;
  position: relative;
}
.steps li + li {
  margin-top: 2em;
}
.steps li::before {
  background-color: #9a0000;
  border-radius: 1em;
  color: #fff;
  font-size: 20px;
  width: 10em;
  margin-left: -5em;
  padding: .5em 0;
  position: absolute;
  top: -1.25em;
  left: 50%;
}
.steps li:nth-child(1)::before {
  content: "STEP 1";
}
.steps li:nth-child(2)::before {
  content: "STEP 2";
}
.steps li:nth-child(3)::before {
  content: "STEP 3";
}
.steps li:nth-child(4)::before {
  content: "STEP 4";
}
.steps li:nth-child(5)::before {
  content: "STEP 5";
}
.steps li:not(:last-child)::after {
  position: absolute;
  bottom: -1em;
  left: 50%;
  margin-left: -1.5em;
  content: "";
  border-top: .5em solid #ff8080;
  border-right: 1.5em solid transparent;
  border-left: 1.5em solid transparent;
}


.read-more {
  background-color: #fff;
}
