/* 背景 */
body,
div,
dl,
dt,
dd,
ul,
ol,
li,
h1,
h2,
h3,
h4,
h5,
h6,
pre,
cod,
form,
fieldset,
legend,
input,
textarea,
p,
blockquote,
th,
td {
  margin: 0;
  padding: 0;
}

body {
  background: url("https://monosaito.com/img/background.png");
  font-family: "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ",
    Meiryo, "ＭＳ Ｐゴシック", sans-serif;
  font-size: 0.8em;
}
#content1 {
  margin-top: 0;
  background: transparent;
}
#container {
  border-top: none;
}
@media only screen and (max-width: 800px) {
  #content1 {
    padding: 10px;
    box-sizing: border-box;
  }
}

/* ヘッダー */
.header {
  text-align: center;
}
.header img {
  width: 100%;
  max-width: 360px;
  padding: 30px;
}
@media only screen and (max-width: 800px) {
  .header {
    padding: 20px 24px;
  }
  .header img {
    padding: 0;
  }
}

/* 見出し */
.content_form .content_title,
.content_box .content_title {
  margin-bottom: 40px;
  background: #f0f0f0;
  margin-left: -30px;
  margin-right: -30px;
  width: calc(100% + 60px);
  height: 50px;
  border-radius: 10px 10px 0 0;
  display: flex;
  justify-content: center;
  align-items: center;
}
@media only screen and (max-width: 800px) {
  .content_form .content_title,
  .content_box .content_title {
    margin-bottom: 30px;
    margin-left: -20px;
    margin-right: -20px;
    width: calc(100% + 40px);
  }
}
.content_title h2 {
  background: transparent;
  opacity: 1;
  padding-bottom: 0;
  color: #16a6b4;
  padding-top: 0;
  font-size: 1.6em;
}
h2.pay_comple {
  display: flex;
  align-items: center;
  justify-content: center;
}
h2.pay_comple svg {
  padding-right: 4px;
}
@media only screen and (max-width: 800px) {
  .content_title h2 {
    font-size: 1.2em;
  }
}

.content_title h4,
.content_box h4,
.content_confirm h4,
.content_form h4 {
  border-left: 5px solid #16a6b4;
  padding-left: 10px;
  margin-bottom: 20px;
  margin-left: 0;
  margin-right: 0;
  width: 100%;
  box-sizing: border-box;
  padding-top: 0px;
  padding-right: 0px;
  padding-bottom: 0px;
  padding-left: 5px;
  color: #000;
  border-bottom: 1px solid #ccc;
  position: relative;
  font-weight: 700;
  text-align: left;
  letter-spacing: -.025em;
  font-size: 18px;
  word-wrap: break-word;
}

.content_box h4:not(:first-child) {
  margin-top: 40px;
}

/* text */
.message {
  font-size: 110%;
  margin-bottom: 20px;
}
@media only screen and (max-width: 800px) {
  .message {
    font-size: 100%;
  }
}
span.under_line {
  background: linear-gradient(transparent 60%, #ffebee 60%);
  font-weight: bold;
}

/* 確認表 */
.content_box .content_confirm {
  width: 100%;
  margin: 0;
}

.content_title .input_unit .my_column,
.content_box .input_unit .my_column,
.content_confirm .input_unit .my_column,
.content_form .input_unit .my_column {
  display: table-cell;
}

.content_confirm .input_unit .my_left.my_column {
  border-left: 1px solid #ccc;
  border-top: 1px solid #ccc;
  border-bottom: 1px solid #ccc;
  background: #eef9fb;
  width: 35%;
  vertical-align: middle;
  padding-top: 20px;
  padding-bottom: 20px;
  padding-left: 10px;
  padding-right: 10px;
}

.content_confirm .input_unit .my_right.my_column {
  border-right: 1px solid #ccc;
  border-top: 1px solid #ccc;
  border-bottom: 1px solid #ccc;
  width: 65%;
  word-wrap: break-word;
  padding: 10px;
  vertical-align: middle;
}

.content_confirm .input_unit {
  margin-left: 0;
  margin-right: 0;
  width: 100%;
  display: table;
  table-layout: fixed;
  border-collapse: collapse;
  margin-top: -1px;
}

@media only screen and (max-width: 800px) {
  .content_confirm .input_unit .my_left.my_column {
    width: calc(100% - 20px);
    margin-right: auto;
    margin-left: auto;
    border: 1px solid #ccc;
    margin-top: -1px;
    padding-top: 10px;
    padding-bottom: 10px;
  }
  .content_confirm .input_unit .my_right.my_column {
    width: calc(100% - 20px);
    padding-top: 15px;
    min-height: 1em;
    text-align: left;
    margin-right: auto;
    margin-left: auto;
    border: 1px solid #ccc;
    margin-top: -1px;
  }
  .content_confirm .input_unit {
    margin-top: 0;
    margin-bottom: 0;
    width: 100%;
  }
}

.content_title .label_frame,
.content_box .label_frame,
.content_confirm .label_frame,
.content_form .label_frame {
  font-weight: bold;
}

.content_title label,
.content_box label,
.content_confirm label,
.content_form label {
  width: auto;
  display: block;
  margin: 0px;
  padding: 0px;
  word-break: break-all;
  border-collapse: collapse;
}

label {
  font-size: 110%;
}

/* フォーム */
form.myForm .radiobutton_input,
form.myForm .radiobutton_label {
  padding-bottom: 0;
}

#content1 .content_form .input_unit .my_column {
  border: none;
  width: 100%;
  display: block;
}
.content_form,
.content_box {
  width: 600px;
  padding: 0 30px 30px 30px;
  border-radius: 10px;
  background: #fff;
  margin-right: auto;
  margin-left: auto;
}
@media only screen and (max-width: 800px) {
  .content_form,
  .content_box {
    width: 100%;
    padding: 0 20px 20px 20px;
    box-sizing: border-box;
  }
}

.content_form .input_unit {
  display: block;
  width: 100%;
}
.content_form .input_unit .my_left.my_column {
  background: transparent;
  padding: 0;
  margin-top: 40px;
  margin-bottom: 5px;
}
.content_form .input_unit .my_right.my_column {
  padding: 0;
}

/* フッター */
html,
body,
#container {
  height: 100%;
}
#footer {
  position: sticky;
  top: 100vh;
}

#footer .footer_linkbox {
  background-image: url(f_bg-sp.png);
  background-repeat: repeat-x;
  background-position: bottom;
  padding-top: 35px;
  padding-bottom: 35px;
}

#footer .footer_copyright {
  color: white;
  padding-top: 35px;
  padding-bottom: 35px;
}

#footer {
  color: #666;
  background: rgba(255, 255, 255, 0.5);
  padding: 0px;
  margin-top: 80px;
  margin-bottom: 0px;
  margin-left: 0px;
  margin-right: 0px;
  background-color: #343436;
  width: 100%;
  border: 0px;
  position: sticky;
  top: 100vh;
  text-align: center;
}

.clearfix li {
  display: inline-block;
  list-style-type: none;
}

.clearfix ul > li:not(:first-child):before {
  content: "| ";
}

#footer .footer_linkbox a,
a.footer_link:link,
a.footer_link:visited {
  font-size: 1.33em;
  color: white !important;
  text-decoration: none;
}

.clearfix:after {
  content: "";
  display: block;
  clear: both;
}

/* システムメッセージ */
#content1 #flashMessage {
  width: 100%;
  box-sizing: border-box;
  margin-bottom: 0;
  padding-left: 0;
  padding-left: 0;
}
