@charset "UTF-8";

:root {
  --color_blue: #000063;
  --color_red: #C1272D;
  --color_white: #fff;
  --color_black: #333;
}

body,
div,
dl,
dt,
dd,
ul,
ol,
li,
h1,
h2,
form,
input,
button,
textarea,
p {
  margin: 0;
  padding: 0;
}

html {
  overflow: auto;
}

body {
  overflow: hidden;
  font-size: 1em;
  font-size: 16px;
  line-height: 1.5;
  font-family: "Zen Old Mincho", serif;
  font-weight: 400;
  -webkit-text-size-adjust: 100%;
  color: var(--color_blue);
}

li {
  list-style: none;
  margin: 0;
  padding: 0;
}

a {
  text-decoration: none;
  color: inherit;
}

a:hover {
  text-decoration: none;
}

a img {
  border-style: none;
}

img {
  vertical-align: bottom;
}

input,
select,
textarea,
button {
  font-family: inherit;
  color: inherit;
  -webkit-appearance: none;
}

button {
  font-size: 1em;
  background-color: transparent;
  border: none;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

button:focus,
input:focus,
select:focus {
  outline: none;
}

button:hover {
  cursor: pointer;
}

/* 簡便に...すべての余白を0に、box-sizing を border-boxに*/
* {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  -ms-box-sizing: border-box;
  box-sizing: border-box;
}

::-webkit-scrollbar {
  height: 15px;
}

/*バーの太さ*/
::-webkit-scrollbar-track {
  background: #fff;
}

/*バーの背景色*/
::-webkit-scrollbar-thumb {
  background: #000000;
}

/*--------------------------------------------------------
サイト毎に変化のある定数
--------------------------------------------------------*/
.content_size800 {
  width: 100%;
  max-width: 800px;
  margin-right: auto;
  margin-left: auto;
}

.content_size1600 {
  width: 100%;
  max-width: 1600px;
  margin-left: auto;
  margin-right: auto;
}

.image_positon--c {
  margin-left: -400px;
}

/*--------------------------------------------------------
定数
--------------------------------------------------------*/

.overflow--h {
  overflow: hidden;
}

.text_align--c {
  text-align: center;
}

.relative {
  position: relative;
}

.absolute {
  position: relative;
}

.no_scroll {
  overflow: hidden;
}

/*--------------------------------------------------------
ヘッダー
--------------------------------------------------------*/
.header {
  position: absolute;
  top: 30px;
  right: 0;
  width: 100%;
  max-width: 890px;
}

.header_nav {
  background-color: rgba(255, 255, 255, 0.8);
  box-shadow: 0 0 20px -10px #000;
}

.header_menu {
  display: flex;
  align-items: center;
  justify-content: space-around;
}

.header_menu a {
  padding: 10px;
  display: inline-block;
  font-size: 30px;
  line-height: 1;
}

.menu_toggle {
  background: transparent;
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 22px;
  position: relative;
  border: none;
  padding: 0;
  z-index: 100;
  cursor: pointer;
}

.menu_toggle span {
  display: block;
  width: 100%;
  height: 4px;
  background-color: var(--color_blue);
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* 押した後のアニメーション */
.menu_toggle.active span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}

.menu_toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu_toggle.active span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}


/*--------------------------------------------------------
フッター
--------------------------------------------------------*/
footer {
  margin-top: 20%;
  text-align: center;
}

.copyright {
  font-weight: 500;
  padding: 10px 0;
  text-decoration: none;
  color: var(--color_blue);
}

.copyright,
.copyright a {
  font-size: 18px;
}

/*--------------------------------------------------------
各種レイアウト
--------------------------------------------------------*/
/* === common === */
.background_main {
  background-image: url(../img/lbh_background.png);
  background-position: top center;
}

.selected_pack {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 82%;
  margin: auto;
}

.selected_pack.selected_pack--column {
  flex-direction: column;
}

.selected_pack__title {
  width: 51.4%;
}

.selected_pack__name {
  text-align: right;
  margin-right: 4%;
  font-size: 1.7em;
}

.required_mark {
  color: var(--color_red);
}

/* === common_end === */

/* === TOP === */
.scroll__container {
  text-align: center;
}

.scroll {
  width: 21.4%;
  margin: 0 auto;
}

.scroll img {
  width: 100%;
}

.content_wrapper {
  margin-bottom: 20%;
}

.pack__item {
  cursor: pointer;
}

.com_area {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  font-size: 25px;
  margin-top: 20px;
}

.com_area div {
  margin-left: 5%;
  margin-right: 5%;
}

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

/* === TOP_end === */

/* === 確認 === */
.confirm_container {
  width: 90%;
  margin-top: 10%;
  margin-bottom: 10%;
  margin-left: auto;
  margin-right: auto;
}

.confirm_title {
  display: flex;
  align-items: center;
  margin-top: 4%;
  font-size: 1.3em;
}

.confirm_field {
  font-size: 1.3em;
}

.lawtext_title {
  width: 28.5%;
  margin: 0 auto 2%;
}

.lawtext_container {
  width: 95%;
  max-width: 800px;
  margin: 0 auto;
}

.lawtext {
  border: 1px solid var(--color_blue);
  background-color: var(--color_white);
  height: 300px;
  overflow-y: scroll;
  padding: 2% 0 2% 2%;
}

.lawtext__item {
  color: var(--color_black);
  user-select: none;
}

.agreement_box {
  margin: 5% 0;
  font-size: 1.3em;
  text-align: center;
}

.agreement_box__body {
  margin: 2% 0;
}

.err_msg2 {
  color: var(--color_red);
  font-weight: bold;
  font-size: 1.1em;
  padding: 0 5%;
  text-align: center;
}

.back_page_btn {
  width: 50%;
  margin: 0 auto;
}

.lawtext .scroll::-webkit-scrollbar-thumb {
  background: #000000;
}

.lawtext p {
  padding-bottom: 0.5em;
  font-weight: 200;
}

/* === 確認_end === */

/* === 決済 === */
.credit_container {
  margin: 20% auto;
}

.credit_btn {
  width: 62.8%;
  margin: 0 auto;
}

.select_box {
  width: 95%;
  max-width: 650px;
  margin: 0 auto;
}

.select_box__title {
  font-size: 1.3em;
}

.select_box__item {
  position: relative;
}

.select_box__item::after {
  content: "\025bc";
  display: block;
  position: absolute;
  top: 0;
  right: 0;
  pointer-events: none;
  width: 2em;
  height: 100%;
  font-size: 1.3em;
  color: var(--color_blue);
  text-align: center;
  padding: 1%;
}

.bank_infomation {
  background-color: var(--color_white);
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 8px 16px;
  align-items: center;
  width: 90%;
  max-width: 600px;
  margin: 0 auto;
  padding: 5%;
  font-size: 1.3em;
}

.bank_notes {
  margin-top: 5%;
  font-size: 1.3em;
  text-align: center;
  color: var(--color_red);
}

/* === 決済_end === */


/*=== フォーム ===*/
.form__inner {
  width: 80%;
  margin: 0 auto;
}

:placeholder-shown {
  color: #b3b3b3;
}

.form__title {
  font-size: 1.5em;
  margin-top: 4%;
  margin-bottom: 1%;
  font-weight: 500;
  display: flex;
  align-items: center;
}

input[type="text"] {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

input[type="text"],
input[type="tel"],
input[type="number"],
input[type="email"],
select {
  width: 100%;
  border: 1px solid #3F2A0F;
  font-size: 1.3em;
  padding: 0.3em 0.6em;
  -moz-appearance: none;
  -webkit-appearance: none;
  appearance: none;
  background-color: #fff;
  font-weight: 500;
}

select::-ms-expand {
  display: none;
}

option {
  padding: 0 !important;
  min-height: 0 !important;
}

input:focus {
  outline: none;
  /* フォーカス時のアウトラインを消す */
}

.err_msg {
  color: var(--color_red);
  font-weight: bold;
  font-size: 1em;
  padding-bottom: 10px;
  position: relative;
}

input:-webkit-autofill {
  box-shadow: 0 0 0 1000px white inset;
  color: var(--color_blue);
  /* テキストの色 */
  -webkit-text-fill-color: var(--color_blue);
  /* テキストの色 */
}

.precaution_container {
  background-color: var(--color_white);
  width: 80%;
  margin: 10% auto;
  padding: 10% 5%;
}

.precaution_content {
  margin: 10% 0;
}

.precaution_header_text1 {
  font-size: 30px;
  font-weight: bold;
}

.precaution_header_text2 {
  font-size: 18px;
  font-weight: 400;
}

.change_plan_btn {
  width: 58.7%;
  margin: 0 auto;
}

/*=== フォーム_end ===*/

/*=== チェックボックス ===*/

.checkbox {
  display: flex;
  justify-content: center;
  font-size: 1em;
}

/* .checkbox.checkbox--large {
  font-size: 1.5em;
} */

.checkbox__text {
  color: var(--color_blue);
}

.checkbox__text.checkbox__text--red {
  color: var(--color_red);
}

.checkbox label {
  position: relative;
  display: block;
  cursor: pointer;
  width: 100%;
  margin-right: 0.5em;
  margin-left: 2.5em;
}

.checkbox label span.checkbox__text {
  display: inline-block;
  line-height: 1.3;
  position: relative;
  /* margin-right: 35px; */
}

.checkbox label input {
  display: none;
}

.checkbox label input+.checkbox__text::before {
  content: "";
  display: block;
  background: #fff;
  width: 1em;
  height: 1em;
  border: 1px solid #001932;
  box-shadow: none;
  margin-right: 0.7em;
  position: absolute;
  left: -1.5em;
  top: 50%;
  transform: translateY(-50%);
}

.checkbox label input:checked+.checkbox__text::after {
  content: "";
  display: block;
  position: absolute;
  left: -1.2em;
  width: 0.4em;
  height: 0.8em;
  border-bottom: 3px solid var(--color_red);
  border-right: 3px solid var(--color_red);
  top: 50%;
  transform: translate(0px, -75%) rotate(40deg);
  -webkit-transform: translate(0px, -75%) rotate(40deg);
}

/*=== チェックボックス_end ===*/

/* === 特商法 === */
.law_container {
  user-select: none;
}

.law_container .infomation {
  margin-bottom: 20px;
}

.law_container .infomation div>p:last-child {
  margin-bottom: 10px;
}

.law_container .item {
  width: 95%;
  margin: 0 auto;
}

.law_block {
  padding-top: 5%;
}

.law_block>div>p {
  margin-bottom: 20px;
}

/* === 特商法_end === */
/*--------------------
ポップアップ
--------------------*/
.popup {
  opacity: 0;
  visibility: hidden;
  z-index: 99999;
  position: fixed;
  top: -10px;
  left: 0;
  right: 0;
  bottom: -10px;
  background-color: rgba(192, 207, 223, 0.7);
  overflow: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}
.pop img {
  width: 100%;
}




.popup .in {
  width: 95%;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  margin-top: 20px;
  margin-bottom: 100px;
}

.popup .container {
  width: 95%;
  margin-left: auto;
  margin-right: auto;
}

.popup .more {
  width: 100%;
  max-width: 600px;
  -webkit-transition: margin 1s ease;
  -moz-transition: margin 1s ease;
  -ms-transition: margin 1s ease;
  -o-transition: margin 1s ease;
  transition: margin 1s ease;
  border: none;
}

.popup .more .tx>div {
  padding-bottom: 1em;
}

.popup .more .tx>div:last-child {
  padding-bottom: 0;
}

.popup.is-show {
  opacity: 1;
  visibility: visible;
}

.popup .scm_popup_btn {
  position: absolute;
  top: 21%;
  left: 50%;
  transform: translate(-50%);
  width: 100%;
}


.popup_text {
  font-size: 16px;
  position: absolute;
  bottom: 7.5%;
  left: 50%;
  transform: translate(-50%);
  text-align: center;
  width: 100%;
}

.close_btn {
  width: 100%;
  text-align: right;
}

.close_btn p {
  display: inline-block;
  cursor: pointer;
  width: 30px;
  height: 30px;
  z-index: 999;
  position: absolute;
  top: 1.6%;
  right: 4%;
}