/* ------------------------------------------------------------
// Contact
------------------------------------------------------------ */
.content-ttl-img {
  position: relative;
  display: flex;
  align-items: flex-end;
  width: 100%;
  height: 300px;
  background: url(../images/contact/content-ttl-img.png) no-repeat center center/cover;
}
.content-ttl-img .content-ttl-box {
  width: 100%;
  padding: 20px 20px 10px;
  background: rgba(0, 0, 0, 0.2);
}
.content-ttl-img .content-ttl-box .en {
  font-size: 60px;
  font-weight: 900;
  color: #ffffff;
  line-height: 1.1;
}
.content-ttl-img .content-ttl-box .en::first-letter {
  color: #ffffff;
}
.content-ttl-img .content-ttl-box .jp {
  font-size: 16px;
  color: #cccccc;
}
@media print, screen and (max-width: 767px) {
  .content-ttl-img {
    width: 100%;
    height: 200px;
  }
  .content-ttl-img .content-ttl-box .en {
    font-size: 50px;
  }
  .content-ttl-img .content-ttl-box .jp {
    font-size: 14px;
  }
}
@media screen and (max-width: 575px) {
  .content-ttl-img .content-ttl-box .en {
    font-size: 30px;
  }
}

.contact-subttl {
  margin-bottom: 40px;
}
.contact-subttl .en {
  font-size: 16px;
  font-weight: 500;
  color: #92beee;
  line-height: 1;
  margin-bottom: 10px;
}
.contact-subttl .jp {
  font-size: 42px;
  font-weight: 700;
  color: #198ed1;
  line-height: 1;
}
@media print, screen and (max-width: 767px) {
  .contact-subttl .jp {
    font-size: 34px;
  }
}
@media print, screen and (max-width: 575px) {
  .contact-subttl {
    margin-bottom: 20px;
  }
  .contact-subttl .en {
    font-size: 14px;
    margin-bottom: 5px;
  }
  .contact-subttl .jp {
    font-size: 22px;
  }
}

/* ------------------------------------------------------------
// Form Tag
------------------------------------------------------------ */
::-webkit-input-placeholder {
  color: #cccccc;
}

::-moz-placeholder {
  color: #cccccc;
}

label {
  display: flex;
  align-items: center;
  gap: 5px;
}
label input[type=text] {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid #cccccc;
  border-radius: 4px;
}
@media (max-width: 768px) {
  label input[type=text] input[type=text] {
    padding: 12px 16px;
  }
}
label input[type=radio] {
  width: auto;
  margin-top: 2px;
}
label input[type=checkbox] {
  width: 1em;
  height: 1em;
  margin-top: 4px;
  vertical-align: middle;
}
label textarea {
  width: 100%;
  min-height: 100px;
  padding: 10px 14px;
  border: 1px solid #cccccc;
  border-radius: 4px;
}
@media (max-width: 575px) {
  label textarea {
    min-height: 240px;
  }
}

.button-box {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
}
.button-box button {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 500;
  color: #ffffff;
  width: 100%;
  max-width: 280px;
  height: 60px;
  padding-bottom: 2px;
  background: #198ed1;
  border-radius: 10px;
  transition: 0.6s ease;
  box-shadow: 0 4px 8px rgba(0, 102, 255, 0.2);
}
.button-box button i {
  position: absolute;
  right: 20px;
  font-size: 14px;
}
.button-box button:hover {
  background: #004f7c;
  box-shadow: 0 6px 12px rgba(0, 51, 128, 0.3);
}
.button-box button.return {
  color: #000000;
  background: #fafafa;
  border: 1px solid #cccccc;
}
.button-box button.return:hover {
  background: #cccccc;
}
@media screen and (max-width: 575px) {
  .button-box button {
    font-size: 16px;
    max-width: 240px;
    height: 50px;
    border-radius: 22px;
  }
  .button-box button i {
    font-size: 12px;
    right: 15px;
  }
}
@media print, screen and (max-width: 767px) {
  .button-box button {
    height: 50px;
  }
}

/* ------------------------------------------------------------
// table Layout
------------------------------------------------------------ */
.required {
  float: right;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  color: #ffffff;
  line-height: 20px;
  margin-top: 6px;
  padding: 0 0.4em;
}
@media print, screen and (max-width: 767px) {
  .required {
    margin-top: 4px;
  }
}

.required {
  background: #b9072d;
}

.flex-list {
  display: flex;
  flex-wrap: wrap;
  gap: 5px 20px;
}

/* ------------------------------------------------------------
// privacy policy
------------------------------------------------------------ */
.privacy-title {
  font-size: 18px;
  font-weight: 700;
  text-align: center;
  line-height: 1.4;
  margin: 30px auto;
}
@media print, screen and (max-width: 767px) {
  .privacy-title {
    font-size: 16px;
    font-weight: 500;
  }
}

.scroll-box {
  width: 100%;
  margin: 0 auto;
  padding: 40px;
  background: #ffffff;
  border: 1px solid #cccccc;
}
@media print, screen and (max-width: 767px) {
  .scroll-box {
    padding: 30px 20px;
  }
}

.privacy-box {
  font-size: 15px;
  width: 100%;
  height: 360px;
  overflow-y: auto;
  padding-right: 20px;
}
.privacy-box .privacy-item-title {
  font-size: 16px;
  color: #ffffff;
  margin: 30px 0 15px;
  padding: 8px 15px;
  background: #666666;
}
.privacy-box p {
  margin-bottom: 1em;
}
.privacy-box ul {
  padding-left: 1.5em;
}
.privacy-box ul li {
  list-style-type: decimal;
  margin-bottom: 1em;
}

.privacy-checkbox {
  font-size: 18px;
  font-weight: 700;
  margin: 30px auto;
}
.privacy-checkbox label {
  justify-content: center;
  gap: 6px;
}
@media print, screen and (max-width: 767px) {
  .privacy-checkbox {
    font-size: 16px;
    font-weight: 500;
  }
}

/* ------------------------------------------------------------
// design
------------------------------------------------------------ */
.contact-txt {
  line-height: 2;
  text-align: center;
  color: #333333;
  padding: 40px;
  border-top: 1px dashed #d2d2d2;
  border-bottom: 1px dashed #d2d2d2;
}
@media print, screen and (max-width: 767px) {
  .contact-txt {
    text-align: left;
    line-height: 1.6;
    padding: 40px 5px;
  }
}

.contact-info {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px 40px;
  text-align: center;
  margin: 0 60px 120px;
}
.contact-info .info-box {
  width: 100%;
  max-width: 600px;
  padding: 30px 20px;
  border: 1px solid #cccccc;
  border-radius: 4px;
}
.contact-info .info-box .tel-number {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 20px;
}
.contact-info .info-box .tel-number .prefix {
  display: inline-block;
  font-size: 14px;
  color: #ffffff;
  margin-top: 6px;
  padding: 2px 10px 3px;
  background: #004f7c;
  border-radius: 3px;
}
.contact-info .info-box .tel-number .number {
  font-size: 40px;
  font-weight: 700;
  line-height: 1;
  color: #000000;
}
.contact-info .info-box .item-box {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
}
.contact-info .info-box .item-box div {
  display: flex;
  align-items: center;
  gap: 10px;
}
.contact-info .info-box .item-box span {
  display: inline-block;
  color: #ffffff;
  font-size: 13px;
  margin-top: 2px;
  padding: 2px 8px 3px;
  background: #004f7c;
  border-radius: 3px;
}
@media screen and (max-width: 991px) {
  .contact-info {
    flex-direction: column;
    margin: 0 15px 60px;
  }
}
@media screen and (max-width: 767px) {
  .contact-info {
    margin: 30px 15px 60px;
  }
  .contact-info .info-box .tel-number {
    gap: 10px;
    margin-bottom: 15px;
  }
  .contact-info .info-box .tel-number .prefix {
    font-size: 12px;
    margin-top: 0;
    padding: 1px 8px 2px;
  }
  .contact-info .info-box .tel-number .number {
    font-size: 30px;
  }
  .contact-info .info-box .item-box {
    gap: 18px;
  }
  .contact-info .info-box .item-box div {
    display: flex;
    align-items: center;
    gap: 8px;
  }
  .contact-info .info-box .item-box span {
    font-size: 12px;
    margin-top: 0;
    padding: 1px 8px 2px;
  }
}

.contact-form-box table {
  border-collapse: collapse;
  width: 100%;
}
.contact-form-box table th {
  font-weight: 500;
  width: 240px;
  padding: 25px 5px;
  border-bottom: 2px solid #92beee;
}
.contact-form-box table td {
  padding: 25px 20px;
  border-bottom: 2px solid #d9ebff;
}
@media screen and (max-width: 767px) {
  .contact-form-box table {
    border-collapse: collapse;
    width: 100%;
    border-top: 2px solid #92beee;
  }
  .contact-form-box table th {
    display: block;
    width: 100%;
    border-bottom: 2px dashed #d9ebff;
  }
  .contact-form-box table td {
    display: block;
    width: 100%;
    border-bottom: 2px solid #92beee;
  }
}