/*タマヤ株式会社*/
/* Base Layout
------------------------------------------------------------ */
html {
  overflow: auto;
}
* html { /* for IE6 */
  overflow: hidden;
  overflow-x: auto;
  height: 100%;
}
body {
  color: #666666;
  line-height: normal;
  font-family: 'Noto Serif JP', serif;
  font-weight: 400;
  position: relative;
  min-width: 280px;
  font-size: 16px;
  width: 100%;
  margin: 0;
  text-align: justify;
  box-sizing: border-box;
  overflow-x: hidden;
}
* html body { /* for IE6 */
  overflow-y: auto;
  height: 100%;
}
ul {
  list-style: none;
}
/* clearfix */
/*clearfix to objects*/
header:after, main:after, footer:after, section:after, div.widthsize:after, ul:after {
  content: ".";
  display: block;
  height: 0px;
  font-size: 0;
  clear: both;
  visibility: hidden;
}
body, div, dl, dt, dd, ul, li, h1, h2, h3, h4, h5, h6, pre, form, fieldset, input, legend, textarea, p, blockquote, th, td {
  margin: 0;
  padding: 0;
}
img {
  border: 0;
  vertical-align: bottom;
  width: 100%;
}
#topbutton {
  /* ▼表示位置を画面の右下に固定 */
  position: fixed; /* ←表示場所を固定 */
  bottom: 10px; /* ←下端からの距離 */
  right: 10px; /* ←右端からの距離 */
  /* ▼最初は非表示にしておく */
  display: none;
}
.center {
  text-align: center;
}
.t_right {
  text-align: right;
}
.mincho {
  font-family: 'Noto Serif JP', serif;
}
.gothic {
  font-family: 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', Meiryo, 'sans-serif';
}
.flex {
  display: flex;
  flex-wrap: wrap;
}
.fnt08 {
  font-size: 0.8rem;
}
.fnt09 {
  font-size: 0.9rem;
}
.fnt10 {
  font-size: 1rem;
}
.fnt11 {
  font-size: 1.1rem;
}
.fnt12 {
  font-size: 1.2rem;
}
.fnt15 {
  font-size: 1.5rem;
}
.mt1 {
  margin-top: 1rem;
}
.mt2 {
  margin-top: 2rem;
}
.mt3 {
  margin-top: 3rem;
}
.ml05 {
  margin-left: 0.5rem;
}
.ml1 {
  margin-left: 1rem;
}
.ml4 {
  margin-left: 4rem;
}
.ml7 {
  margin-left: 7rem;
}
.mr2 {
  margin-right: 2rem;
}
.txt_red {
  color: #e60012;
}


/*　Base Link 
------------------------------------------------------------ */
a:hover img {
  opacity: 0.7;
  filter: alpha(opacity=70);
}
a:link {
  color: #727171;
  text-decoration: none;
}
a:visited {
  color: #727171;
  text-decoration: none;
}
a:hover {
  color: #000000;
  text-decoration: none;
}
.formTable a:link, .formTable a:visited {
  text-decoration: underline;
  color: #000000;
}
p.resizeimage img {
  width: 100%;
}
/*---------------------------------------------------------fade scroll*/
.scroll-fade {
  opacity: 0;
  transform: translateY(20px);
  transition: all 1s;
}
/* 共通
------------------------------------------------------------ */
@media screen and (min-width:280px) {
  .widthsize {
    max-width: 766px;
    padding: 0 1em;
    box-sizing: border-box;
  }
  section {
    padding: 4rem 0 0;
    clear: both;
  }
  section:last-child {
    padding: 4rem 0 0;
  }
  .sp_none, .sp_none02 {
    display: none
  }
  /*---------------------------------------------------------header*/
  #top header {
    background-color: #0094da;
    background-size: 100%;
  }
  #top header .header_img_sp {
    width: 100%;
    margin: 0;
  }
  #top header .item_nav_box {
    width: 100%;
    padding: 0 20px 50px;
    box-sizing: border-box;
    justify-content: space-around;
    margin-top: -100px;
  }
  #top header .item_nav_box .item_btn {
    width: 46%;
    margin: 20px 2%;
    text-align: center;
  }
  #top header .item_nav_box .item_btn a {
    display: block;
    transition: all .3s ease-in-out;
    color: #fff;
    line-height: 2em;
  }
  #top header .item_nav_box .item_btn img {
    width: 100%;
    vertical-align: middle;
  }
  #top header .item_nav_box .item_btn a:hover {
    transform: scale(1.1);
  }
  #top header .item_nav_box .item_btn a:hover img {
    opacity: 1;
    filter: alpha(opacity=100);
  }
  #top header .item_nav_box .sdw_bl img {
    box-shadow: 6px 6px 12px rgba(0, 0, 0, 0.6);
    border-radius: 4px; /* お好みで角丸も */
  }
  #top header .item_nav_box .sdw_wh img {
    box-shadow: 6px 6px 10px rgba(255, 255, 255, 0.6);
    border-radius: 4px; /* お好みで角丸も */
  }
  .head_name {
    width: 140px;
    position: absolute;
    top: 180px;
    left: 10px;
  }
  .header_bar {
    width: 100%;
    background: #0094da;
    height: 70px;
  }
  .header_bar_name {
    padding: 5px;
    box-sizing: border-box;
    width: 100%;
  }
  .header_bar img {
    margin: auto;
    width: 100%;
    height: 65px;
  }
  /*------------------------------------------------footer*/
  footer {
    width: 100%;
  }
  .corporation_catch {
    color: #0094da;
    font-size: 20px;
    letter-spacing: 1px;
    line-height: 1.8em;
    width: 90%;
    margin: 4em auto 1em;
  }
  .f_under {
    width: 100%;
    background: #0094da;
    color: #fff;
    padding-top: 30px;
  }
  .f_sns_box {
    justify-content: center;
    margin-bottom: 50px;
  }
  .sns_lnk_btn {
    width: 36px;
    padding: 0 15px;
  }
  .sns_txt {
    font-weight: 500;
    text-align: center;
    letter-spacing: 2px;
    margin-top: 1rem;
  }
  .f_name {
    min-width: 200px;
    max-width: 300px;
    width: 90%;
    margin: auto;
  }
  .f_name_txt {
    text-align: center;
    font-size: 18px;
    margin-bottom: 1em;
  }
  .f_add {
    text-align: center;
    margin-bottom: 24px;
  }
  .f_pp {
    text-align: center;
    padding-bottom: 30px;
    width: 100%;
  }
  .pagetop {
    height: 40px;
    width: 40px;
    background: #0094da;
    border: solid 2px #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2;
  }
  .pagetop_arrow {
    height: 10px;
    width: 10px;
    border-top: 2px solid #fff;
    border-right: 2px solid #fff;
    transform: translateY(20%) rotate(-45deg);
  }
  /*---------------------------------------------------------top */
  #top h1 {
    margin: 50px auto;
    width: 90%;
    max-width: 300px;
  }
  #top .topics_box {
    width: 100%;
    margin: auto;
  }
  #top .topics_item {
    margin: 20px;
    border-bottom: dotted 1px;
    padding-bottom: 10px;
  }
  #top .topics_area_title {
    font-size: 26px;
    color: #727171;
    border-bottom: 2px solid;
    width: 100%;
    padding-bottom: 5px;
  }
  #top .topics_item {
    margin: 20px;
  }
  #top .topics_lnk {
    width: 150px;
    border-top: 1px solid;
    text-align: center;
    float: right;
    margin-right: 20px;
    margin-top: 20px;
  }
  #top .topi_date {
    font-size: .9rem;
  }
  /* 
------------------------------------------------------------advantage */
  .advantage_area {
    background-image: url("../img/advantage/main_sp_bg.jpg");
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    margin: 50px auto;
    width: 100%;
  }
  .advantage_box {
    margin-bottom: 80px;
    position: relative;
  }
  .advantage_pp {
    font-size: 12px;
    color: #1d2088;
  }
  .advantage_title {
    font-size: 22px;
    letter-spacing: 1px;
    margin-bottom: 10px;
  }
  .advantage_area .txt_b {
    font-size: 26px;
    color: #fff;
    background: #1d2088
  }
  .advantage_txt {
    line-height: 1.9em;
  }
  .strong_img {
    position: absolute;
    right: 0;
    width: 40px;
    top: 0;
  }
  /*---------------------------------------------------------infomation*/
  .infomation_box {
    width: 90%;
    border: 5px solid #0094da;
    border-radius: 20px;
    text-align: center;
    padding: 20px 30px;
    margin: auto;
    box-sizing: border-box;
    line-height: 2em;
  }
  .infomation_box .info_name {
    width: 120px;
    margin: auto;
  }
  .infomation_box .toiawase_btn {
    width: 40px;
    margin: 10px auto;
  }
  /* 
------------------------------------------------------------topics */
  #topics main section {
    padding-top: 0;
  }
  #topics h1 {
    font-weight: 300;
    text-align: center;
    color: #fff;
  }
  #topics .topi_box li {
    width: 100%;
    margin: 2rem 0;
    padding: 1rem;
    border-bottom: solid 1px #595757;
    font-family: 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', Meiryo, 'sans-serif';
    box-sizing: border-box;
  }
  #topics .topi_box li:first-child {
    border-bottom: none;
  }
  #topics .topics_title {
    font-size: 1.2rem;
  }
  #topics .topics_txt {
    margin: 1rem auto;
  }
  #topics .topics_img {
    width: 80%;
    max-width: 600px;
    margin: 1rem auto;
  }
  /*----------------------------------------------------------------------- toiawase & recruit-entry */
  #toiawase h1 {
    font-weight: 300;
    text-align: center;
    font-size: 28px;
    line-height: 1em;
    margin-bottom: 50px;
  }
  #toiawase .text_area, #recruit .text_area {
    line-height: 2em;
  }
  .formTable {
    margin: 1em auto 2em;
    width: 100%;
    text-align: left;
  }
  .formTable th, .formTable td {
    width: 100%;
    float: left;
    letter-spacing: 2px;
    font-weight: 300;
  }
  .formTable td {
    margin-bottom: 1em;
  }
  .formTable td.age_area {
    width: 100px;
    display: inline-flex;
    align-items: center;
  }
  .formTable input, .formTable textarea {
    line-height: 1.5em;
    padding: 5px 10px;
    margin: .5em auto 1em;
    width: 100%;
    box-sizing: border-box;
  }
  .formTable input[type="radio"] {
    width: 2em;
  }
  .formTable select {
    width: 100px;
    padding: 5px 1em;
  }
  .btn_box {
    margin: 3em auto 0;
    text-align: center;
    width: 100%;
    color: #fff;
    background: #0094da;
    padding: 10px 0;
    letter-spacing: 5px;
    font-size: 1.1em;
    border: 1px solid;
    display: inline-block;
    box-sizing: border-box;
  }
  .btn_box a:hover {
    display: inline-block;
    transition: all 0.5s ease;
    text-decoration: none;
    background: #fff;
    color: #0094da;
  }
  .lnk_policy a {
    text-decoration: underline;
  }
  .btn_reset {
    margin: 2em auto 2em;
    text-align: center;
    width: 80%;
    color: #fff;
    background: #999;
    padding: 10px 0;
    letter-spacing: 5px;
    font-size: 1.2em;
    border: 1px solid #999;
    display: inline-block;
    box-sizing: border-box;
  }
  .btn_reset a {}
  .btn_reset a:hover {
    display: inline-block;
    transition: all 0.5s ease;
    text-decoration: none;
    background: #fff;
  }
  .err input {
    width: auto;
    padding: 10px 50px;
  }
  .err_messe {
    text-align: center;
  }
}
/* 
------------------------------------------------------------ */
@media screen and (min-width:767px) {
  section {
    padding-top: 8rem;
    clear: both;
  }
  .widthsize {
    max-width: 979px;
    padding: 1rem 2rem;
  }
  .sp_none02 {
    display: block
  }
  .pc_none02 {
    display: none;
  }
  /*---------------------------------------------------------footer*/
  .corporation_catch {
    font-size: 22px;
  }
  /*.f_sns_box {
    width: 50%;
     max-width: 400px;
  }*/
  /*.f_name_box {
    width: 50%;
    margin-left: 50%;
  }
  .f_name {
    font-size: 70px;
  }*/
  /*---------------------------------------------------------header*/
  .head_name {
    width: 200px;
    left: 100px;
    top: 240px
  }
  #top header .item_nav_box .item_btn {
    width: 29%;
  }
  .header_bar {
    height: 80px;
    position: fixed;
    z-index: 2000;
  }
  .header_bar img {
    margin: auto;
    width: auto;
    height: 70px;
  }
  .header_img_pc {
    padding-top: 80px;
  }
  /*------------------------------------------------------------advantage */
  .advantage_area {
    background-image: url("../img/advantage/main_pc_bg.jpg");
  }
  .advantage_box02 {
    width: 80%;
    margin-left: 20%;
  }
  .advantage_box {
    margin-bottom: 150px;
  }
  /*---------------------------------------------------------infomation*/
  .infomation_box {
    width: 100%;
  }
  .infomation_box .tel {
    margin-right: 40px;
  }
}
@media screen and (min-width:980px) {
  .widthsize {
    max-width: 980px;
    margin-right: auto;
    margin-left: auto;
    position: relative;
  }
  .sp_none {
    display: block;
  }
  .pc_none {
    display: none;
  }
  /*---------------------------------------------------------header*/
  /*  .head_bar {
    z-index: 200;
    position: absolute;
    top: 0;
  }
*/
  .head_name {
    width: 350px;
    top: 50px;
    left: 100px;
  }
  #top header {
    background-image: url("../img/top/header_pc_bg.webp");
    background-size: cover;
    background-position-x: center;
    background-position-y: top;
  }
  #top header .item_nav_box {
    width: 960px;
    margin: auto;
    padding-top: 200px;
  }
  #top header .item_nav_box .item_btn {
    width: 20%;
    margin: 10px 1%;
  }
  .header_bar {
    height: 80px;
  }
  .header_bar .flex {
    max-width: 980px;
    margin-right: auto;
    margin-left: auto;
  }
  .header_bar_name {
    width: 20%;
    max-width: 200px;
  }
  .header_bar_concept {
    width: 60%;
    text-align: center;
    font-size: 26px;
    letter-spacing: 2px;
    color: #fff;
    line-height: 1.2rem;
    padding-top: 28px;
  }
  .header_bar_concept_en {
    font-size: 10px;
    letter-spacing: normal;
  }
  /*-------------------------------------------------- // fixed_nav // -----*/
  .nav-fixed {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 100;
    width: 100%;
    background-color: #fff;
  }
  /*---------------------------------------------------------footer*/
  .corporation_catch {
    text-align: center;
  }
  /*------------------------------------------------------------advantage */
  .advantage_box {
    margin-bottom: 200px;
  }
}