@import url('https://fonts.googleapis.com/css2?family=M+PLUS+Rounded+1c:wght@300&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@300;400;500;700&display=swap');

*{
    box-sizing:border-box;
    padding:0;
    margin:0;
    font-family: 'Noto Sans JP', sans-serif;
    font-size:15px;
    line-height:1.9;
    color:#444;
}

/*PCモバイル*/
.mobileonly {display:none;}
.pconly {display:block;}

/*リンク*/
a {color:#0070C0;}
a:hover {color:#eec44f;}

/*配置fixedのためアンカー位置がずれる対策*/
a.anchor{
    display: block;
    padding-top: 80px;
    margin-top: -80px;
}

a.btn{
    display:block;
    margin:5px 10px;
    padding:10px;
    font-size:20px;
    width:fit-content;
    min-width:220px;
    background:#0070C0;
    border-radius:5px;
    color:#fff;
    text-align:center;
    text-decoration:none;
    font-weight:bold;
}
a.btn:hover{
    opacity:.6;
    color:#fff;
}
a.btnskyblue{
    background:#08a5cc;
}


/*ヘッダー*/
/*-------------------------------------*/
header {
    position:fixed;
    z-index:10;
    top:0;
    left:0;
    width:100%;
    height:80px;
    background:#fff;
    box-shadow: 0px 5px 5px rgb(0, 0, 0, .4);
}
.menu-btn{
    display:none;
}
header .header-inner,
footer .footer-inner {
    width: 1400px;
    margin:0 auto;
    overflow: auto;
    display: -webkit-flex;
    display: flex;
    -webkit-justify-content: flex-start;
    justify-content: flex-start;
}
header h1 {
    margin:10px 15px;
}
header nav {
    margin-left: auto;
}
header nav ul {
    display:flex;
    justify-content: left; /*左揃え*/
}
header nav ul li {
    display:block;
    padding:0;
    margin:27px 15px;
    height:80px;
}
header nav ul li a {
    color:#666;
    text-decoration:none;
    font-size:18px;
}

/*メインコンテンツ*/
/*-------------------------------------*/
body {
    -webkit-overflow-scrolling: touch;
    background:#fff;
    padding-top:80px;
}
main {
    border:1px #fff solid; /*これ入れると謎のぞき穴が無くなるので*/
}
main section {
    background:#fff;
    padding:30px 0;
}
main section .inner {
    width: 1080px;
    background:none;
    padding:40px;
    margin: 0 auto;
}
main h2 {
    font-size:32px;
    margin-bottom:25px;
    text-align:center;
    font-family:'M PLUS Rounded 1c';
    display:block;
    line-height:1.5;
}
main h2 span {
    font-size:24px;
    color:#305496;
    font-family:'M PLUS Rounded 1c';
}
main h3{
    font-size:24px;
    line-height:1.3;
    color:#305496;
    margin-top:0;
    margin-bottom:10px;
    font-family:'M PLUS Rounded 1c';
    font-weight:bold;
}
main p {
    padding: 10px 0;
}

/*枠*/
main .guiderow {
    display:flex;
    justify-content:center;
}
main .guidecol {
    flex:1;
    margin:10px;
    padding:20px;
    border:#eee 1px solid;
    border-radius:5px;
    background:#fff;
    text-align: center;
    box-shadow:1px 1px 4px #eee;
}
main .guidecol p {
    text-align:left;
    line-height:1.8;
}

/*フローティングボタン*/
#pagetocontact,
#pagetotop {
    position:fixed;
    bottom:40px;
    right:40px;
    display:block;
    padding:8px 7px 18px;
    background:#08a5cc;
    color:#fff;
    z-index:5;
    border-radius:15px;
    text-align:center;
    font-size:11px;
    line-height:20px;
    text-decoration:none;
}
#pagetotop {
    bottom:130px;
    padding:3px 13px 23px;
    background:#0070C0;
    line-height:10px;
}
#pagetocontact i,
#pagetotop i {
    font-size:30px;
    line-height:32px;
    color:#fff;
}
#pagetotop i {
    line-height:44px;
}
#pagetocontact:hover,
#pagetotop:hover{
    opacity:0.85;
}

/*トップごあいさつ*/
main #topimage {
    width:100%;
    background:url(fukubu.png);
    background-size:cover;
    background-position:right top;
}
main #topimage .topcatch {
    font-size:35px;
    font-weight:bold;
    text-align:center;
    line-height:1.8;
    margin-top:30px;
}
main #topimage .topcatch span {
    font-family:'M PLUS Rounded 1c';
    font-size:24px;
    color:#0070C0;
    display:block;
    margin-top:20px;
} #topimage i{
    font-size:18px;
    margin:0 auto;
    width:fit-content;
    display: block;
}
main #topimage .topbtn {
    display: -webkit-flex;
    display: flex;
    justify-content:center;
    margin-top:100px;
}

/*背景色*/
main #staffing,
main #modelcase,
main #process {
    background:#ffffff;
}
main #benefit,
main #area,
main #analysis {
    background:#f8fcff;
}

/*人材紹介*/
main #staffing p {
    width:820px;
    margin:0 auto;
}
main #staffing ul{
    width: fit-content;
    margin: 0 auto;
    list-style: none;
}
main #staffing ul li {
    position: relative;
    padding-left: 25px;
    margin:5px 0;
    text-align:left;
}
main #staffing ul li::before {
    position: absolute;
    left: 0;
    top: 0;
    font-family: "Font Awesome 5 Free";
    content: "\f00c";
    font-weight: 900;
    color:#00c090;
    font-size:18px;
}
main #staffing .guidecol{
    padding:0;
    display:flex;
    flex-direction: row-reverse; 
    width:fit-content;
    min-height:298px;
    overflow: hidden;
}
main #staffing .guidecol img{
    border-radius:0 5px 5px 0;
    object-fit: cover;
    object-position: top;
}
main #staffing .guidecol .guideinner{
    padding:30px;
    margin:0 auto 20px;
    width:fit-content;
    text-align:left;
}
main #staffing .guidecol h3 {
    margin-bottom:20px;
    text-align:center;
}
main #staffing .guidecol .btn{
    padding:5px 10px;
}
/*解決します*/
main #benefit .guidecol strong,
main #modelcase .guidecol strong {
    color:#0083c0;
    display:inline-block;
    margin-bottom:10px;
}
main #benefit .guidecol i {
    font-size:35px;
    color:#0083c0;
    margin-bottom:5px;
}
/*モデルケース*/
main #modelcase .guidecol strong{
    display: block;
    padding: 10px;
    background:#f8fcff;
    border-bottom:3px solid #e6f3f8;
    color: #305496;
}
/*流れ*/
.flow {
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
}
.flow-step {
  display: flex;
  align-items: flex-start;
  margin-bottom: 10px;
  gap: 20px;
  background: #dbe8f8;
  padding:10px;
  border-radius:5px;
}
.step-number {
  flex-shrink:0;
  width:70px;
  height:70px;
  background-color: #f3f3f3;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  font-size: 14px;
  line-height:1;
  font-weight: bold;
  color: #555;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
.step-number span {
  font-size: 32px;
  color: #337ab7;
  line-height: 1;
  font-weight: 900;
}
.step-content {
  display: flex;
  flex-direction: column;
}
.step-hd {
  color: #337ab7;
  font-size: 18px;
  line-height:1.5;
  font-weight: bold;
}
.step-text {
  color:#333;
  line-height:1.3;
}
.flow-arrow {
  width: 0;
  height: 0;
  border-left: 15px solid transparent;
  border-right: 15px solid transparent;
  border-top: 20px solid #337ab7;
  margin: 0 0 10px 30px;
}
/*シミュレーションサービス*/
main #analysis .guidecol strong{
    color: #305496;
}

/*お問い合わせ*/
main #contact {
    background:#E3F2FD;
    padding-bottom:50px;
}
main #contact h2{
    margin-bottom:0;
}

/*フッター*/
/*-------------------------------------*/
footer {
    background:#305496;
    padding:30px 20px;
    z-index:5;
    height:fit-content;
}
footer strong {
    font-size:20px;
}
footer address,
footer strong,
footer i{
    text-decoration:none;
    font-style:normal;
    color:#fff;
    height:fit-content;
}
footer #copyright{
    font-size:11px;
    color:#98b4d4;
    text-align:center;
    padding:30px 0;
}


/*確認ダイアログ*/
/*-------------------------------------*/
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: none; /* 初期状態では非表示 */
    justify-content: center;
    align-items: center;
    z-index: 1000;
}
.dialog {
    background: white;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
.buttons {
    margin-top: 20px;
}
.buttons button {
    padding: 10px 20px;
    margin: 0 10px;
    cursor: pointer;
    border: none;
    border-radius: 5px;
    width: 120px;
}
#yesBtn, #confirmYesBtn {
    background-color: #007bff;
    color: white;
}
#noBtn {
    background-color: #797979;
    color: white;
}




/*-------------------------------------*/
@media only screen and (max-width: 1480px){
header .header-inner,
main section .inner,
main #staffing .inner,
footer .footer-inner {
    width: 1080px;
}
}

/*-------------------------------------*/
@media only screen and (max-width: 1099px){
header .header-inner,
main section .inner,
main #staffing .inner,
footer .footer-inner {
    width:100%;
}
header nav ul li {
    margin:27px 10px;
}
header nav ul li a {
    font-size:16px;
}

main #staffing p {
    width:100%;
}
main #staffing .guiderow {
    display:block;
}
main #staffing .guidecol{
    display:block;
    margin:50px auto;
}
main #staffing .guidecol img{
    border-radius:5px 5px 0 0;
}
}

/*-------------------------------------*/
@media only screen and (max-width: 800px){
/*サイドメニュー スマホ用*/
.menu-btn{
    position: fixed;
    z-index:99;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #333;
}
.menu-btn p {
    position: absolute;
    top:0;
    font-size:10px;
    color:#fff;
    margin:0px;
    padding:0px;
}
.menu-btn span,
.menu-btn span:before,
.menu-btn span:after {
    position: absolute;
    content: '';
    display: block;
    height: 3px;
    width: 25px;
    border-radius: 3px;
    background-color: #ffffff;
    transition: all .3s;
    margin-top:10px;
}
.menu-btn span:before {
    bottom: 6px;
}
.menu-btn span:after {
    top:-4px;
}
.side-open .menu-btn p {
    display:none;
}
.side-open .menu-btn span {
    background-color: rgba(255, 255, 255, 0);
    margin-top:0;
}
.side-open .menu-btn span::before {
    bottom: 0;
    transform: rotate(45deg);
}
.side-open .menu-btn span::after {
    top: -10px;
    transform: rotate(-45deg);
}
header nav {
    position: fixed;
    z-index:20;
    top: 0;
    right: 0;
    width: 100vw;
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    /* アニメーション前のメニューの状態 */
    pointer-events: none;
    opacity: 0;
    transition: opacity .3s linear;
}
.side-open header nav{
    /* アニメーション後のメニューの状態 */
    pointer-events: auto;
    opacity: 1;
}
header nav ul{
    width: 100%;
    margin:0;
    display:block;
}
header nav ul li {
    width: 100%;
    margin:0;
    padding:10px;
    border-top:1px solid #ccc;
    height:auto;
    text-align: center;
}
header nav ul li:last-child {
    border-bottom:1px solid #ccc;
}
header nav ul li a {
    font-size:20px;
}
main #topimage .topcatch span {
    font-size:22px;
}
}

/*-------------------------------------*/
@media only screen and (max-width: 700px){
main section .inner,
main #staffing .inner {
    padding:15px;
}
main .guiderow,
main .flow {
    display:block;
}
main #staffing .guidecol img{
    width:100%;
}
main #staffing .step-number {
    top:20%;
    left:20px;
}
main #staffing .flow-step {
    margin-right: 0;
}
main #staffing .flow-step::after {
    display:none;
}
main #staffing .step-hd {
    margin-top:0;
}
main #staffing .step-hd,
main #staffing .step-text {
    margin-left:80px;
    width:100%-80px;
    text-align:left;
}
}

/*-------------------------------------*/
@media only screen and (max-width: 500px){
.mobileonly {display:block;}
#pagetocontact,
#pagetotop {
    bottom:0;
    left:0;
    border-radius:0;
    padding:15px 0;
    font-size:15px;
    line-height:20px;
    width:50%;
    line-height:1.5;
}
#pagetotop {
    left:50%;
}
#pagetocontact br,
#pagetotop br{
    display: none;
}
#pagetocontact i,
#pagetotop i{
    display:inline-block;
    font-size:15px;
    line-height:1.5;
    margin-right:5px;
}

main #topimage .topcatch br{
    display:none;
}

main #topimage .topbtn {
    display:block;
    margin:20px auto;
    width:fit-content;
}
}