/*! HTML5 Boilerplate v8.0.0 | MIT License | https://html5boilerplate.com/ */

/* main.css 2.1.0 | MIT License | https://github.com/h5bp/main.css#readme */
/*
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

html {
  color: #4B5B73;
  font-size: 1em;
  line-height: 1.4;
}

/*
 * Remove text-shadow in selection highlight:
 * https://twitter.com/miketaylr/status/12228805301
 *
 * Vendor-prefixed and regular ::selection selectors cannot be combined:
 * https://stackoverflow.com/a/16982510/7133471
 *
 * Customize the background color to match your design.
 */

::-moz-selection {
  background: #b3d4fc;
  text-shadow: none;
}

::selection {
  background: #b3d4fc;
  text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
  display: block;
  height: 1px;
  border: 0;
  border-top: 1px solid #ccc;
  margin: 1em 0;
  padding: 0;
}

/*
 * Remove the gap between audio, canvas, iframes,
 * images, videos and the bottom of their containers:
 * https://github.com/h5bp/html5-boilerplate/issues/440
 */

audio,
canvas,
iframe,
img,
svg,
video {
  vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
  border: 0;
  margin: 0;
  padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
  resize: vertical;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */
:root{

  --logo-font: 'Courier Prime', monospace;
  --menu-font: 'Carrois Gothic SC', sans-serif;
  --top-phrase-font: 'Carrois Gothic', sans-serif;
  --text-font-jp: 'Sawarabi Gothic', sans-serif;
  --text-font: 'Roboto', sans-serif;

  --main-color: #6b9eec;
  --white: #fff;
  --dark:  #4b5b73;
  --gray1: #f0f6ff;
  --bg-color1: var(--white);
  --bg-color2: var(--gray1);
  --bg-color3: var(--dark);
  --top-cover: #7ca6e6;
  --text-color1: var(--dark);
  --text-color2: var(--white);
  --button-inactive: #C3D1E6;
}

.material-icons {
    font-family: 'Material Icons';
    font-weight: normal;
    font-style: normal;
    font-size: 24px;  /* Preferred icon size */
    display: inline-block;
    line-height: 1;
    text-transform: none;
    letter-spacing: normal;
    word-wrap: normal;
    white-space: nowrap;
    direction: ltr;
  
    /* Support for all WebKit browsers. */
    -webkit-font-smoothing: antialiased;
    /* Support for Safari and Chrome. */
    text-rendering: optimizeLegibility;
  
    /* Support for Firefox. */
    -moz-osx-font-smoothing: grayscale;
  
    /* Support for IE. */
    font-feature-settings: 'liga';
}
.material-icons-outlined {
  font-family: 'Material Icons Outlined';
  font-weight: normal;
  font-style: normal;
  font-size: 24px;
  line-height: 1;
  letter-spacing: normal;
  text-transform: none;
  display: inline-block;
  white-space: nowrap;
  word-wrap: normal;
  direction: ltr;
  -webkit-font-feature-settings: 'liga';
  -webkit-font-smoothing: antialiased;
}

@media only screen {

#logo{
  position: fixed;
  top: 10px;
  padding: 5px 5px 0;
  z-index: 3;
  transition: all 0.3s;
  font-family: var(--logo-font);
  font-size: 1.5rem;
  font-weight: normal;
  line-height: 1em;
  margin: 10px 24px;
  background: var(--main-color);
  color: var(--white);
  
}
#logo a{
  color: var(--white);
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  text-align: center;
  text-decoration: none;
  transition: all 0.3s;

}

#logo-2{
  position: fixed;
  top: 10px;
  padding: 5px 5px 0;
  z-index: 3;
  transition: all 0.3s;
  font-family: var(--logo-font);
  font-size: 1.5rem;
  font-weight: normal;
  line-height: 1em;
  margin: 10px 24px;
  background: var(--main-color);
  color: var(--white);
  
}
#logo-2 a{
  color: var(--white);
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  text-align: center;
  text-decoration: none;
  transition: all 0.3s;

}


.menu-btn {
  position: fixed;
  top: 10px;
  right: 10px;
  display: flex;
  height: 48px;
  width: 48px;
  justify-content: center;
  align-items: center;
  z-index: 11;
  transition: all 0.3s;
  color: var(--white);
  
}
.dark{
  color: var(--dark);
}

.menu-btn span::before{
  content: "menu";
}
#menu-btn-check{
  display: none;
}
#menu-btn-check:checked ~ .menu-btn span::before{
  content: "close";
  color: var(--white);
}


#menubar{
  width: 100%;
  height: 100%;
  position: fixed;
  top: -100%;
  left: 0;
  z-index: 10;
  background-color: var(--dark);
  transition: all 0.5s;
}
#menubar.dark{
  background-color: rgba(255,255,255,0.8);
}

#menubar ul{
  padding: 70px 24px 0;
  list-style: none;
}
#menubar ul li {
  font-family: var(--menu-font);
  font-size: 1.25rem;
  color: var(--white);
}
#menubar ul li a {
  display: block;
  width: 100%;
  box-sizing: border-box;
  color: var(--white);
  text-decoration: none;
  padding: 9px 15px 10px 0;
  position: relative;
}
#menu-btn-check:checked ~ #menubar{
  top: 0;
}




#contents{
  scroll-snap-type: y mandatory;
}

section{
  scroll-snap-align: start;
  font-size: 0.9rem;
  padding: 60px 24px 80px 24px;

}
section:nth-child(odd){
    background-color: var(--bg-color2);  
}

h2{
  font-family: var(--menu-font);
  font-size: 1.5rem;
  font-weight: normal;
  width: calc(50% - 12px);
  padding-bottom: 40px;
}
h2 span{
  display: block;
  font-family: var(--text-font-jp);
  font-size: 0.9rem;
  
  border-top: 1px solid var(--dark);
  margin-top: -0.3em;
  
}
h3{
  font-family: var(--text-font-jp);
  font-size: 0.9rem;
  font-weight: normal;
}


.scroll-tag{
  display: block;
  float: right;
  position: -webkit-sticky;
  position: sticky;
  top: 100%;
  -ms-writing-mode: tb-rl;
  writing-mode: vertical-rl;
  -webkit-text-orientation: sideways;
  text-orientation: sideways;
  font-family: var(--text-font);
  line-height: 2.5;
  font-size: 0.8rem;
  margin: 0 calc(50% - 50vw) -80px;
  width: 24px;
  height: 64px;
  border-left: var(--white) solid 1px;
}
.section-tag{
  display: block;
  float: right;
  position: -webkit-sticky;
  position: sticky;
  top: 60px;
  -ms-writing-mode: tb-rl;
  writing-mode: vertical-rl;
  -webkit-text-orientation: sideways;
  text-orientation: sideways;
  font-family: var(--text-font);
  line-height: 2.5;
  font-size: 0.8rem;
  margin: 0 calc(50% - 50vw);
  width: 24px;
  height: 64px;
  border-left: var(--dark) solid 1px;
  
}
.section-content{
  /* padding-left: calc(25% + 6px);
  padding-bottom: 40px; */
  font-family: var(--text-font-jp);
}

.form-content{
  /* padding-left: calc(25% + 6px);
  padding-bottom: 40px; */
  font-family: var(--text-font-jp);
  /* width: fit-content; */
}

#home{
  background-image: url("../img/top_image.jpg");
  background-size: cover;
  background-position: center center;
  color: var(--white);
  height: 330px;
  position: relative;
  z-index: 0;
  
}
#home::before {
  content: "";
  background: var(--top-cover);
  opacity: 0.75;
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: -1;
}


#home h2{
  font-family: var(--logo-font);
  
}
#home p{
  font-family: var(--top-phrase-font);
  font-size: 1rem;
  text-align: center;
  padding-top: 60px;
}


.services-list{
  display: flex;
  justify-content: space-between;
  list-style: none;
  text-align: center;
  padding-left: 0;
  margin: 0 -12px;

}
.services-list li{
  width: 33.333%;
  padding: 0 12px;
}
.services-list .service-icon{
  display: block;
  background: var(--main-color);
  border-radius: 2px;
  color: var(--white);
  font-size: 1.75rem;
  line-height: 2.5em;
  
}

.services-list li p{
  font-size: 0.75rem;
}

.company-list{
  display: flex;
  justify-content: space-between;
  align-items: center;
  list-style: none;
  padding-left: 0;
  margin: 0 -12px;

}
.company-list li{
  width: 50%;
  padding: 0 12px;

}
.company-list li img{
  width: 100%;
  max-width: 250px;
}

#credo ul{
  list-style-type: none;
  padding-left: 0;
}
#credo ul li{
  display: flex;
  padding-bottom: 1em;
}
#credo .list-mark{
  color: var(--main-color);
  font-size: 1.25rem;
  padding-right: 12px;
}
#credo p{
  padding-bottom: 1em;
}

#about img{
  width: 100%;
  object-fit: cover;
  padding: 0 0 40px;
}
#about dl{
  font-size: 0.75rem;
  margin: 0;
}

#about dl div{
  display: flex;
  padding-bottom: 1em;
}
#about dt{
  width: 25%;
  margin-right: 0.5em;
}
#about dd{
  width: 75%;
  margin: 0;
  
}
#about .president dd{
  background-image: url("../img/name.svg");
  background-repeat: no-repeat;
  background-size: contain;
}
#recruit p{
  text-align: center;
}
#recruit p span{
  display: inline-block;
}
#recruit .inactive-button{
  display: block;
  color: var(--white);
  background: var(--button-inactive);
  width: 100%;
  border-radius: 20px;
  text-align: center;
  font-family: var(--text-font);
  line-height: 3em;
}

#page-top{
  display: none;
}
.nav-fix-pos-pagetop{
  position: fixed;
  right: 24px;
  bottom: 10px;
  z-index: 2;
  
}



.nav-fix-pos-pagetop a{
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--dark);
  width: 48px;
  height: 48px;
  text-align: center;
  text-decoration: none;
  transition: all 0.3s;
  
  border: 2px solid var(--dark);
  border-radius: 30px;
}
.nav-fix-pos-pagetop a:hover{
  background: var(--gray1);
  color: var(--main-color);
  border: 2px solid var(--main-color);
}

footer{
  background-color: var(--dark);
  color: var(--white);
  font-family: var(--text-font);
  text-align: center;
  padding: 20px;

}

.effect-fade {
  opacity : 0;
  transform : translate(0, 45px);
  transition : all 300ms;
}
  
.effect-fade.effect-scroll {
  opacity : 1;
  
}


.main-theme {
  font-size: 40px;
  margin: auto;
  width: fit-content;
  font-weight: bold;
  border-bottom: 10px dotted #6b9eec;
}

.annotation {
  margin: 40px auto;
  width: fit-content;
}

img.emp {
  width: 140px;
  padding-top: 40px;
}

.emp-salary {
  background-color: #cbd9ef;
  color: #4b5b73;
  border: 6px dotted #6b9eec;
  font-weight: bold;
  width: 300px;
  font-size: larger;
  padding: 30px 30px;
  border-radius: 29px;
  display: inline-flex;
}

.salaly-image {
  width: fit-content;
  margin: 40px auto;
}

.addtext {
  width: fit-content;
  font-size: larger;
  margin-top: 25px;
  margin-left: 145px;
}











.tab_item {
  width: calc(100% / 2);
  font-size: xx-large;
  padding: 35px 0px;
  border-bottom: 3px solid #6b9eec ;
  background-color: #ececec;
  text-align: center;
  color: #6b9eec ;
  display: block;
  float: left;
  text-align: center;
  font-weight: bold;
  transition: all 0.2s ease;
  height: 45px;
}
.tab_item:hover {
  opacity: 0.75;
}
.tab_item2 {
  width: calc(100% / 2);
  font-size: xx-large;
  padding: 35px 0px;
  border-bottom: 3px solid #6b9eec ;
  background-color: #ececec;
  text-align: center;
  color: #6b9eec ;
  display: block;
  float: left;
  text-align: center;
  font-weight: bold;
  transition: all 0.2s ease;
}
.tab_item2:hover {
  opacity: 0.75;
}

input[name="tab_item"] {
  display: none;
}
input[name="tab_item2"] {
  display: none;
}
.tab_content {
  display: none;
  padding: 1em 1em 0;
  clear: both;
  overflow: hidden;
}
#tab1:checked ~ #tab1_content{
  display: block;
  width: 97%;
}

#tab2:checked ~ #tab2_content{
  display: block;
  width: 97%;
  margin-bottom: 281px;
}
.tab_container input:checked + .tab_item {
  background-color: #6b9eec ;
  color: #fff;
}
.tab_container input:checked + .tab_item2 {
  background-color: #6b9eec ;
  color: #fff;
}

table.tab-table{
  width: 100%;
    /* display: table;
    border-collapse: separate;
    box-sizing: border-box;
    text-indent: initial;
    unicode-bidi: isolate;
    border-spacing: 2px;
    border-color: #6b9eec; */
}

td.tab-td {
  border-top: 2px dotted #6b9eec;
  border-left: none;
  border-right: none;
  border-bottom: none;
  width: 25%;
}
td.tab-td2 {
  border-top: 2px dotted #6b9eec;
  border-left: none;
  border-right: none;
  border-bottom: none;
  width: 60%;
}





body{
  overflow-x: hidden;
  overscroll-behavior: none;
  width: 100%;
  max-width: 100%;
}
















.button {
  background: #6b9eec;
  color: #fff;
  padding: 0 2em;
  border: 0;
  height: 70px;
  font-size: 25px;
  border-radius: 5px;
  font-weight: 900;
  /* position: relative;
  left: 200px;
  top: 30px; */
  font-family: 'Roboto', sans-serif;
  padding: 20px;
  margin-top: 10px;
  white-space: nowrap;
}

.button:disabled {
  background-color: gray;
  cursor: not-allowed;
}

#button:disabled:hover {
  background-color: gray;
  cursor: not-allowed;
}

#button2:disabled:hover {
  background-color: gray;
  cursor: not-allowed;
}

.button:hover {
  background: lightcoral;
  cursor: pointer;
}

.back-button {
  background: #6b9eec;
  color: #fff;
  padding: 0px 27px;
  border: 0;
  height: 70px;
  font-size: 16px;
  border-radius: 5px;
  font-weight: 900;
  /* position: relative;
  left: 200px;
  top: 30px; */
  font-family: 'Roboto', sans-serif;
  margin-top: 10px;
  white-space: nowrap;
}

.back-button:hover {
  background: lightcoral;
  cursor: pointer;
}

.back-button-position{
  margin: auto;
  width: fit-content;
}

.back-button2 {
  background: #6b9eec;
  color: #fff;
  padding: 0px 27px;
  border: 0;
  height: 70px;
  font-size: 16px;
  border-radius: 5px;
  font-weight: 900;
  /* position: relative;
  left: 200px;
  top: 30px; */
  font-family: 'Roboto', sans-serif;
  margin-top: 10px;
  white-space: nowrap;
}

.back-button2:hover {
  background: lightcoral;
  cursor: pointer;
}



.back{
  margin: auto;
  width: fit-content;
  margin-bottom: -2%;
}

h2.title.is-6 {
  white-space: nowrap;
  padding-bottom: 0px;
}

p.intro-text {
  margin-left: 125px;
}




.modal {
  display: none;
  position: fixed;
  z-index: 1;
  left: 0;
  top: 0;
  height: 100%;
  width: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.5);
}

.modal-content {
  background-color: #f4f4f4;
  margin: 10% auto;
  width: 50%;
  box-shadow: 0 5px 8px 0 rgba(0,0,0,0.2),0 7px 20px 0 rgba(0,0,0,0.17);
  animation-name: modalopen;
  animation-duration: 1s;
}

@keyframes modalopen {
  from {opacity: 0}
  to {opacity: 1}
}

.modal-header h1 {
  margin: 1rem 0;
  color: white;
}

.modal-header {
  background: #6b9eec;
  padding: 3px 15px;
  display: flex;
  justify-content: space-between;
}

.modalClose {
  font-size: 2rem;
}

.modalClose2 {
  font-size: 2rem;
}

.modalClose:hover {
  cursor: pointer;
}

.modal-body {
  padding: 10px 20px;
  color: black;
  font-size: 20px;
}

.inquiry-list{
  /* padding-left:20% ; */

}

.application-list{
  /* padding-left:20% ; */
}
.section-content2 {
  margin: auto;
  width: fit-content;
}

.inquiry-list .form-block {
  margin: 20px auto 0px;
  padding: 0px;
}

.inquiry-list .kome {
  color: #FF0000;
  font-size: 15px;
}

.privacy-list{
  
}



.alert{
  color: red;
  display: block;
  font-size: 15px;
}

.inquiry-list .form-block th {
  font-size: 1.0em;
  color: #fff;
  font-weight: normal;
  background: #6b9eec;
  vertical-align: top;
  margin: 0px;
  padding: 15px 10px 40px 15px;
  /* width: 290px; */
  width: 270px;
  border-color: rgb(36, 36, 36);
}
caption, th {
  text-align: left;
}

th {
  font-weight: bold;
  text-align: -internal-center;
}

.inquiry-list .form-block table {
  background: #ffffff;
  margin: 0px;
  padding: 0px;
  width: 100%;
}

.form-list{
  margin-left: 15%;
  /* padding-left:170px ; */
  
  /* width: max-content; */
}

.form-list2{
  margin-left: 15%;
  /* padding-left:170px ; */
  
  /* width: max-content; */
}




.form-list .form-block {
  margin: 20px auto 0px;
  padding: 0px;
}

/* -------------------------------------------------- form-list*/

.form-block .kome {
  color: #FF0000;
  font-size: 15px;
}

.form-block th {
  font-size: 1.0em;
  color: #fff;
  font-weight: normal;
  background: #6b9eec;
  vertical-align: top;
  margin: 0px;
  padding: 15px 10px 40px 15px;
  /* width: 290px; */
  width: 35%;
  border-color: rgb(36, 36, 36);
  white-space: nowrap;
}
 .form-block table {
  background: #ffffff;
  margin: 0px;
  padding: 0px;
  width: 100%;
}

.form-block{
  /* padding-left:170px ; */
  margin: auto;
  width: 45%;
}
.form-block {
  margin: 20px auto 0px;
  padding: 0px;
}

.form-block .kome {
  color: #FF0000;
  font-size: 15px;
}

.form-block th {
  font-size: 1.0em;
  color: #fff;
  font-weight: normal;
  background: #6b9eec;
  vertical-align: top;
  margin: 0px;
  padding: 15px 10px 40px 15px;
  /* width: 290px; */
  width: 25%;
  border-color: rgb(36, 36, 36);
}
.form-block table {
  background: #ffffff;
  margin: 0px;
  padding: 0px;
  /* width: 100%; */
}


tbody {
  display: table-row-group;
  vertical-align: middle;
  border-color: inherit;
  
}

table {
  display: table;
  border-collapse: separate;
  box-sizing: border-box;
  text-indent: initial;
  border-spacing: 2px;
  border-color: rgb(36, 36, 36);
  -webkit-border-horizontal-spacing: 1px;
  -webkit-border-vertical-spacing: 1px;
}


  


td,th {
  display: table-cell;
  vertical-align: inherit;
  border: solid 1px rgb(36, 36, 36);
  padding: 10px 20px;
  width: 60%;
}

.field {
  border-color: rgb(36, 36, 36);
  /* padding-right: 170px; */
  margin: auto;
  width: 100%;
}





.input {
  width: 100%;
  font-size: 16px;
  line-height: 1.15;
}

.textarea {
  width: 100%;
  font-size: 100%;
  line-height: 1.15;
  margin: 0;
  height: 110px;
}

#submit {
  background: #6b9eec;
  color: #fff;
  border: 0;
  border-radius: 5px;
  font-weight: 90;
  position: relative;
  font-family: 'Roboto', sans-serif;
  padding: 5px 10px;
}

.nextpage{
  color: #f4f4f4;
  text-decoration: none;
}

.nextpage2{
  color: #f4f4f4;
}

.nextpage3{
  color: #4b5b73;
  padding-left: 1em;
}

.nextpage2:hover{
  color: gray;
}

.nextpage3:hover{
  color: red;
}

.checkbox{
    margin: auto;
    margin-top: 10px;
    border: 2px solid gray;
    padding: 15px;
    border-radius: 10px;
    width: fit-content;
}

#submit:hover {
  background: lightcoral;
  cursor: pointer;
}


#cansel {
  background: white;
  color: rgb(92, 92, 92);
  border-color: gray;
  border-radius: 5px;
  font-weight: 90;
  position: relative;
  font-family: 'Roboto', sans-serif;
  padding: 5px 10px;
}

#cansel:hover {
  color: white;
  background: lightcoral;
  cursor: pointer;
}

#submit2 {
  background: #6b9eec;
  color: #fff;
  border: 0;
  border-radius: 5px;
  font-weight: 90;
  position: relative;
  font-family: 'Roboto', sans-serif;
  padding: 5px 10px;
}

#submit2:hover {
  background: lightcoral;
  cursor: pointer;
}

#cansel2 {
  background: white;
  color: rgb(92, 92, 92);
  border-color: gray;
  border-radius: 5px;
  font-weight: 90;
  position: relative;
  font-family: 'Roboto', sans-serif;
  padding: 5px 10px;
}

#cansel2:hover {
  background: lightcoral;
  cursor: pointer;
}

.button-position {
    margin-bottom: 20px;
    text-align: center;
    font-size: 28px;
    margin: auto;
    width: fit-content;
}

#zipSearchBtn{
  font-size: 20px;
  white-space: nowrap;

}

#postcode{
  width: 100%;

}

.zipSearchBtn{
  background: #6b9eec;
  color: #fff;
  border: 0;
  font-family: 'Roboto', sans-serif;
  border-radius: 5px;
}

.zipSearchBtn:hover{
  background: lightcoral;
  color: #fff;
  border: 0;
  font-family: 'Roboto', sans-serif;
  border-radius: 5px;
}

.postMessage{
  display: inline;
  color: red;
}

.recruit-main {
  width: 55%;
  margin: auto;
  margin-bottom: 190px;
}

.tab_container {
  margin: 100px auto;
  width: 100%;
}

.end-text {
  width: fit-content;
  margin: auto;
  white-space: nowrap;
  font-size: larger;
  margin-top: 100px;
}
p.c {
  margin: 30px 0;
}

/* section#company::before{
  content:'';
  display: block;
  padding-top: 120px;
  margin-top: -120px;
} */
/* section#services{
  padding-top: 60px;
  margin-top: -60px;
}
section#credo{
  padding-top: 60px;
  margin-top: -60px;
}
section#about{
  padding-top: 60px;
  margin-top: -60px;
}
section#recruit{
  padding-top: 60px;
  margin-top: -60px;
}
section#inquiry{
  padding-top: 60px;
  margin-top: -60px;
}
section#partner{
  padding-top: 60px;
  margin-top: -60px;
} */

}


@media only screen and (min-width: 1161px) {
  #logo{
    font-size: 1.9rem;
    margin: 20px 60px;
    z-index: 11;
  }

  #logo-2{
    font-size: 1.9rem;
    margin: 15px 60px;
    z-index: 11;
  }

  .menu-btn{
    display: none;
  }
  #menubar{
    
    position: fixed;
    top: 0;
    right: 0;
    background: none;
    height: auto;
  }


  
  #menubar ul{
    display: flex;
    justify-content: flex-end;
    padding: 20px 60px 0 0;
    margin-left: -1em;
    margin-right: -1em;
  }
  #menubar ul li a {
    width: auto;
    box-sizing: border-box;
    color: var(--white);
    padding: 0 1em;
    
  }
  #menubar ul li a:hover{
    color: var(--dark);
  }

  #menubar.dark ul li a {
    color: var(--dark);
    
  }
  #menubar.dark ul li a:hover{
    color: var(--main-color);
  }
  #menubar.dark ul li.current a{
    color: var(--main-color);
  }


  section{
    font-size: 1.2rem;
    padding: 80px 60px 120px 60px;
  }

  h2{
    
    font-size: 1.9rem;
    width: calc(25% - 30px);
    padding-bottom: 60px;
  }
  h2 span{
    font-size: 1.2rem;
    margin-top: -0.3em;
  }
  h3{
    font-size: 1.2rem;
  }
  
  
  .scroll-tag{
    line-height: 6;
    font-size: 1rem;
    margin: 0 calc(50% - 50vw) -120px;
    width: 60px;
    height: 120px;

  }
  .section-tag{
    top: 80px;
    
    line-height: 6;
    font-size: 1rem;
    margin: 0 calc(50% - 50vw);
    width: 60px;
    height: 120px;
    
  }
  .section-content{
    /* padding-left: calc(25% + 10px);
    padding-bottom: 60px; */
    width: 60%;
    margin: auto;
  }

  .section-content2{
    /* padding-left: calc(25% + 10px);
    padding-bottom: 60px; */
    width: fit-content;
    margin: auto;
    font-family: var(--text-font-jp);
  }

  .form-content{
    /* margin: auto; */
    /* padding-left: calc(25% + 10px);
    padding-bottom: 60px; */
  }

  .page-content{
    padding: 0px 105px;
    /* padding-bottom: 60px; */
  }

  h2.title.is-5{
    white-space: nowrap;
  }

  .indent{
    
    padding-left: 25px;
  }
  

  
  #home{
    height: calc(100vh - 200px);
    max-height: 400px;
  }
  #home h2{
    margin-top: -50px;
  }

  #home p{
    font-size: 2rem;
    padding-top:100px;
  }
  
  
  .services-list{
    margin-left: -20px;
    margin-right: -20px;
  }
  .services-list li{
    padding: 0 20px;
  }
  .services-list .service-icon{
    border-radius: 4px;
    font-size: 3rem;
    line-height: 2em;
  }
  .services-list li p{
    font-size: 1.2rem;
  }


  .company-list{
    margin: 0 -30px;
  }
  .company-list li{
    padding: 0 30px;
  }
 

  #credo ul li{
    
  }
  #credo .list-mark{
    font-size: 1.5rem;
    line-height: 1.2;
    padding-right: 1em;
  }
  #credo p{
    padding-bottom: 1em;
  }
  
  #about .section-content{
    display: flex;
    vertical-align: top;
  }

  #about .section-content2{
    display: flex;
    vertical-align: top;
  }

  #about .form-content{
    display: flex;
    vertical-align: top;
  }

  #about img{
    width: 50%;
    height: 300px;
    padding-bottom: 0;
    margin-right: 40px;
  }
  #about dl{
    width: 50%;
    font-size: 1rem;
  }
  #about dl div{
    width: 100%;
    white-space: nowrap;
  }
  #about dt{
    width: 32%;
    
  }
  #about dd{
    width: 75%;
  }
  #about .president dd{

  }

  #recruit .inactive-button{
    width: 75%;
    border-radius: 40px;
    margin: 0 auto;
  }

  .nav-fix-pos-pagetop{
    position: fixed;
    right: 60px;
    bottom: 20px;
    z-index: 2;
    
  }

  .movile{
    margin: auto;
    width: fit-content;
  }

  

  section#services {
    height: 460px;
}

section#recruit {
  height: 390px;
}

section#partner {
  height: 490px;
}

section#inquiry {
  height: 390px;
}

section#recruit .section-content{
  /* margin-top: 5%; */
}


  

 } 

 @media only screen and (min-width: 1500px){
  h2 {
    font-size: 1.9rem;
    width: calc(22% - 30px);
    padding-bottom: 60px;
    margin: 0 22%;
}
h3 {
  font-family: var(--text-font-jp);
  font-size: 0.9rem;
  font-weight: normal;
  margin: 1% 25%;
}
.section-tag {
  top: 80px;
  line-height: 6;
  font-size: 1rem;
  margin: 0 calc(74% - 50vw);
  width: 60px;
  height: 120px;
  height: 119px;
}
.company-list {
  margin: 0px 10%;
}
.scroll-tag {
  top: 80px;
  line-height: 6;
  font-size: 1rem;
  margin: 110px calc(74% - 50vw) 6px;
  width: 60px;
  height: 127px;
}


#home h2 {
  margin: -61px -7%;
  margin-bottom: 48px;
  padding: 0%;
  text-align: center;
  font-size: 37px;
}


#menubar ul {
  display: flex;
  justify-content: flex-end;
  padding: 25px;
  margin: auto;
  width: fit-content;
}

#home p {
  font-size: 2rem;
  padding-top: 167px;
}


.nav-fix-pos-pagetop {
  position: fixed;
  right: 26%;
  bottom: 20px;
  z-index: 2;
}

#recruit p {
  text-align: center;
  margin: 17px 18%;
}

#privacy h3 {
  font-family: var(--text-font-jp);
  font-size: 22px;
  font-weight: normal;
  margin: 1% 4%;
}


.page-content{
  padding: 0px 28%;
  /* padding-bottom: 60px; */
}

#privacy h2.title.is-5{
  white-space: nowrap;
  margin: 0;
}

.indent{
  
  padding-left: 60px;
}

#terms h3 {
  font-family: var(--text-font-jp);
  font-size: 22px;
  font-weight: normal;
  margin: 1% 4%;
}

#terms h2.title.is-4{
  white-space: nowrap;
  margin: 0;
}

#recruit-page h2.title.is-6{
  white-space: nowrap;
  margin: 0;
}

#inquiry_form h2.title.is-5 {
  white-space: nowrap;
  margin: 0px 15%;
}

#inquiry_form p.c {
  margin: 0px 16%;
}

#application h2.title.is-5 {
  white-space: nowrap;
  margin: 0px 15%;
}
#application p.c {
  margin: 0px 16%;
}
section#recruit-page {
  padding-top: 104px;
}
section#inquiry_form {
  padding-top: 104px;
}
section#application {
  padding-top: 104px;
}
section#privacy {
  padding-top: 104px;
}
section#terms {
  padding-top: 104px;
}

  #about dt{
    width: 20%;
    
  }
  .section-content{
    width: 50%;
  }

}

 @media only screen and (max-width:1160px){

  .movile{
    margin: auto;
    width: fit-content;
  }
 

#menubar.dark {
  background-color: #4b5b73;
  height: 450px;
}

#menubar {
  width: 100%;
  height: 100%;
  position: fixed;
  top: -100%;
  left: 0;
  z-index: 10;
  background-color: var(--dark);
  transition: all 0.5s;
  height: 470px;
}

.button-position {
  margin-bottom: 20px;
  text-align: center;
  font-size: 28px;
  margin: auto;
}

 }

 @media only screen and (max-width:1161px){
  .modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.5);
    font-size: 13px;
}

 }

 @media only screen and (max-width:990px){
  .modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.5);
    font-size: 10px;
  }

  .modal-content {
    background-color: #f4f4f4;
    margin: 10% auto;
    width: 80%;
    box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.2), 0 7px 20px 0 rgba(0, 0, 0, 0.17);
    animation-name: modalopen;
    animation-duration: 1s;
}


  .modal-body {
    padding: 10px 20px;
    color: black;
    font-size: 15px;
}




  .end-text {
    width: fit-content;
    margin: auto;
    font-size: larger;
    margin-top: 100px;
    white-space: normal;
}

.recruit-main {
  width: 100%;
  margin: auto;
  margin-bottom: 190px;
}

img.emp {
  width: 140px;
  padding-top: 40px;
  margin: 0px 0px 20px 0px;
}

.addtext {
  width: fit-content;
  font-size: larger;
  margin-top: 25px;
  margin-left: 20px;
}

.emp-salary {
  background-color: #cbd9ef;
  color: #4b5b73;
  border: 6px dotted #6b9eec;
  font-weight: bold;
  width: auto;
  font-size: larger;
  padding: 30px 30px;
  border-radius: 29px;
  display: inline-flex;
}

@media only screen and (max-width:750px){
  .movile{
    margin: auto;
    width: fit-content;
  }



}



@media only screen and (max-width:595px){
  .salaly-image {
    width: min-content;
    margin: 40px auto;
}

.emp-salary {
  background-color: #cbd9ef;
  color: #4b5b73;
  border: 6px dotted #6b9eec;
  font-weight: bold;
  width: auto;
  padding: 30px 30px;
  border-radius: 29px;
  display: inline-flex;
  font-size: 15px;
}



  img.emp {
    width: 140px;
    padding-top: 40px;
    margin: auto 65px;
}

.main-theme {
  font-size: 30px;
  margin: auto;
  width: fit-content;
  font-weight: bold;
  border-bottom: 10px dotted #6b9eec;
}

.tab_item {
  width: calc(100% / 2);
  font-size: 19px;
  padding: 20px 0px;
  border-bottom: 3px solid #6b9eec;
  background-color: #ececec;
  text-align: center;
  color: #6b9eec;
  display: block;
  float: left;
  text-align: center;
  font-weight: bold;
  transition: all 0.2s ease;
  height: 45px;
  line-height: 50px;
}
.tab_item2 {
  width: calc(100% / 2);
  font-size: 20px;
  padding: 20px 0px;
  border-bottom: 3px solid #6b9eec;
  background-color: #ececec;
  text-align: center;
  color: #6b9eec;
  display: block;
  float: left;
  text-align: center;
  font-weight: bold;
  transition: all 0.2s ease;
  height: 45px;
  line-height: 50px;
}
p.intro-text {
  margin-left: 20px;
}

.button {
  background: #6b9eec;
  color: #fff;
  padding: 0 2em;
  border: 0;
  height: 70px;
  font-size: 16px;
  border-radius: 5px;
  font-weight: 900;
  font-family: 'Roboto', sans-serif;
  padding: 20px;
  margin-top: 10px;
  white-space: nowrap;
}


}
@media only screen and (max-width:931px){
  .form-block {
    margin: 20px auto 0px;
    padding: 0px;
    width: 100%;
  }

  .button-position {
    margin-bottom: 20px;
    text-align: center;
    font-size: 28px;
}


}

@media only screen and (max-width: 480px){
  .modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.5);
    font-size: 8px;
}
.modal-body {
  padding: 10px 20px;
  color: black;
  font-size: 11px;
}
.modal-content {
  background-color: #f4f4f4;
  margin: 20% auto;
  width: 89%;
  box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.2), 0 7px 20px 0 rgba(0, 0, 0, 0.17);
  animation-name: modalopen;
  animation-duration: 1s;
}

.back-button2 {
  background: #6b9eec;
  color: #fff;
  padding: 0px 20px;
  border: 0;
  height: 40px;
  font-size: 15px;
  border-radius: 5px;
  font-weight: 900;
  font-family: 'Roboto', sans-serif;
  margin-top: 10px;
  white-space: nowrap;
}


}

@media only screen and (max-width: 416px){
  h2.title.is-5 {
    white-space: nowrap;

  }

  body {
    width: fit-content;
}


}


 }
/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Hide visually and from screen readers
 */

.hidden,
[hidden] {
  display: none !important;
}

/*
 * Hide only visually, but have it available for screen readers:
 * https://snook.ca/archives/html_and_css/hiding-content-for-accessibility
 *
 * 1. For long content, line feeds are not interpreted as spaces and small width
 *    causes content to wrap 1 word per line:
 *    https://medium.com/@jessebeach/beware-smushed-off-screen-accessible-text-5952a4c2cbfe
 */

.sr-only {
  border: 0;
  clip: rect(0, 0, 0, 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  white-space: nowrap;
  width: 1px;
  /* 1 */
}

/*
 * Extends the .sr-only class to allow the element
 * to be focusable when navigated to via the keyboard:
 * https://www.drupal.org/node/897638
 */

.sr-only.focusable:active,
.sr-only.focusable:focus {
  clip: auto;
  height: auto;
  margin: 0;
  overflow: visible;
  position: static;
  white-space: inherit;
  width: auto;
}

/*
 * Hide visually and from screen readers, but maintain layout
 */

.invisible {
  visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */

.clearfix::before,
.clearfix::after {
  content: " ";
  display: table;
}

.clearfix::after {
  clear: both;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

@media only screen and (min-width: 35em) {
  /* Style adjustments for viewports that meet the condition */
}

@media print,
  (-webkit-min-device-pixel-ratio: 1.25),
  (min-resolution: 1.25dppx),
  (min-resolution: 120dpi) {
  /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid the additional HTTP request:
   https://www.phpied.com/delay-loading-your-print-css/
   ========================================================================== */

@media print {
  *,
  *::before,
  *::after {
    background: #fff !important;
    color: #000 !important;
    /* Black prints faster */
    box-shadow: none !important;
    text-shadow: none !important;
  }

  a,
  a:visited {
    text-decoration: underline;
  }

  a[href]::after {
    content: " (" attr(href) ")";
  }

  abbr[title]::after {
    content: " (" attr(title) ")";
  }

  /*
   * Don't show links that are fragment identifiers,
   * or use the `javascript:` pseudo protocol
   */
  a[href^="#"]::after,
  a[href^="javascript:"]::after {
    content: "";
  }

  pre {
    white-space: pre-wrap !important;
  }

  pre,
  blockquote {
    border: 1px solid #999;
    page-break-inside: avoid;
  }

  /*
   * Printing Tables:
   * https://web.archive.org/web/20180815150934/http://css-discuss.incutio.com/wiki/Printing_Tables
   */
  thead {
    display: table-header-group;
  }

  tr,
  img {
    page-break-inside: avoid;
  }

  p,
  h2,
  h3 {
    orphans: 3;
    widows: 3;
  }

  h2,
  h3 {
    page-break-after: avoid;
  }
}

@media only screen and (max-width: 430px){

  body{
    width: fit-content;
  }


  .section-content{
    display: inline;
    margin: auto;
    width: 50%;
    /* padding-left: 0%; */
  }

  .section-content2{
    /* display: inline;
    margin: auto;
    width: 50%; */
    /* padding-left: 0%; */
  }

  .form-content{
    display: inline;
    padding-left: 0%;
  }

  

  .application-list{
    padding-left: 10%;
  }

 

  .button{
    position: static;
  }

  

  table,th,td{
    
  }
  th,td{
    height: 10px;
    
  }

  .textarea {
    width: 100%;
    font-size: 100%;
    line-height: 1.15;
    margin: 0;
    height: 110px;
    margin-left: -4%;
  }

  .input {
    width: 100%;
    font-size: 16px;
    line-height: 1.15;
    margin-left: -4%;
  }

  .zipSearchBtn{
    background: #6b9eec;
    color: #fff;
    border: 0;
    font-family: 'Roboto', sans-serif;
    border-radius: 5px;
    margin-left: -4%;
  }
  
}

