@charset "UTF-8";
/*
 * 日本ハイソフト お問合せフォーム - スタイルシート
 *
 * 実サイトから取得した public.css / common.css / style.css / for_tablet.css /
 * for_pc.css の内容のうち、このページ(index.html)で実際に使用しているルールだけを
 * 1ファイルにまとめたもの。トップページ・製品ページ・会社概要・採用ページ等、
 * このフォームに存在しない要素向けのスタイル(#top, #package-page, #service,
 * #company, #recruit, .tow-column/#sidenav の2カラムレイアウト等)は含めていない。
 * ページ末尾の「ここから下は独自追加」以降は、実サイトのCSSには無い、
 * このフォーム固有の追加スタイル。
 */

/* ==================== 基本リセット・タイポグラフィ ==================== */
* {
  margin: 0;
  padding: 0;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}
body {
  font-family: "游ゴシック体", "Yu Gothic", YuGothic, "ヒラギノ角ゴ Pro", "Hiragino Kaku Gothic Pro", "メイリオ", "Meiryo", sans-serif;
  font-weight: 500;
  color: #222;
}
p {
  padding-bottom: 20px;
  line-height: 175%;
}
nav a, .crumb a, nav a:link, .crumb a:link, nav a:visited, .crumb a:visited, nav a:hover, .crumb a:hover, nav a:active, .crumb a:active {
  text-decoration: none;
}
a, a:link, a:visited {
  color: inherit;
}
a:hover, a:active {
  color: red;
}
ul {
  list-style: none;
  padding: 0 0 20px;
}
ol {
  padding: 0 0 20px 1.5em;
}
ul, ol {
  line-height: 1.7em;
}
ul ul, ul ol, ol ul, ol ol {
  line-height: 1.4em;
}

/* ==================== 共通ユーティリティ ==================== */
.clearfix::after {
  display: block;
  content: "";
  clear: both;
}
.text-center {
  text-align: center;
}
.non-border {
  border: none !important;
}
.base-button {
  display: inline-block;
  margin: 15px;
  padding: 1em 2em 0.8em;
  color: #fff !important;
  text-decoration: none;
  background-color: #18669f;
  border: 1px solid #fff;
  border-radius: 3px;
  transition: all .1s;
}
.base-button:hover {
  color: #18669f !important;
  border: 1px solid #18669f;
  background-color: #fff;
}
.dice-mark > li:before {
  content: "◆";
  position: relative;
  top: -0.1em;
  padding-right: .3em;
}

/* ==================== ヘッダー ==================== */
#header .jhs-logo {
  padding: 10px;
}
#header .jhs-logo::after {
  display: block;
  content: "";
  clear: both;
}
#header #logomark {
  float: left;
  height: 50px;
  margin-right: 5px;
}

/* ==================== グローバルナビゲーション ==================== */
#g-nav {
  background: #18669f;
  background: -webkit-linear-gradient(to bottom, #00a1e9, #18669f);
  background: linear-gradient(to bottom, #00a1e9, #18669f);
}
#g-nav ul {
  margin: 0 auto;
  padding: 0 !important;
}
#g-nav ul::after {
  display: block;
  content: "";
  clear: both;
}
#g-nav ul li {
  float: left;
}
#g-nav ul li a {
  display: block;
}
#g-nav ul li {
  width: 33.3333%;
  border-right: 1px solid #fff;
}
#g-nav ul li a {
  padding: 5px 0;
  text-align: center;
  font-size: 11px;
  color: #fff;
}
#g-nav ul li:nth-child(3n) {
  border-right: none;
}
#g-nav .current-nav {
  background-color: rgba(255, 255, 255, 0.2);
}

/* ==================== パンくずリスト ==================== */
.crumb {
  padding: 10px;
  font-size: 9px;
}
.crumb .separator {
  padding: 0 .5em;
}

/* ==================== ページタイトル ==================== */
.pagetitle {
  padding: 20px 0;
  font-size: 24px;
  color: #fff;
  text-align: center;
  background-color: #18669f;
}

/* ==================== フッター ==================== */
#footer {
  background-color: #18669f;
  font-size: 11px;
}
#footer a {
  color: #fff;
}
#footer a:hover, #footer a:active {
  color: red;
}
#footer nav #footer-nav1 {
  padding: 40px 40px 0;
}
#footer nav #footer-nav1::after {
  display: block;
  content: "";
  clear: both;
}
#footer nav #footer-nav1 li {
  float: left;
}
#footer nav #footer-nav1 li a {
  display: block;
}
#footer nav #footer-nav1 li {
  width: 50%;
  padding: 0 0 .7em 1em;
  border-left: 1px solid #fff;
}
#footer nav #footer-nav2 {
  padding: 40px;
  color: #fff;
}
#footer nav #footer-nav2 p {
  margin-bottom: 8px !important;
  padding-bottom: 5px;
  border-bottom: 1px dashed #fff;
}
#footer nav #footer-nav2 ul ul {
  font-size: 12px;
  padding: 0 0 0 20px;
}
#footer nav #footer-nav2 ul ul::after {
  display: block;
  content: "";
  clear: both;
}
#footer nav #footer-nav2 ul ul li {
  float: left;
}
#footer nav #footer-nav2 ul ul li a {
  display: block;
}
#footer nav #footer-nav2 ul ul li {
  padding: 0 1.2em .5em 0;
}

/* ==================== ページトップへ戻る ==================== */
#pagetop {
  position: fixed;
  bottom: 20px;
  right: 20px;
  font-size: 10px;
}
#pagetop a {
  display: block;
  padding: 10px;
  color: #fff;
  text-align: center;
  text-decoration: none;
  border-radius: 10px;
  background-color: #1f2c5f;
  opacity: .8;
}
#pagetop a:hover {
  opacity: 1;
}

/* ==================== お問合せフォーム ==================== */
.inquiry-html p {
  display: none;
}
.inquiry-form .required {
  color: #ea5549;
  font-size: smaller;
}
.inquiry-form .column {
  border-bottom: 1px dotted #444;
}
.inquiry-form .column dt {
  display: inline-block;
  margin: 20px 0 10px 0;
  padding: .5em 3em .5em 1em;
  background-color: rgba(147, 209, 253, 0.6);
}
.inquiry-form .column dd {
  margin: 0 0 20px 0;
}
.inquiry-form .column dd p {
  padding: 0;
}
.inquiry-form .column dd span {
  padding: 0 5px;
}
.inquiry-form .column dd input, .inquiry-form .column dd textarea, .inquiry-form .column dd select {
  padding: .3em .5em;
}
.inquiry-form .column dd input {
  width: 80%;
}
.inquiry-form .column dd textarea {
  width: 100%;
}
.inquiry-form .column dd select {
  width: 50%;
}
.inquiry-form .column dd fieldset {
  border: none;
}
.inquiry-form .column dd fieldset label input {
  width: 2em;
}
.inquiry-form input[type="submit"] {
  display: inline-block;
  margin: 15px;
  padding: 1em 2em 0.8em;
  color: #fff !important;
  text-decoration: none;
  background-color: #18669f;
  border: 1px solid #fff;
  border-radius: 3px;
  transition: all .1s;
}
.inquiry-form input[type="submit"]:hover {
  color: #18669f !important;
  border: 1px solid #18669f;
  background-color: #fff;
}
.inquiry-form .send {
  text-align: center;
}
.inquiry-sent p:first-child {
  font-weight: bold;
}
.errorExplanation {
  padding: 40px;
  border-radius: 3px;
  background-color: #eaeaea;
}
.errorExplanation p {
  font-weight: bold;
}
.errorExplanation ul {
  color: #ea5549;
  font-size: smaller;
}

/* ==================== レスポンシブ ==================== */
/*--- スマートフォン(〜767px) ---*/
@media screen and (min-width: 0px) and (max-width: 767px) {
  body {
    font-size: 11px;
  }
  .content, #g-nav ul, #footer nav {
    width: 100%;
  }
  .one-column.content {
    padding: 0 40px;
  }
  #pagetop {
    display: none;
  }
  .inquiry-form .column {
    border-bottom: 1px dotted #444;
  }
  .inquiry-form .column dt {
    display: inline-block;
    margin: 20px 0 10px 0;
    padding: .5em 3em .5em 1em;
    background-color: #fff;
  }
  .inquiry-form .column dd {
    margin: 0 0 20px 0;
  }
  .inquiry-form .column dd p {
    padding: 0;
    color: #777;
  }
  .mobile-hidden {
    display: none !important;
  }
}

/*--- タブレット・PC共通(768px〜) ---*/
@media screen and (min-width: 768px) {
  body {
    font-size: 16px;
  }
  .crumb {
    padding: 20px 40px;
    font-size: 13px;
  }
  .content, #footer nav {
    width: 100%;
  }
  .one-column.content {
    padding: 40px;
  }

  .pagetitle {
    font-size: 36px;
  }

  /* header, footer */
  #header #logo {
    padding: 10px;
  }
  #header .jhs-logo {
    float: left;
    width: 25%;
    padding: 10px 10px 0 0;
  }
  #header .jhs-logo::after {
    display: block;
    content: "";
    clear: both;
  }
  #header #logomark {
    float: left;
    height: 36px;
    margin-right: 5px;
  }

  #g-nav {
    width: 75%;
    float: right;
  }
  #g-nav ul {
    padding: 5px 0;
  }
  #g-nav ul li {
    width: 14.2%;
    padding: 10px;
    border: none;
  }
  #g-nav ul li a {
    position: relative;
  }
  #g-nav ul li a:before, #g-nav ul li a:after {
    position: absolute;
    top: 2em;
    content: "";
    display: inline-block;
    width: 0;
    height: 2px;
    background: #fff;
    transition: .5s;
  }
  #g-nav ul li a:before {
    left: 50%;
  }
  #g-nav ul li a:after {
    right: 50%;
  }
  #g-nav ul li a:hover:before, #g-nav ul li a:hover:after {
    width: 40%;
  }
  #g-nav ul li a, #footer {
    font-size: 14px;
  }

  /* footer */
  #footer {
    font-size: 11px;
  }
  #footer nav .footer-left {
    float: left;
    width: 30%;
  }
  #footer nav #footer-nav1 {
    padding: 40px;
  }
  #footer nav .footer-support {
    padding: 40px;
    color: #fff;
    text-align: center;
  }
  #footer nav .footer-support p:first-child {
    margin-bottom: 8px !important;
    padding-bottom: 5px;
    text-align: left;
    border-bottom: 1px dashed #fff;
  }
  #footer nav .footer-support p:nth-child(2) {
    font-size: 11px;
  }
  #footer nav #footer-nav2 {
    float: left;
    width: 70%;
    padding: 40px;
  }

  /* お問合せフォーム: ラベルと入力欄を横並びに */
  .inquiry-form {
    width: 80%;
    margin: 0 auto;
  }
  .inquiry-form .column::after {
    display: block;
    content: "";
    clear: both;
  }
  .inquiry-form .column dt, .inquiry-form .column dd {
    float: left;
    margin: 0;
    padding: 20px 0;
    background-color: #fff;
  }
  .inquiry-form .column dt {
    width: 40%;
  }
  .inquiry-form .column dd {
    width: 60%;
  }
}

/*--- デスクトップ(1281px〜) ---*/
@media screen and (min-width: 1281px) {
  .crumb {
    font-size: 12px;
  }
  #header .jhs-logo {
    width: 20%;
    padding: 7px 10px 0 20px;
  }
  #header #logo {
    padding: 10px 0;
  }
  #header #logomark {
    height: 45px;
    margin-right: 10px;
  }
  .content, #footer nav {
    width: 1280px;
    margin: 0 auto;
    padding: 40px 0;
  }
  #g-nav ul li a, #footer {
    font-size: 16px;
  }
  #g-nav {
    width: 80%;
  }
  #footer .footer-left {
    width: 40%;
  }
  #footer #footer-nav1 {
    padding: 40px 40px 40px 0;
  }
  #footer #footer-nav2 {
    width: 60%;
    float: left;
    padding: 40px 0 40px 40px;
  }
}

/* ============================================================
 * ここから下は実サイトのCSSファイルには無い、本フォーム固有の追加スタイル
 * (リアルタイムバリデーション/送信状態表示/プライバシーポリシーモーダル用)
 * ============================================================ */
.hidden {
  display: none !important;
}
.inquiry-form .column dd input,
.inquiry-form .column dd textarea {
  border: 1px solid #ccc;
  border-radius: 3px;
}
.inquiry-form .column dd input.is-invalid,
.inquiry-form .column dd textarea.is-invalid {
  border-color: #ea5549;
}
.field-error {
  color: #ea5549;
  font-size: smaller;
  margin-top: .3em;
  min-height: 1.2em;
}
.inquiry-form input[type="submit"]:disabled {
  opacity: .5;
  cursor: not-allowed;
}
.inquiry-form input[type="submit"]:disabled:hover {
  color: #fff !important;
  background-color: #18669f;
  border: 1px solid #fff;
}

/* プライバシーポリシー モーダル */
.policy-link {
  background: none;
  border: none;
  padding: 0;
  margin: 0;
  font: inherit;
  color: #18669f;
  text-decoration: underline;
  cursor: pointer;
}
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .5);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 1000;
}
.modal-box {
  background: #fff;
  width: 100%;
  max-width: 640px;
  max-height: 85vh;
  overflow-y: auto;
  border-radius: 6px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .3);
}
.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  border-bottom: 1px solid #eee;
  position: sticky;
  top: 0;
  background: #fff;
}
.modal-header h2 {
  font-size: 18px;
  color: #18669f;
  padding: 0;
}
.modal-close {
  background: none;
  border: none;
  font-size: 26px;
  line-height: 1;
  color: #777;
  cursor: pointer;
  padding: 0 4px;
}
.modal-close:hover {
  color: #ea5549;
}
.modal-body {
  padding: 20px 24px;
  font-size: 14px;
  line-height: 1.8;
}
.modal-body h3 {
  font-size: 15px;
  color: #18669f;
  border-left: 4px solid #00a1e9;
  padding: 0 0 0 10px;
  margin: 1.5em 0 .6em;
}
.modal-body h3:first-child {
  margin-top: 0;
}
.modal-body p {
  padding-bottom: .8em;
}
.modal-body ul {
  padding: 0 0 .8em 1.5em;
  list-style: disc;
}
.modal-note {
  color: #777;
  font-size: 13px;
}
.modal-footer {
  padding: 12px 24px 20px;
  text-align: center;
  border-top: 1px solid #eee;
}
