/* setting */
/* ======================================== */
:root{
  --font: 'Noto Sans JP', sans-serif;
  --color: #1d1d1f;
  --color-2: #1a0dab;
  --gray: #f4f4f4;
  --width: 1000px;
  --width-2: 700px;
  /* ==================== */
  --body-font: var(--font);
  --main-text-color: var(--color);
  --link-color: var(--color-2);
  --sub-color: var(--gray);
  --width-large: var(--width);
  --width-middle: var(--width-2);
}

body{
  font-family: var(--body-font);
  color: var(--main-text-color);
  letter-spacing: 0.02em;
  font-size: 16px;
  font-size: clamp(12px,1.6vw,16px);
  line-height: 1.7;
}
a {
  color: var(--link-color);
}
a:hover{
  text-decoration: underline;
}
img{
  max-width: 100%;
  height: auto;
  image-rendering: -webkit-optimize-contrast;
}
::-webkit-full-page-media, :future, :root img{
  image-rendering: unset;
}
p:not(:last-child){
  margin-bottom: 1rem;
}
.container{
  width: 95%;
  margin: 100px auto;
}
.__mb0{
  margin-bottom: 0;
}
.__w1000{
  max-width: var(--width-large);
}
.__w720{
  max-width: var(--width-middle);
}
a[target="_blank"]:after{
  content: "";
  background: url(../img/icon-blank.svg) no-repeat center;
  background-size: contain;
  height: 12px;
  width: 13px;
  display: inline-block;
  margin-left: 10px;
}
[data-ruby] {
  position: relative;
}
[data-ruby]::before {
  content: attr(data-ruby);
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.5em;
  white-space: nowrap;
}
.__text_center{
  text-align: center;
}
@media (max-width: 1000px){
  .container{
    margin: 10% auto;
  }
}


/* parts */
/* ======================================== */
.heading_wrap{
  margin-bottom: 100px;
}
.heading_primary{
  font-size: clamp(25px,5vw,50px);
  font-weight: 700;
  letter-spacing: 0.1em;
}
.heading_primary span{
  display: block;
}
.description_wrap{
  margin-bottom: 50px;
}
.button_wrap{
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}
.button_primary{
  min-width: 100px;
  max-width: 400px;
  height: 50px;
  padding: 0 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  background-color: #156fe4;
  color: #fff;
  border-radius: 5px;
  transition: 0.3s;
}
.button_primary:hover{
  background-color: #0755bc;
  box-shadow: 0 9px 10px 0 rgba(7, 85, 188, 0.1);
  text-decoration: none;
}
@media (max-width: 1000px){
  .heading_wrap{
    margin-bottom: 10%;
  }
  .description_wrap{
    margin-bottom: 7%;
  }
}


/* table */
/* ======================================== */
table {
  border-collapse: collapse;
  border-spacing: 0;
  width: 100%;
}
table th,
table td{
  padding: 1.5rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.5);
}
table tr:first-child th,
table tr:first-child td{
  border-top: 1px solid rgba(0, 0, 0, 0.5);
}
table th{
  font-size: clamp(16px,1.8vw,18px);
  text-align: left;
  width: 30%;
  white-space: nowrap;
}
table td{
  width: 70%;
}
@media (max-width: 1000px){
  table th,
  table td{
    border-bottom: 1px solid rgba(0, 0, 0, 0.5);
  }
}
@media (max-width: 500px){
  table th,
  table td{
    display: block;
    width: 100%;
  }
  table tr:first-child td{
    border-top: unset;
  }
  table th{
    padding: 1rem 1rem 0.5rem;
    border-bottom: unset;
  }
  table td{
    padding: 1rem;
  }
}


/* about */
/* ======================================== */
.table_about{
  margin-bottom: 50px;
}
.icon_x{
  height: 14px;
  width: 15px;
  vertical-align: baseline;
}
@media (max-width: 1000px){
  .table_about{
    margin-bottom: 7%;
  }
}


/* footer */
/* ======================================== */
footer{
  width: 100%;
  margin: 0 auto 8px;
  font-size: 12px;
  color: #9c9c9c;
}

/* contact */
/* ======================================== */
.form_item{
  margin-bottom: 40px;
}
.form_item_head{
  display: flex;
  align-items: center;
  font-size: clamp(16px,1.8vw,18px);
  font-weight: 700;
}
.__must::after{
  content: "必須";
  color: #df6840;
  padding: 5px 18px;
  font-size: 11px;
  font-size: clamp(10px,1.2vw,12px);
  font-weight: 700;
  border: solid 1px #df6840;
  border-radius: 2px;
  margin-left: 16px;
}
input[type="text"],input[type="email"],textarea {
  width: 100% !important;
  border-radius: 5px;
  padding: 1.5rem;
  background: var(--sub-color);
  border: solid 1px #cccccc;
  color: #666666;
  outline: none;
  appearance: none;
}
textarea{
  min-height: 250px;
}
.privacy_text{
  font-size: clamp(12px,1.4vw,14px);
  max-height: 200px;
  overflow: auto;
  padding: 1rem;
  background: var(--sub-color);
  border: solid 1px #cccccc;
  border-radius: 5px;
  margin-bottom: 40px;
}
.privacy_text ul{
  padding-left: 1.5em;
  margin-bottom: 1rem;
}
.privacy_text ul li{
  list-style: disc;
}
form .privacy_check{
  margin-bottom: 40px;
}
form .privacy_check_inner{
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: center;
}
input[type="checkbox"]{
  width: 24px;
  height: 24px;
  accent-color: var(--main-text-color);
}
#mailformpro .mfp_err{
  color: #df6840;
  font-size: clamp(12px,1.4vw,14px);
}
#mfp_loading,
#mfp_loading_screen,
#mfp_overlay_background,
#mfp_overlay,
#mfp_error,
#mfp_warning{
  display: none;
}
#mfp_hidden {
  overflow: hidden;
  width: 1px;
	height: 1px;
	padding: 0px;
	margin: 0px;
}
@media (max-width: 1000px){
  .form_item{
    margin-bottom: 7%;
  }
  textarea{
    min-height: 200px;
  }
  .privacy_text{
    margin-bottom: 5%;
  }
  form .privacy_check{
    margin-bottom: 5%;
  }
}
@media (max-width: 500px){
  .__must::after{
    padding: 3px 18px;
  }
  input[type="text"],input[type="email"],textarea {
    padding: 1rem;
  }
  .privacy_text{
    max-height: 120px;
  }
  input[type="checkbox"]{
    width: 20px;
    height: 20px;
  }
}