/* ===========================================================
  共通変数定義エリア
  - フォントやカラーなどのカスタムプロパティ
  =========================================================== */

:root {
  --font-jp: "Noto Sans JP", sans-serif;
  --font-en-lng: "Lato", sans-serif;
  --font-en-ships: "Roboto", sans-serif;
  --text-color-lng: #005a64;
  --text-color-ships: #001428;
  --bg-color-lng: #f2f8f6;
  --bg-color-ships: #ecf0f6;
  --point-color-ships: #b4141e;
}


/* ===========================================================
  レイアウト系クラス
  - ヘッダーやラッパー、コンテンツ幅の調整など
  =========================================================== */

.ly_wrapper {
  position: relative;
}

.ly_cont {
  padding: 0 20px;
}

.ly_footer {
  height: 100px;
  text-align: center;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
}

/* PC */
@media screen and (min-width:751px) {

  .ly_cont {
    max-width: 1200px;
    margin-inline: auto;
    padding: 0;
  }

  .ly_footer {
    max-width: 1200px;
    padding: 0 20px;
    margin-inline: auto;
    height: 115px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-direction: row;
    flex-direction: row;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
  }

}

@media screen and (min-width: 1200px) {
  .ly_footer {
    padding: 0;
  }
}


/* ===========================================================
  共通スタイル
  - ブロック要素のスタイルや、ヘッダー、フッターなど
  =========================================================== */

html,
body {
  overflow-x: hidden;
}

.bl_footer_copy {
  font-size: 0.625rem;
  color: var(--text-color-ships);
}

@media screen and (min-width:751px) {
  .bl_footer_copy {
    font-size: 0.6875rem;
    letter-spacing: 0.02em;
    color: var(--text-color-ships);
  }
}

.pcBlock {
  display: none;
}

.spBlock {
  display: block;
}

/* PC */
@media screen and (min-width:751px) {

  .pcBlock {
    display: block;
  }

  .spBlock {
    display: none;
  }
}


/* ===========================================================
  共通CONTACTフォーム
  =========================================================== */

.bl_contact_mv {
  width: 100%;
  height: 250px;
  position: relative;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  /* 背景画像は個別CSSに設定 */
}

.bl_contact_mv_inner {
  padding: 0 20px;
}

.bl_contact_mv_inner hgroup {
  color: #fff;
  text-align: center;
  margin-top: 3rem;
}

.bl_contact_mv_en {
  margin-bottom: 6px;
  font-size: 2.25rem;
  font-weight: bold;
  font-family: var(--font-en-ships);
  line-height: 1;
}

.bl_contact_mv_ttl {
  font-size: 1rem;
  font-weight: bold;
}

.bl_form {
  margin: 40px 0;
}

.bl_form_inner {
  padding: 0 20px;
}

.bl_form {
  color: var(--text-color-ships);
}

.bl_form_btn {
  margin-top: 40px;
  border-radius: 100vmax;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}

.bl_form_btn a {
  display: inline-block;
  width: 16.25rem;
  padding: 14px 12px 14px 24px;
  background: #7E7E7E;
  color: #fff;
  font-size: 1rem;
  font-weight: bold;
  text-decoration: none;
  border-radius: 100vmax;
  position: relative;
  -webkit-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
  transition: all 0.3s ease;
  text-align: center;
}

.bl_form_btn a::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 30px;
  -webkit-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  -o-transform: translateY(-50%);
  transform: translateY(-50%);
  width: 13px;
  height: 15px;
  background-image: url('/common/images/contact/icon_arrow_white.webp');
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  -webkit-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
  transition: all 0.3s ease;
}

.bl_form_btn a:hover {
  opacity: 0.8;
}

.bl_form_btn a:hover::after {
  -webkit-transform: translateY(-50%) translateX(-4px);
  -ms-transform: translateY(-50%) translateX(-4px);
  -o-transform: translateY(-50%) translateX(-4px);
  transform: translateY(-50%) translateX(-4px);
}

/* PC */
@media screen and (min-width:751px) {

  .bl_contact_mv {
    height: 450px;
  }

  .bl_contact_mv_inner hgroup {
    margin-top: 3.75rem;
  }

  .bl_contact_mv_en {
    font-size: 3.125rem;
  }

  .bl_contact_mv_ttl {
    font-size: 1.1875rem;
  }

  .bl_form {
    margin: 72px 0 80px;
  }

  .bl_form_inner {
    max-width: 1100px;
    margin-inline: auto;
    padding: 0;
  }

  .bl_form_btn {
    margin-top: 40px;
  }

  .bl_form_btn a {
    font-size: 1.3125rem;
  }
}

/* ===========================================================
  MAStyle
  =========================================================== */

#mastyleformMain {
  background: #F5F8F9;
}

.mastyle_form_heading {
  font-size: 1.3125rem !important;
}

.mastyle_form_field_text {
  position: relative;
}

.mastyle_form_field_label__name .mastyle_form_field_text::after,
.mastyle_form_field_label__email .mastyle_form_field_text::after,
.mastyle_form_field_label__company .mastyle_form_field_text::after,
.mastyle_form_field_label__section .mastyle_form_field_text::after,
.mastyle_form_field_label__position .mastyle_form_field_text::after,
.mastyle_form_field_label__industory .mastyle_form_field_text::after,
.mastyle_form_field_label__industry_text .mastyle_form_field_text::after,
.mastyle_form_field_label__zipcode .mastyle_form_field_text::after,
.mastyle_form_field_label__address .mastyle_form_field_text::after,
.mastyle_form_field_label__building_name .mastyle_form_field_text::after,
.mastyle_form_field_label__tel .mastyle_form_field_text::after,
.mastyle_form_field_label__mobile_tel .mastyle_form_field_text::after,
.mastyle_form_field_label__fax .mastyle_form_field_text::after,
.mastyle_form_field_label__textarea_default .mastyle_form_field_text::after {
  display: block;
  position: absolute;
  top: calc(100% - 0.25rem);
  left: 0;
  font-size: 0.875rem;
  font-family: var(--font-en-ships);
  color: #7E7E7E;
  white-space: nowrap;
}

.mastyle_form_field_label__name .mastyle_form_field_text::after {
  content: "Name";
}

.mastyle_form_field_label__email .mastyle_form_field_text::after {
  content: "Email Address";
}

.mastyle_form_field_label__company .mastyle_form_field_text::after {
  content: "Company Name";
}

.mastyle_form_field_label__section .mastyle_form_field_text::after {
  content: "Department Name";
}

.mastyle_form_field_label__zipcode .mastyle_form_field_text::after {
  content: "Zip code";
}

.mastyle_form_field_label__address .mastyle_form_field_text::after {
  content: "Address";
}

.mastyle_form_field_label__tel .mastyle_form_field_text::after {
  content: "Telephone Number";
}

.mastyle_form_field_label__fax .mastyle_form_field_text::after {
  content: "Fax Number";
}

.mastyle_form_field_label__textarea_default .mastyle_form_field_text::after {
  content: "Message";
}

.mastyle_form_input_header {
  font-size: 1rem !important;
  line-height: 1.9;
}

.mastyle_form_input_footer {
  font-size: 1rem !important;
}

.mastyle_form_input_footer a {
  color: var(--point-color-ships) !important;
  -webkit-transition: opacity 0.3s ease;
  -o-transition: opacity 0.3s ease;
  transition: opacity 0.3s ease;
}

.mastyle_form_input_footer a:hover {
  opacity: 0.8;
}

.mastyle_form_submit_button_text {
  font-size: 1.3125rem !important;
  display: block;
}

.mastyle_form_submit_button {
  cursor: pointer;
  background-color: #e1e6eb !important;
}

.mastyle_form_submit_button span {
  color: #212227;
}

.mastyle_form_submit_button:hover {
  background-color: var(--point-color-ships) !important;
}

.mastyle_form_submit_button:hover span {
  color: #fff;
}

.mastyle_form .mastyle_form_field_wrap .mastyle_form_field .mastyle_form_field_label {
  padding: 0 0 1.25rem !important;
}

/* PC */
@media screen and (min-width:751px) {
  #mastyleformMain {
    padding: 60px 100px;
  }

  .mastyle_form_input_header {
    font-size: 1.125rem !important
  }

  .mastyle_form_heading {
    font-size: 1.75rem !important;
  }

  .mastyle_form_input_footer {
    font-size: 1rem !important;
  }

  .mastyle_form_submit_button_text {
    font-size: 1.5rem !important;
  }
}