@charset "UTF-8";/* 文字コードを指定 */
/* =================================================================
=================================================================*/
/* 全体 ================================== */

body{
    font-family: '游ゴシック', 'Yu Gothic',  'ヒラギノ角ゴ Pro W3', 'Hiragino Kaku Gothic Pro','メイリオ', 'Meiryo','MS Pゴシック', 'MS PGothic', sans-serif;
}

html {
	scroll-behavior: smooth;
}

.pagetop {
    height: 50px;
    width: 50px;
    position: fixed;
    right: 30px;
    bottom: 30px;
    background: #F0F4F5;
    border: solid 2px #005B5C;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2;
}

.pagetop__arrow {
    height: 10px;
    width: 10px;
    border-top: 3px solid #005B5C;
    border-right: 3px solid #005B5C;
    transform: translateY(20%) rotate(-45deg);
}

/* ここからheader ================================== */
/* .header_oya {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #F0F4F5;
    z-index: 1000;
  } */

/* ヘッダー全体 */
.site-header {
    width: 100%;
    display: flex;
    justify-content: center;
    background: transparent;
    position: absolute;
    top: 0;
    left: 0;
    /* z-index: 10; ← ここを削除 or auto に */
    margin-top: 30px;
  }
  
  /* 内側の丸みボックス */
  .header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 75%;
    max-width: 1200px;
    background: #F0F4F5;
    border: 1px solid #005B5C;
    border-radius: 50px;
    padding: 15px 27px;
    box-sizing: border-box;
  }
  
  /* ロゴ部分 */
  .logo {
    display: flex;
    align-items: center;
    gap: 10px;
  }
  
  .logo img {
    height: 30px;
    width: auto;
  }
  
  .logo-text {
    font-size: 20px;
    font-weight: 600;
    color: #005B5C;
  }
  
  /* ナビゲーション */
  .main-nav ul {
    display: flex;
    gap: 60px;
    list-style: none;
    margin: 0;
    padding: 0;
  }
  
  .main-nav a {
    text-decoration: none;
    color: #005B5C;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s;
  }
  
  /* 通常リンク */
  .main-nav a:hover {
    color: #D1C378;
  }
  
  /* Contactボタン */
  .contact-btn {
    background-color: #005B5C;
    color: #F0F4F5!important; 
    padding: 8px 26px;
    border-radius: 25px;
    font-weight: 500;
    transition: all 0.3s ease-in-out;
  }
  
  .contact-btn:hover {
    background-color: #D1C378;
    color: #005B5C;
  }

 
/* --- ハンバーガーボタン --- */
.menu-btn {
    display: none; /* PCでは非表示 */
    position: relative;
    width: 30px;
    height: 20px;
    border: none;
    background: none;
    cursor: pointer;
    z-index: 110;
  }
  .menu-btn span {
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #0d5044;
    border-radius: 1px;
    transition: all 0.3s ease;
  }
  .menu-btn span:nth-child(1) {
    top: 0;
  }
  .menu-btn span:nth-child(2) {
    top: 9px;
  }
  .menu-btn span:nth-child(3) {
    bottom: 0;
  }
  /* 開閉アニメーション */
  .menu-btn.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
  }
  .menu-btn.active span:nth-child(2) {
    opacity: 0;
  }
  .menu-btn.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
  }
  
  /* --- スマホ用メニュー --- */
  @media screen and (max-width: 600px) {
    .main-nav {
        position: fixed;
        top: 0;
        right: 0;
        width: 100%;
        height: 100vh;
        background: rgba(246, 250, 250, 0.98);
        display: flex;
        justify-content: center;
        align-items: center;
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease-in-out;
        flex-direction: column;
        z-index: 999; /* ← ロゴより上に */
      }
      
  
    .main-nav ul {
      display: flex;
      flex-direction: column;
      gap: 40px;
    }
  
    .main-nav a {
      font-size: 24px;
    }
  
    .main-nav.active {
      opacity: 1;
      visibility: visible;
    }
  
    .menu-btn {
      display: block; /* スマホで表示 */
      z-index: 1000;
    }
  
    /* PCのレイアウトを非表示 */
    .main-nav ul {
      display: none;
    }
  
    .main-nav.active ul {
      display: flex;
      text-align: center;
    }
  } 



/* ここからMain ==================================== */

body,html {
    background: #F0F4F5;
    height:100%;
}
.visual img{
    width: 100%;
}
.title{
    overflow: hidden;
    position: absolute;
    margin-top: 300px;
    font-size: 50px;
    color: #F0F4F5;
    line-height: 65px;
    margin-left: 182px;
}
  .decoration img{
    overflow: hidden;
    position: absolute;
    top: 440px;
    transform: rotate(1deg);
    width: 80%;
    z-index: 10;
}
/* .decoration {
    position: relative; 
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 120px;
    width: 100%;
}
   */
.sp_no{
    display: block;
    }
    .pc_no{
    display: none;
    }

    /* 図形をロゴの位置を基準に湧き上がらせる */
    
.floating-shapes {
    position: absolute;
    bottom: 0;
    left: 0;
    top: 620px;
    width: 95%;
    height: 120px; /* 湧き上がる範囲 */
    pointer-events: none;
    overflow: visible;
    transform: rotate(-5deg);
  }
  
  /* 図形共通スタイル */
  .shape {
    position:absolute;
    bottom: 0;
    background: #F0F4F5; /* 色はお好みで */
    opacity: 0.7; 
    animation: floatUp 10s linear infinite;
  }
  
 /* 三角 */
.triangle {
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-bottom: 20px solid #F0F4F5; /* 少し大きく */
    background: none; /* backgroundは無効にする */
  }
 /* 浮かび上がるアニメーション */
@keyframes floatUp {
    0% {
      transform: translateY(0) rotate(0deg);
      opacity: 1;
    }
    100% {
      transform: translateY(-200px) rotate(var(--rotate-angle));
      opacity: 0;
    }
  }
        

@media screen and (max-width:600px) {
    .sp_no{
        display: none;
    }
    .pc_no{
        display: block;
    }
    .title{
        overflow: hidden;
        position: absolute;
        margin-top: 300px;
        font-size: 20px;
        color: #F0F4F5;
        line-height: 30px;
        margin-left: 50px;
    } 
    .decoration img{
        top: 446px;
        transform: rotate(-8deg);
    }
    .floating-shapes {
        top: 480px;
        transform: rotate(-15deg);
      }
}
@media (max-width: 600px) {
    .floating-shapes {
      width: 80%;
      bottom: 246px;
      height: 100px; /* 上に舞い上がるスペースを確保 */
    }
    .shape.square {
        transform: scale(0.c3);
      }
      .shape.triangle {
        transform: scale(0.5);
      }
  
    @keyframes floatUp {
      0% {
        transform: translateY(0) rotate(0deg);
        opacity: 0;
      }
      20% {
        opacity: 1;
      }
      100% {
        transform: translateY(-100px) rotate(var(--rotate-angle)); /* 移動距離を短めに */
        opacity: 0;
      }
    }
  }
@media screen and (min-width: 600px) and (max-width: 1024px) {
    .decoration img{
        top: 370px;
        transform: rotate(2deg);
        width: 60%;
        margin-left: 27px;
    }
    .title{
        margin-top: 200px;
        font-size: 30px;
        line-height: 45px;
        margin-left: 120px;
    }
    .floating-shapes {
        top: 420px;
        transform: rotate(-7deg);
      }
    @media screen and (max-width: 1024px) {
        .menu-btn {
          display: block;
        }
        .main-nav ul {
          display: none;
        }
        .main-nav.active ul {
          display: flex;
        }
        .floating-shapes {
          bottom: 620px; /* ← ここを調整して上に配置 */
        }
  }
}



/* ここから会社情報==================== */
.decoration1 img{
    position: absolute;
    right: 0px;
    width: 180px;
    top: 670px;
}

h3{
    font-size: 35px;
    text-align: center;
    color: #005B5C;
    padding-top: 40px;
}

.company_title {
    position: relative;
}
.company_about p{
    text-align: center;
    color: #005B5C;
    margin-top: 58px;
    line-height: 25px;
    font-size: 15px;
    margin-bottom: 60px;
}
.decoration2 img{
    position: absolute;
    left: 0px;
    width: 200px;
    top: 1200px;
}

*,
*:before,
*:after {
  -webkit-box-sizing: inherit;
  box-sizing: inherit;
}

.button{
    text-align: center;
    padding-bottom: 100px;
}


*,
*:before,
*:after {
  -webkit-box-sizing: inherit;
  box-sizing: inherit;
}

html {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  font-size: 62.5%;
}

.btn,
a.btn,
button.btn {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.5;
  position: relative;
  display: inline-block;
  padding: 1rem 4rem;
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
  text-align: center;
  vertical-align: middle;
  text-decoration: none;
  letter-spacing: 0.1em;
  color: #212529;
  border-radius: 0.5rem;
}

a.btn-svg {
  font-weight: 700;
  line-height: 54px;

  width: 204px;
  height: 54px;
  padding: 0;

  cursor: pointer;
  text-decoration: none;

  background-color: transparent;
}

a.btn-svg svg {
  position: absolute;
  top: 0;
  left: 0;

  width: 100%;
  height: 100%;
}

a.btn-svg svg rect {
  -webkit-transition: all 400ms ease;
  transition: all 400ms ease;

  stroke: #005B5C;
  stroke-width: 1.5;
  stroke-dasharray: 200px, 16px;
  stroke-dashoffset: 70px;
}
a.btn-svg:hover svg rect {
  stroke-dashoffset: 284px;
}
a.btn-svg span {
  color: #005B5C;
  letter-spacing: 1px;
}

/* 下線の初期状態 */
.underline {
    display: block;
    width: 200px; /* 完全表示時の長さ */
    height: 2px;
    background-color: #005B5C;
    margin: 0 auto;
    opacity: 0;
  
    /* アニメーション前の状態 */
    transform: scaleX(0);
    transform-origin: center; /* 中央基点で伸びる */
    transition: transform 0.6s ease-out, opacity 0.6s ease-out;
  }
  
  /* 表示トリガーが付与された時 */
  .underline.fade-in {
    transform: scaleX(1);
    opacity: 1;
    margin-top: 11px;
  }

@media screen and (max-width:600px){
    h3{
        font-size: 18px;
    }
    .company_about p{
        font-size: 14px;
        width: 70%;
        margin: 0 auto;
        margin-top: 38px;
        margin-bottom: 50px;
    }
    .decoration1 img{
        width: 100px;
        top: 525px;
    }
    .decoration2 img{
        width: 100px;
        top: 1045px;
    }
    .underline.fade-in {
        width: 30%;
      }
}
@media screen and (min-width: 600px) and (max-width: 1024px) {
    .company_about p{
        width: 70%;
        margin: 0 auto;
        margin-top: 58px;
        margin-bottom: 58px;
    }
    .decoration1 img{
        width: 158px;
        top: 488px;
    }
    .decoration2 img{
        width: 170px;
        top: 950px;
    }
}

/* ここからサービス==================== */
.decoration3 img{
    position: absolute;
    right: 0px;
    width: 240px;
    top: 1620px;
}
.service{
    background-color: #DDE8E5;
}
h4{
    font-size: 35px;
    text-align: center;
    color: #005B5C;
    padding-top: 100px;
}
h5{
    font-size: 16px;
    text-align: center;
    color: #005B5C;
    padding-top: 10px;
}
h6{
    font-size: 35px;
    text-align: center;
    color: #005B5C;
    padding-top: 83px;
}
.service_about p{
    font-size: 15px;
    text-align: center;
    color: #005B5C;
    line-height: 25px;
    margin-top: 58px;
    padding-bottom: 100px;
}


@media screen and (max-width:600px){
    h4{
        font-size: 20px;
    }
    h5{
        font-size: 13px;
    }
    h6{
        font-size: 18px;
        padding-top: 83px;
    }
    .service_about p{
        width: 70%;
        font-size: 14px;
        margin: 0 auto;
        margin-top: 58px;
        padding-bottom: 100px;
    }
    .decoration3 img{
        width: 137px;
        top: 1662px;
    }
}

@media screen and (min-width: 600px) and (max-width: 1024px) {
    .decoration3 img{
        width: 137px;
        top: 1432px;
    }
    .service_about p{
        width: 70%;
        margin: 0 auto;
        margin-top: 58px;
    }
}

/* ここからニュース==================== */
.decoration4 img{
    position: absolute;
    left: 0px;
    width: 240px;
    top: 1850px;
}
.news_list{
    margin-top: 100px;
    margin-bottom: 60px;
} 
.news_list li{
    width: 62%;
    margin: auto;
    border-top:1px solid #96B6B3;
    border-bottom:1px solid #96B6B3;
    list-style:none;
    margin-bottom: 115px;
}
/* .news_list a{
    font-size: 15px;
    text-decoration:none;
    display: block;
    padding: 10px 0;
    text-align: center;
    margin-top: 20px;
    margin-bottom: 20px;
} */
.news_list span{
    color: #005B5C;
    vertical-align: middle;
    display: inline-block;
    margin-right: 200px;
    padding-left: 40px;
    font-size: 15px;
}
.news_list p{
    color: #005B5C;
    display: inline-block;
    margin: 0;
    padding: 40px;
    vertical-align: middle;
    font-size: 15px;
}
/* .news_list p:hover{
    color: #96B6B3;
} */

.decoration5 img{
    position: absolute;
    right: 0px;
    width: 240px;
    top: 2035px;
}

@media screen and (max-width:600px){
    .news_list{
        margin-top: 60px;
        margin-bottom: 20px;
    } 
    .news_list span{
        margin-top: 40px;
        font-size: 14px;
        padding-left: 10px;
    }
    .decoration4 img{
        width: 115px;
        top: 1767px;
    }
    .news_list p{
        text-align: left;
        margin-top: 0px;
        line-height: 18px;
        font-size: 14px;
        padding: 20px 10px 40px 10px;
    }
    .decoration5 img{
        width: 129px;
        top: 2092px;
    }
}

@media screen and (min-width: 600px) and (max-width: 1024px) {
    .decoration4 img{
        width: 208px;
        top: 1586px;
    }
    .decoration5 img{
        width: 208px;
        top: 1851px;
    }
    .news_list span{
        margin-top: 40px;
    }
}

/* ここからリクルート==================== */
.decoration6 img{
    position: absolute;
    left: 0px;
    width: 165px;
    top: 2740px;
}
.recruit{
    background-color: #DDE8E5;
}
.recruit_about p{ 
    font-size: 15px;
    text-align: center;
    color: #005B5C;
    line-height: 25px;
    margin-top: 58px;
    padding-bottom: 60px;
}
.recruit h4{
    margin-top: 20px;
}

@media screen and (max-width:600px){
    .recruit_about p{ 
        width: 70%;
        font-size: 14px;
        margin: 0 auto;
        margin-top: 58px;
        padding-bottom: 100px;
    }
    .decoration6 img{
        width: 120px;
        top: 2873px;
    }
}
@media screen and (min-width: 600px) and (max-width: 1024px) {
    .decoration6 img{
        width: 180px;
        top: 2500px;
    }
    .recruit_about p{ 
        width: 70%;
        margin: 0 auto;
        margin-top: 58px;
    }
}

/* ここからコンタクト==================== */
.contact_about p{
    font-size: 14px;
    text-align: center;
    color: #005B5C;
    line-height: 25px;
    margin-top: 58px;
    padding-bottom: 100px;
}
.decoration7 img{
    position: absolute;
    right: 0px;
    width: 200px;
    top: 3200px;
}

@media screen and (max-width:600px){
    .contact_about p{
        width: 70%;
        font-size: 14px;
        margin: 0 auto;
        margin-top: 58px;
        padding-bottom: 100px;
    }
    .decoration7 img{
        width: 150px;
        top: 3474px;
    }
}
@media screen and (min-width: 600px) and (max-width: 1024px) {
    .decoration7 img{
        width: 170px;
        top: 3000px;
    }
}

/* ここからfooter ================================== */
.footer{
    background-color: #005B5C;
    height: 70px;
}
.footer p{
    color: #DDE8E5;
    font-size: 15px;
    text-align: center;
    padding-top: 28px;
}

@media screen and (max-width:600px){
    .footer p{
        font-size: 12px;
    }
}

/* ここから下層ページ ================================== */
.about_under{
    margin-top: 120px;
}
.about_under h4{
    margin-bottom: 100px;
}
.content js-fadeIn h3{
    margin-top: 20px;
}
.contents p{
    font-size: 15px;
    text-align: center;
    color: #005B5C;
    margin-bottom: 100px;
    line-height: 20px;
}
.content {
  opacity: 0;
  transition-duration: 1s;
  transition-property: opacity, transform;
    
  
  &.is-scrollIn {
    opacity: 1;
    transform: translate(0, -50px);
  }
}

@media screen and (max-width:600px){
    .contents p{
        width: 70%;
        font-size: 14px;
        margin: 0 auto;
        padding-bottom: 50px;
    }
    .about_under h4{
        font-size: 20px;
    }
    .content js-fadeIn h3{
        font-size: 18px;
    }
}

/* ここから会社概要 ================================== */
.company_list{
    width: 70%;
    margin: 0 auto;
}
.company_list dl{
    font-size: 15px;
    color: #005B5C;
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    text-align: left;
    margin-bottom: 5rem;
}
.company_list dt {
    width: 35%;
    margin: 0;
    border-bottom: 1px solid #96B6B3;
    font-size: 15px;
    line-height: 1.2rem;
    padding: 30px 40px 30px 65px;
    vertical-align: middle;
    align-items: center;
}
.company_list dd {
    width: 65%;
    margin: 0;
    border-bottom: 1px solid #96B6B3;
    font-size: 15px;
    line-height: 1.2rem;
    padding: 30px 40px 30px 40px;
    vertical-align: middle;
    align-items: center;
}
.company_title h5{
    margin-bottom: 50px;
}
.company_under{
    margin-bottom: 200px;
}

.decoration8 img{
    position: absolute;
    left: 0px;
    width: 200px;
    top: 300px;
}
.decoration9 img{
    position: absolute;
    right: 0px;
    width: 200px;
    top: 550px;
}
.decoration10 img{
    position: absolute;
    left: 20px;
    width: 170px;
    top: 1400px;
}

@media screen and (max-width:600px){
    .company_list{
        width: 90%;
    }
    .company_list dt {
        width: 100%;
        border-top: 0px solid #96B6B3;
        padding: 28px 10px 6px 15px;
        border-bottom: none;
        font-size: 14px;
    }
    .company_list dd {
        width: 100%;
        font-size: 14px;
        padding: 10px 10px 25px 15px;
        letter-spacing: 0.5px;
    }
    .company_under{
        margin-bottom: 100px;
    }
    .decoration8 img{
        width: 63px;
        top: 260px;
    }
    .decoration9 img{
        width: 113px;
        top: 510px;
    }
    .decoration10 img{
        width: 75px;
        top: 1482px;
    }
}



/* =================================================================
↓よく使うCSS（＊終わったら削除しましょう）
=================================================================
▼MDNで使い方を調べる習慣をつけましょう
https://developer.mozilla.org/ja/docs/Web

▼文字系
    font-size: 16px; （フォントサイズ）
    color: #fff; （文字色など）
    font-weight: bold; （文字の太さ）
    line-height: 26px; （行間）
    letter-spacing: 1.2px; （字間）
    text-decoration: none; （文字装飾）
    text-align: center; （揃え）
▼幅・高さ
    width: 100%; （幅）
    max-width: 960px; （最大幅・コンテンツ幅）
    height: 400px; （高さ）
▼背景
    background-color: #ddd; （背景色）
    background-image: url(../image/◯◯.jpg); （背景画像）
    background-size: cover; （背景サイズ）
    background-position: center; （背景位置）
    background-repeat: none; （背景リピート）
▼余白
    padding: 10px 10px 10px 10px; （内側に余白）
        padding-top: 10px;
        padding-right: 10px;
        padding-bottom: 10px;
        padding-left: 10px;
    margin: 10px 10px 10px 10px; （外側に余白）
        margin-top: 10px;
        margin-right: 10px;
        margin-bottom: 10px;
        margin-left: 10px;
▼その他装飾
    list-style: none; （リストの装飾）
    opacity: 0.5; （透明度）
    color: rgba(255, 255, 255, 0.2); （透明度rgba指定）
    border-radius: 15px; （角丸）
    box-shadow: 10px 10px #ddd; （影）
    border: 1px solid #000; （線）
        border-top: 1px solid #000;
        border-right: 1px solid #000;
        border-bottom: 1px solid #000;
        border-left: 1px solid #000;
▼レイアウト：左右に配置
    【親】overflow: hidden; 
    【子】float: left; （左）
    【子】float: right; （右）
▼レイアウト：中央揃え
    text-align: center; （左右中央揃え①）
    margin: 0 auto; （左右中央揃え②）
    vertical-align: middle; （上下中央揃え①）
    line-height: 80px; （上下中央揃え②）
▼レイアウト：好きな位置に配置
    【親】position: relative; （基準を設定）
    【子】position: absolute; （位置決める）
        top: 10px;
        left: 50%;
        right: 10px;
        bottom: 50%;
▼レイアウト：好きな位置に固定させる
    position: fixed;
        top: 10px;
        left: 50%;
        right: 10px;
        bottom: 50%;
▼レイアウト：並べる・一覧
    display: flex;
    https://www.webcreatorbox.com/tech/css-flexbox-cheat-sheet
    https://design-tera.com/blog/archives/2372/
▼レイヤーの順番を入れ替える
    z-index: -1〜999;
    
*/