.wf-sawarabimincho { font-family: "Sawarabi Mincho"; }

img {
    max-width:100%;
    height: auto;/*高さ自動*/
}
a {
    display:block;
    color: #666;
    text-decoration-line: none;
}
a:hover {
    color: #999;
}

.h1 {}
.h2 {
    font-size: 2.8rem;
    font-weight: bold;
}
.h3 {
    font-size: 2.4rem;
    font-weight: bold;
}
.h4 {
    font-size: 1.6rem;
    text-decoration: underline;
}

.table-oth1 {
  margin:auto;
}
.table-oth1 th {
  white-space: nowrap;
}
@media screen and (max-width: 768px){
  .table-oth1 {
    font-size:1.4rem;
  }
  .table-oth1 th {
  }
}

/*ヘッダー
-------------------------------------*/
.header {
    display: flex;
    flex-direction: row;
    padding: 2rem 0 0 0;
}
.header-box {
    margin-left: auto;
    margin-top: 8px;
}
.contact-button {
    padding: 1rem;
    border: 2px solid #000;
}
nav ul {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    list-style: none;
    margin: 1rem 0 0 0;
}
nav li {
    flex: 1 0 auto;
}
nav li a {
    text-decoration: none;
    text-align: center;
    width: 100%;
}
nav a:hover {
    background-color: #f7f7f7;
}
nav a {
    padding: 0.5rem;
}

@media screen and (min-width: 768px){
    /* PC時はMENUボタンを非表示 */
    #open,#close {
        display: none !important;
    }

    #navi {
        display: block !important;
    }
}

@media screen and (max-width: 768px){
    .header {
        flex-direction: column;
        margin-bottom: 10px;
    }
    .header #open,#close  {
        position: absolute;
        top: 20px;
        right: 12px;
    }
    nav ul {
        flex-direction: column;
    }
    .header li {
        padding-top: 0;
    }
    /* スマホ時はMENUボタンを表示 */
    #open,#close  {
        display: block;
        width: 50px;
        border: none;
        position: absolute;
        top: 20px;
        right: 12px;
    }
    /* スマホ時はメニューを非表示 */
    #navi {
        display: none;
    }
}

/*メイン画像
-------------------------------------*/
.mainimg {
  max-height: 400px;
  overflow: hidden;
}
.mainimg img {
  width: 100vw;
}
.mainimg h1 {
  position: absolute;
/*  bottom: 10px;
  right: 30px;*/
  top: 80%;
  font-size: 2.2rem;
}
.mainimg h2 {
  position: absolute;
  top: 10px;
  left: 30px;
  font-size: 9.0rem;
  color:#fff;
  text-shadow:
    0 0 0.05em #999,
    0 0 0.10em #999,
    0 0 0.15em #999,
    0 0 0.30em #999;
/*
  text-shadow:
    0 0 0.05em #969600,
    0 0 0.10em #969600,
    0 0 0.15em #969600,
    0 0 0.30em #969600;*/
  filter: saturate(80%);
  text-shadow: 0 0 0.3em rgba(0,0,0,1);/*
  text-shadow: 0 0 0.15em rgba(100,100,100,1);
  text-shadow: 0 0 0.1em rgba(200,200,0,1);*/
}

.box-mainimg {
  position: relative;
  width: 1200px;
  height: 100%;
  margin: auto;
}

/*メインコンテンツ
-------------------------------------*/
main {
    margin: 5rem 0 0 0;
}
section {
    margin: 5rem 0;
    padding: 3rem 0;
}
.gray-back {
    background-color: #f4f4f4;
}

#sec-2 {
  /*background: radial-gradient(rgb(169,214,255,0.6), rgb(0,80,159,0.6)), url('../img/sec2-bg.jpg');*/
  background: radial-gradient(rgb(255,255,255,0.6), rgb(255,255,255,0.6)), url('../img/sec2-bg.jpg');
  /*background-size: cover;*/
  background-repeat:  no-repeat;
  background-position: center;
}

.box-kind {
  border: 1px solid #ccc;
  padding: 2.0rem;
  box-sizing: border-box;
  background-color: #fff;
}

#btn-submit,
#btn-recruitment {
  width: 70%;
  padding-top: 2.0rem;
  padding-bottom: 2.0rem;
  height: auto;
  border-radius: 40px;
  font-size: 3.2rem;
  font-weight: bold;
  background-color: #004C98;
  color: #fff;
  margin: auto;
}
#btn-submit:hover,
#btn-recruitment:hover {
  background-color: #337fcb;
}
@media screen and (max-width: 768px){
  #btn-submit,
  #btn-recruitment {
    width: 100%;
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
    font-size:2.2rem;
  }
}


/*キャッチコピー
-------------------------------------*/
.catch {
    text-align: center;
}
.catch h2 {
    padding-bottom: 1rem;
}
.under {
    border-bottom: 0.4rem solid #000;
    padding:0 1rem 1rem 1rem;
}
.under2 {
    border-bottom: 0.1rem solid #000;
    padding:0 1rem 1rem 1rem;
}
.center {
    text-align: center;
    margin-bottom: 4rem;
}

/*申し込みの流れ
-------------------------------------*/
.flow.row {
    margin-bottom: 3rem;
}

/*フッター
-------------------------------------*/
footer {
    /*background-color: #f7f7f7;*/
    padding: 5rem 0;
}
footer .h5 {
    font-size: 2.2rem;
    border-bottom: 3px solid #ccc;
}

/*お問い合わせ
-------------------------------------*/
.contact-box {
    border: 1px solid #ccc;
    text-align: center;
    padding: 2rem 0;
}
.table {
    margin: 4rem 0;
}
.table th {
    width: 250px;
}

/*コピーライト
-------------------------------------*/
.copyright {
    text-align: center;
    padding: 1rem 0;
    background-color: #000;
    color: #fff;
    text-decoration: none;
}
.copyright a {
    color: #fff;
    text-decoration: none;
    display: inline;
}

/*ページトップへ戻るボタン
-------------------------------------*/
#pagetop {
    position: fixed;
    bottom: 15px;
    right: 15px;
}
#pagetop a {
    display: block;
    background: #000;
    color: #fff;
    width: 50px;
    padding: 10px 5px;
    text-align: center;
}
#pagetop a:hover {
    background: #666;
}

/* 幅768px以下の表示
-------------------------------------*/
@media screen and (max-width: 768px){
    /*ヘッダー
    -------------------------------------*/
    header h1 {
        font-size:2.6rem;
    }
    .header-box {
        display: none;
    }
    /*お問い合わせ
    -------------------------------------*/
    .table th {
        width: 100%;
        display: block;
    }
    .table td {
        display: block;
    }

    .mainimg {
      max-height: 170px;
    }
    .mainimg img {
        width: 100vw;
    }
    .mainimg h2 {
      top: 10px;
      left: 20px;
      font-size: 4.0rem;
    }

    .table-contact {
      margin-top: 0;
    }
    .table-contact td {
      padding: 5px 0 5px 0;
    }
    .table-contact th {
      padding: 15px 0 0 0;
      border-bottom: 0px;
    }

    input[type="email"],
    input[type="number"],
    input[type="search"],
    input[type="text"],
    input[type="tel"],
    input[type="url"],
    input[type="password"] {
      padding: 0;
    }
}


.mark-require {
    font-size:1.4rem;
    color: #e00;
    margin-left:0.5rem;
}