
#wrapper {
    overflow: hidden;
  }

.space{
    height: 4.5rem;
}

body {
    vertical-align: middle;
    text-align: center;
    background-color: #f5f5f5;
    color: #4d4d4d;
    font-family: 'Zen Maru Gothic', sans-serif;
    align-items: center;
    width: 100%;
}



/* Header */

header {
    display: flex;
    justify-content: space-between;
    width: 100%;
    height: 4%;
    background: linear-gradient(
        rgba(255, 255, 255, 0.6), /* 上部: 半透明の白 */
        rgba(255, 255, 255, 0)   /* 下部: 完全透明 */
      );
    align-items: center;
    padding: 1.68rem 0rem 1.68rem 0rem;
    top: 0;
    z-index: 5;
    position: fixed;
}

.logo img {
    height: 3em;
    margin-left: 2rem;
    object-fit: contain;
}

.form_btn {
    width: 5rem;
}

.nav {
    position: fixed;
    margin-right: 5%;
}

.drawer_hidden {
    background-color: transparent;
    border: none;
    justify-content: end;
}

.drawer_open {
    position: absolute;
    display: flex;
    height: 60px;
    width: 60px;
    justify-content: center;
    align-items: center;
    z-index: 90;
    background-color: 333;
    transform: translateY(-50%);
}

.drawer_open span,
.drawer_open span:before,
.drawer_open span:after {
    content: '';
    display: block;
    height: 0.2rem;
    width: 1.5rem;
    border-radius: 0.3rem;
    background-color: #4d4d4d;
    position: absolute;
}

.drawer_open span:before {
    bottom: 0.5rem;
}

.drawer_open span:after {
    top: 0.5rem;
}

#drawer_input:checked ~ .drawer_open span {
    background-color: rgba(255, 255, 255, 0); /* メニューオープン時は真ん中の線を透明にする */
}

#drawer_input:checked ~ .drawer_open span::before {
    bottom: 0;
    transform: rotate(45deg);
}

#drawer_input:checked ~ .drawer_open span::after {
    top: 0;
    transform: rotate(-45deg);
}

#drawer_input {
    display: none;
}

.nav_content {
    width: 20%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 100%; /* メニューを画面外へ配置 */
    z-index: 80;
    background-color: #abceb2;
    transition: all 0.5s; /* アニメーション設定 */
}

.nav_content ul {
    padding: 4.3rem 0.6rem 0;
}

.nav_content ul li {
    border-bottom: solid 1px #ffffff;
    list-style: none;
}

.nav_content ul li a {
    display: block;
    width: 100%;
    font-size: 1rem;
    box-sizing: border-box;
    color: #4d4d4d;
    text-decoration: none;
    padding: 0.6rem 1rem 0.6rem 0;
    position: relative;
}

.nav_content ul li a::before {
    content: "";
    width: 0.5rem;
    height: 0.5rem;
    border-top: solid 0.1rem #ffffff;
    border-right: solid 0.1rem #ffffff;
    transform: rotate(45deg);
    position: absolute;
    right: 0.7rem;
    top: 1rem;
}

#drawer_input:checked ~ .nav_content {
    left: calc(100% - 20%); /* メニューを右側に表示 */
}



/* スライダー全体の設定 */
.slider-container {
    position: relative;
    width: 100%;
    max-width: 1000px; /* スライダーの最大幅 */
    max-height: 600px; /* スライダーの高さを固定 */
    margin: 1rem auto 4rem auto;
    overflow: hidden;
}

.slides {
    display: flex;
    transition: transform 0.5s ease-in-out;
    width: 100%; /* 画像の枚数 × 100% */
    position: relative;
}

.slide {
    flex: 0 0 100%;
}

.slider-container p{
    position: absolute;/*重ねたい子要素にabsolute*/
    top:50%;
    left: 50%;
    -ms-transform: translate(-50%,-50%);/*ベンダープレフィックス*/
    -webkit-transform: translate(-50%,-50%);/*ベンダープレフィックス*/
    transform: translate(-50%,-50%);/*センター寄せの修正*/
    font-size: 2.2rem;
    margin: 0!important;/*文字がずれている場合や*/
    padding: 0!important;/*文字が折り返される場合*/
    color: #ffffff;
    text-shadow: 0 0 10px #ef9846,0 0 15px #dfac7c;
    background: transparent;
    padding: 50px;
    font-weight: bold;    
  }

.slide img {
    width: 100%;
    height: 100%; /* 画像をスライダーの高さに合わせる */
    object-fit: contain; /* 画像の縦横比を維持 */
    object-position: center;
}

/* ナビゲーションボタン */
.navigation-buttons {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
}

.nav-btn {
    width: 15px;
    height: 15px;
    border: 0px solid #fff;
    border-radius: 50%;
    background: rgba(204, 204, 204, 0.3);
    cursor: pointer;
    transition: background 0.3s;
}

.nav-btn:hover {
    background: rgba(66, 135, 245, 0.5);
}

/* Entryボタン */
.entry_button {
    /*display: flex;*/
    display: grid; /*2月1日用*/
    justify-content: center;
    gap: 1.25rem; /* ボタン間のスペース */
    margin-top: 2rem;
    margin-bottom: 3rem; /*2月1日用*/
}



.entry_button a {
    background: #bee6d7; /* ボタンの背景色 */
    border-radius: 9999px;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 15.6rem; /* 固定幅を設定 */
    height: 3.1rem; /* 固定高さを設定 */
    text-align: center;
    font-family: "Noto Sans Japanese", sans-serif;
    color: #4d4d4d; /* ボタンの文字色 */
    line-height: 1.8;
    text-decoration: none;
    transition: 0.3s ease-in-out;
    font-weight: 500;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.entry_button a:hover {
    background: #4d4d4d;
    color: #FFF;
}



.button {
    display: flex;
    justify-content: center;
    gap: 1.25rem; /* ボタン間のスペース */
    padding:3rem 0rem 3rem 0rem ;
}
.button a {
    background: #bee6d7; /* ボタンの背景色 */
    border-radius: 9999px;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 15.6rem; /* 固定幅を設定 */
    height: 3.1rem; /* 固定高さを設定 */
    text-align: center;
    font-family: "Noto Sans Japanese", sans-serif;
    color: #4d4d4d; /* ボタンの文字色 */
    line-height: 1.8;
    text-decoration: none;
    transition: 0.3s ease-in-out;
    font-weight: 500;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
.button a:hover {
    background: #4d4d4d; /* ホバー時の背景色 */
    color: #FFF; /* ホバー時の文字色 */
}
.button a:after {
    content: '';
    width: 3.1rem;
    height: 3.1rem;
    border-top: 0.18rem solid #4d4d4d;
    border-right: 0.18rem solid #4d4d4d;
    transform: rotate(45deg) translateY(-50%);
    position: absolute;
    top: 50%;
    right: 1.25rem;
    border-radius: 0.06rem;
    transition: 0.3s ease-in-out;
    display: none;
}
.button a:hover:after {
    border-color: #FFF;
}



.job_contents_container {
    text-align: center;
}

.job_contents_container p{
    margin-top: 1rem;
    margin-bottom: 3.1rem;
}


.president_container {
    margin: 1.25rem auto;
    padding: 0rem 2rem 1rem 2rem;
    max-width: 69rem;
    display: grid;
    grid-template-areas: 
        "title title"
        "img h5";
    grid-template-columns: 1fr 2fr;
    grid-template-rows: auto auto;
    gap: 1.25rem;
    text-align: left;
}

.president_img {
    width: 100%;
    max-width: 20rem;
    height: auto;
    justify-self: center;
    align-self: center;
    object-fit: cover;
}

.president_container p {
    font-size: 1rem;
    line-height: 1.6;
    color: #4d4d4d;
    grid-area: h5; /* 説明文を右に配置 */
    justify-self: start; /* 横方向に左揃え */
    align-self: center; /* 縦方向に中央揃え */
    margin: 0; /* 余白をリセット */
    text-align: left;
    margin-bottom: 1rem;
}

.Answer {	
    flex-flow: row-reverse nowrap;	
    }


.character_container {
    text-align: center;
    margin: 3.1rem auto; /* 中央揃えと上下間隔を追加 */
    max-width: 50rem; /* コンテンツ幅を制限 */
}


.character_img {
    display: block; /* ブロック要素として扱い、中央揃え可能に */
    margin: 0 auto; /* 水平方向中央揃え */
    max-width: 100%; /* 画像が親要素を超えないように制限 */
    height: auto; /* 縦横比を維持 */
    object-fit: contain; /* コンテンツサイズに収める */
}


td {
    text-align: left;
}

th {
    width: 3rem;
    display: block;
    margin: 0rem 1rem auto 0rem;
    
}

.president_Q th {
    width: 2rem;
    text-align: right;
}

.president_conta iner th {
    width: 1rem;
}

.president_Q {
    border-spacing: 5px;
}


.guidance_bottom h3 {
    font-size: 2rem;
}

.guidance_top h3 {
    font-size: 2rem;
    margin-top: 2rem;
}

/* 各コンテンツの間隔を統一 */
.entry_flow {
    margin: 0px auto; /* 上下に50pxの間隔を設定し、中央寄せ */
    padding: 1.25rem; /* 内側の余白を設定 */
    max-width: 70rem; /* コンテンツ幅を制限 */
}



/* 画像のスタイル */
.flow_img {
    display: block; /* 画像をブロック要素として扱う */
    margin: 0 auto; /* 画像を中央揃え */
    max-width: 40%; /* 画像が親要素を超えないようにする */
    height: auto; /* 縦横比を維持 */
    object-fit: contain;
    margin-top: 1.4rem;
}

/* コンテンツ間の間隔（別のHTMLファイル用） */
section {
    margin: 3.1rem 0; /* 上下に50pxの間隔を設定 */
}

.title {
    position: relative;
    font-size: 2.25rem;
    font-weight: bold;
    margin-top: 4rem;
    margin-bottom: 2.5rem;
    color: #333;
    text-align: center;
    z-index: 1;
    display: inline-block;
    padding: 0 10px;
}

.title::before {
    content: '';
    position: absolute;
    top: 78%; /* 帯の位置を調整 */
    left: 50%;
    transform: translate(-50%, -50%); /* 中央揃え */
    width: 150%; /* 帯の横幅 */
    height: 1.87rem; /* 帯の高さを調整 */
    background-color: rgba(200, 206, 178, 0.8); /* 帯の色 (少し透明に) */
    z-index: -1; /* 帯を文字の上に配置 */
    background: linear-gradient(to right, rgba(171, 206, 178, 0) 0%, rgba(171, 206, 178, 0.7) 25%, rgba(171, 206, 178, 0.7) 75%, rgba(171, 206, 178, 0) 100%);
    border-radius: 0.62rem; /* オプション: 角を丸める */
    pointer-events: none;
}

.title_container {
    color: #333;
}


.pc {
    display: block;
}

.sp {
    display: none;
}

#pc {
    display: block;
}

#sp {
    display: none;
}


/* 福利厚生 */
/* タイトルスタイル */

.title::before {
    content: '';
    position: absolute;
    top: 78%; /* 帯の位置を調整 */
    left: 50%;
    transform: translate(-50%, -50%); /* 中央揃え */
    width: 150%; /* 帯の横幅 */
    height: 1.87rem; /* 帯の高さを調整 */
    background-color: rgba(200, 206, 178, 0.8); /* 帯の色 (少し透明に) */
    z-index: -1; /* 帯を文字の上に配置 */
    background: linear-gradient(to right, rgba(171, 206, 178, 0) 0%, rgba(171, 206, 178, 0.7) 25%, rgba(171, 206, 178, 0.7) 75%, rgba(171, 206, 178, 0) 100%);
    border-radius: 0.62rem; /* オプション: 角を丸める */
    pointer-events: none;
}

.hukurikousei_contents {
    max-width: 75rem;
    margin: 0 auto;
    padding: 2rem 1rem;
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    justify-content: center;
}

.bene-card {
    background-color: #bee6d7;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    width: calc(33.33% - 2rem); /* PC版で3列表示 */
    max-width: 400px;
    text-align: center;
    margin: 1rem 0; /* 各カードの上下に余白を追加 */
    display: flex;
    flex-direction: column; /* 縦方向に要素を配置 */
    align-items: center; /* 中央揃え */
}

.bene-card-content {
    padding: 1rem;
    flex-grow: 1; /* 他の要素が画像に応じて伸縮 */
    display: flex;
    flex-direction: column;
    justify-content: flex-start; /* 上寄せで配置 */
    text-align: center;
}
.bene-card h2 {
    font-size: 2rem;
    margin: 0.5rem 0;
}
.bene-card p {
    margin: 0.5rem 0;
    font-size: 1.2rem;
}

.graph img {
    width: auto; /* 縦横比を保持しつつ画像を表示 */
    max-width: 90%; /* カード幅に対する最大サイズを設定 */
    height: auto; /* 画像の高さを自動調整 */
    margin: 1rem auto; /* 中央揃え */
    display: block; /* ブロック要素に変更 */
}

.graph {
    padding: 1rem 0; /* 上下に余白を追加 */
    display: flex;
    justify-content: center; /* 中央揃え */
}


.icon img{
    height: auto;
    object-fit: cover;
    padding: 1.5rem;
    align-items: center;
    width: 122px;
}

/* 数字で見るラフトワークス */


.suuji_contents {
    max-width: 75rem;
    margin: 0 auto;
    padding: 2rem 1rem;
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    justify-content: center;
    align-items: flex-start; /* 上寄せで整列 */
}


/*　制度  */


.system_container {
    text-align: center;
    margin-bottom: 8.75rem;
    padding: 0em 2em 0em 2em;
}

.system_container p {
    margin-top: 1.56rem;
    margin-bottom: 3.75rem;
}

.title_detail{
    margin: 3rem 1rem 1rem 1rem;
}
h3 {
    font-size: 3rem;
}

/* Footer */
* {
    margin: 0; padding: 0;
}

footer {
  background-color: #abceb2;
  color: whitesmoke;
  height: 7.5rem;
  width: 100%;
  text-align: center;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
}

.footer-menu {
  height: 6.75rem;
}

.copyright {
  text-align: center;
  line-height: 6.75rem;
  padding: 1.25rem;
  margin: 0.62rem;
  display: inline;
  list-style: none;
  text-align: center;
  padding-left: 0;
}


#bottom_btn {
    padding-bottom: 5rem;
}

.guidance_link h3 {
    font-size: 0.8rem;
}



@media (max-width: 767px){

    .header{
        padding: 1rem 0rem 1rem 0rem;
    }
    
    .space{
        height: 2.7rem;
    }   
    
    .logo img {
        height: 1.5rem;
        margin-left: 1rem;
        margin-right: 90%;
        object-fit: cover;
    }
    
    
    .form_btn {
        width: 0em;
    }
    
    .nav {
        margin-right: 10%;
    }
    
    .entry_button {
    
        align-items: center;
        display: grid;
    
    }
    
    
    .title {
        font-size: 1.75rem;
        margin-top: 1.8rem;
        margin-bottom: 2rem;
    }
    
    .job_contents_container{
        padding: 0em 2em 0em 2em;
    }
    
    .sp {
        display: block;
        }
    
    
    .pc {
        display: none;
    }
    
    #pc {
        display: none;
    }
    #sp {
        display: block;
    }
    
    .flow_img {
        max-width: 90%;
    }

    .character_contents{
        padding: 0rem 2rem 1rem 2rem ;
    }    

    .president_container {
        grid-template-areas: 
            "title"
            "img"
            "h5"; /* 画像とテキストを縦に並べるレイアウト */
        grid-template-columns: 1fr; /* 列を1列に変更 */
    }
    
    .president_img {
        justify-self: center; /* 横方向の中央揃え */
        align-self: center; /* 縦方向の中央揃え */
        margin: 0rem 0rem 0rem 0rem;
    }
    
    h5 {
        text-align: left; /* テキストも中央揃え */
        padding:0rem 1.3rem 0rem 1.3rem;
    }
    
    .button {
        padding:1rem 1em 3em 1em;
        align-items: center;
        display: grid;
    }

    #bottom_btn {
        padding-bottom: 0;
    }

    .guidance_top h3 {
        font-size: 1.5rem;
        margin-top: 1rem;
    }

    .guidance_bottom h3 {
        font-size: 1.5rem;
    }
    
    #drawer_input:checked ~ .nav_content {
        left: 40%; /* メニューを右側に表示 */
    }
    
    .nav_content {
        width: 60%;
    }
    
    .system_container{
        padding: 0em 2em 0em 2em;
    }
    
    .hukurikousei_contents {
        width: 70%;
        padding: 1rem 1rem;
        align-items: center;
    }
    
    /* 数字で見るラフトワークス */
    
    
    .suuji_contents {
        width: 70%;
        padding: 1rem 1rem;
        align-items: center;
    }
    
    .suuji_card {
        width: 80%;
        max-width: 80%;
    }
    
    .tankahendouseihousyuu h2 {
        padding-top: 1em;
    }
    
    .suujidemiru_container h1 {
        font-size: 1.75rem;
    }
    
    .suujidemiru_container .title::before {
        width: 110%; /* 帯の横幅 */
    }
    
    .slider-container p{
        font-size: 1.4rem;
    }
    
    .drawer_open {
        position: absolute;
        top: 0rem;
        right: 0.6rem;
        display: flex;
        height: 3.75rem;
        width: 3.75rem;
    
    }
    
    .title_container {
        font-size: 2rem;
    }
    
    }
    
    @media (max-width: 768px) {
        .bene-card {
            width: 100%; /* スマホ版で1列表示 */
        }
    }