
/* ------------------------------------------
                  COMMON
------------------------------------------ */

:root {
	--text_main_color: #111111;
	--text_white_color: #ffffff;
	--text_middle_color: #767777;
	--main_color: #018ed1;
	--bg_color: #ffffff;
	--middle_color: #abc3e2;
	--header_bg_color: rgba(255,255,255,0.88);
}

html{
    scroll-padding-top: 77px;
}
body {
    padding-top: 80px;
    font:15px 'Lucida Grande','Hiragino Kaku Gothic ProN', Meiryo, sans-serif;
    color: var(--text_main_color);
    background-color: var(--bg_color);
    line-height: 1.75;
}
a {
    color: var(--main_color);
}
a:focus, a:hover {
    opacity: 0.7;
    color: var(--main_color);
    text-decoration: underline;
}

.navbar {
    --bs-navbar-toggler-focus-width: 0.125rem;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    margin-bottom: 0;
    padding: 0.5em 0;
    border-radius: 0;
    background: var(--header_bg_color);
    z-index: 1000;
    transition :all 0.2s ease-in-out 0s;
}
.sticky {
    padding: 0.25em 0;
    box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 3px 1px -2px rgba(0, 0, 0, 0.2), 0 1px 5px 0 rgba(0, 0, 0, 0.12);
}
.navbar h1 {
    text-align: left;
    font-size: 22px;
    padding-top: 14px;
    margin-bottom: 20px;
}
.navbar h1 a{
    color:  var(--main_color);
}
.navbar h1 img {
    width: auto;
    max-height: 60px;
    margin: -20px 0 -20px 0;
    transition :all 0.2s ease-in-out 0s;
}
.sticky h1 img {
    transform :scale(0.8);
}
.navbar-header {
    margin: 0;
}
.navbar-collapse {
    padding-left: 0;
    padding-right: 0;
    flex-grow: 0;
}

.navbar-nav {
    width: auto;
}

.navbar-nav > li {
    padding: 5px 0;
}
.navbar-nav > li > a,
.navbar-nav li > a:focus,
.smooth-scroll-scrolling .navbar-nav li.active > a {
    background: transparent;
    padding: 10px 12px;
    color:  var(--main_color);
    font-weight: bold;
    display: block;
    text-decoration: none;
}
.navbar-nav li > a:hover,
.navbar-nav li.active > a,
.navbar-nav li.force-active > a,
.smooth-scroll-scrolling .navbar-nav li.force-active.active > a,
.smooth-scroll-scrolling .navbar-nav li > a:focus,
.smooth-scroll-scrolling .navbar-nav li.active > a:focus {
    background: var(--main_color);
    color:  var(--text_white_color);
}

.header-buttonWrap {
  max-width: 120px;
  float: right;
}

ul.header-socialbtn {
    margin-bottom: 0;
    padding-left: 2rem;
}
ul.header-socialbtn li {
    display: inline-block;
    padding: 10px 0;
    list-style: none;
    line-height: 20px;
}
ul.header-socialbtn li a {
    min-width: 30px;
    display: inline-block;
    padding: 5px 0;
    color: #ffffff;
    text-align: center;
}
ul.header-socialbtn li.x-twitter a {
    background: #000000;
}
ul.header-socialbtn li.facebook a {
    background: #3B599C;
}
footer {
    padding: 15px 0;
    background: var(--middle_color);
    font-size: 86%;
    color: var(--text_main_color);
}

/* ------------------------------------------
             CONTENT COMMON STYLES
------------------------------------------ */
.content {
    padding: 2em 0;
}
.content article h1 {
    margin: 0 0 15px 0;
    font-size: 30px;
}
.content article h2 {
    font-size: 25px;
}
.content article h3 {
    font-size: 1.5em;
}
.content article p {
    margin-bottom: 1em;
}
.content article .row {
    margin-bottom: 1em;
}

/* ------------------------------------------
                 LOWER CONTENT
------------------------------------------ */
.mainvisual-lower {
    position: relative;
    z-index: 1;
    padding: 3.5em 0;
    background: url('https://iwakipc.co.jp/recruitment/images/bg-top-main.jpg') no-repeat center bottom;
    background-size: cover;
    color: var(--text_white_color);
}
.mainvisual-lower .overray {
    position: absolute;
    z-index: -1;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--main_color);
    opacity: 0.3;
}
.mainvisual-lower .row {
    display: table;
    width: 100%;
}
.mainvisual-lower .row .col-sm-12 {
    display: table-cell;
    width: 100%;
    vertical-align: middle;
}
.mainvisual-lower h2 {
    margin: 0;
    font-size: 40px;
}
.mainvisual-lower h2 i {
    padding-right: 10px;
    font-size: 50px;
}
.mainvisual-lower h2 a {
    color: #ffffff;
}
.mainvisual-lower h2 a:hover {
    color: #ffffff;
    text-decoration: underline;
}
.mainvisual-lower h2 a:focus {
    color: #ffffff;
    text-decoration: underline;
}

.entry-list article {
    margin-bottom: 3em;
    padding-bottom: 3em;
    border-bottom: solid 1px var(--middle_color);
}
.entry-list figure {
    float: right;
    margin-left: 2em;
    margin-bottom: 1em;
}
.entry-list figure img {
    width: 100%;
    border: solid 1px var(--middle_color);
    max-width: 240px;
}

.entry-meta time {
    display: inline-block;
    color: var(--text_main_color);
}
.entry-meta time span {
    display: inline-block;
}
.entry-meta .category {
    padding: 0.5em 0.8em;
    background: var(--middle_color);
    color: var(--text_main_color);
    margin-left: 8px;
    font-size: 0.825em;
}

.entry-meta a.category:hover {
	text-decoration: none;
}

.content article .entrytitle {
  font-size: 2.25em;
  margin-top: 0.5em;
  margin-bottom: 1em;
  color: var(--main_color);
}
.content article .entrytitle a:hover {
	text-decoration: none;
}

.entry-body {
  margin-bottom: 2em;
}

.entry-excerpt {
    margin-bottom: 1em;
}
.pagemore {
    text-align: left;
}
.content .entry-list h1 {
    margin-bottom: 15px;
    font-size: 20px;
    color: var(--text_middle_color);
}
.sidebar nav {
    margin-bottom: 2em;
    padding-bottom: 2em;
    border-bottom: solid 3px var(--middle_color);
}
.sidebar h3 {
    margin: 0 0 20px 0;
    font-size: 15px;
    font-weight: bold;
}

.sidebar ul {
    padding: 0;
    margin: 12px 0 auto 12px;
    list-style-type: none;
}
.sidebar ul li {
    margin: 0px 0px 12px 0px;
    margin-bottom: 0.5em;
    padding-bottom: 0.5em;
    list-style: none;
    border-bottom: solid 1px #e9e9e9;
}

.side-nav > ul > li {
  border-bottom: 0px;
}

.sidebar ul li:last-of-type {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}
h3.page-title {
    margin: 0 0 1em 0;
}

/* ------------------------------------------
                 ENTRY DETAIL
------------------------------------------ */
.entry-detail figure {
    margin-bottom: 2em;
}
.entry-detail img {
    max-width: 100%;
    height: auto;
}

/* ------------------------------------------
                    BTN
------------------------------------------ */
.btn-primary {
    background:  var(--main_color);
    border-color:  var(--main_color);
    padding: 8px 15px;
	 border-radius: 0;
}
.btn-primary:hover {
    background:  var(--main_color);
    border-color:  var(--main_color);
    opacity: 0.88;
}
.btn-secondary {
    background: var(--bg_color);
    border-color: var(--text_middle_color);
}
.btn-secondary:hover {
    background: var(--middle_color);
    border-color: var(--middle_color);
}
.btn-info {
    background: var(--main_color);
    border-color: var(--main_color);
}
.btn-info:hover {
	opacity: 0.7;
}
.btn-success {
    background: var(--main_color);
    border-color: var(--main_color);
}
.btn-success:hover {
	opacity: 0.7;
}

/* ------------------------------------------
                    TOP
------------------------------------------ */
body#sitetop {
    padding-top: 0;
}

.mainvisual {
    width: 100%;
    min-height: 400px;
    padding: 7em 0 3em 0;
    background: url('https://iwakipc.co.jp/recruitment/images/bg-top-main.jpg') no-repeat center bottom;
    background-size: cover;
    text-align: center;
    border-bottom: solid 1px #e9e9e9;
  	background-repeat: no-repeat;
  	background-attachment: fixed;
    background-position: 50% 50%;
}
.mainvisual h2 {
    text-shadow: 2px 4px 3px rgba(0,0,0,0.3);
    color: var(--text_main_color);
    margin: 0 0 20px 0;
}
.mainvisual .btn-group .btn {
    width: 300px;
}
.mainvisual .logo_images {
    width: auto;
    max-width: 40%;
    height: auto;
}
.main-text {
    color: var(--text_white_color);
}
.main-text a{
    color: var(--text_main_color);
}
.webpages {
    border-bottom: 1px solid var(--middle_color);
    color: var(--bg_main_color);
}
.webpages .container {
    padding: 50px 15px;
}
.webpages .image-top{
    padding: 10px 15px 50px 15px;
}
.webpages h3 {
    font-size: 2.8rem;
    color:var(--main_color);
    margin-bottom: 20px;
}
.webpages h4 {
    font-size: 22px;
    color:var(--main_color);
    font-weight: bold;
    padding-top: 10px;
}
.webpages h5 {
    font-size: 18px;
    color: #767777;
    font-weight: bold;
    padding-top: 10px;
    line-height: 30px;
}
.webpages img {
    height: auto;
}
.pageimage {
    height: 400px;
    background-position: 50% 50%;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: cover;
}

/* figure */
figure {
    margin: 16px 0;
}

figure figcaption {
    font-size: 0.75em;
    margin-top: 4px;
}
figure.mt-figure-center figcaption {
    text-align: center;
}

.top-news {
    padding: 3em 0;
    color: var(--main_color);
}

.top-news h3 {
    font-size: 40px;
    margin: 0 0 25px 0;
    text-align: center;
    color: var(--main_color);
}
.top-news  .col {
    margin-bottom: 15px;
}
.top-news a {
    display: block;
    height: 100%;
    padding-top: 16px;
    background: var(--bg_color);
    color: var(--text_main_color);
    box-shadow: 0 3px 4px 0 rgba(0, 0, 0, 0.14), 0 3px 3px -2px rgba(0, 0, 0, 0.2), 0 1px 8px 0 rgba(0, 0, 0, 0.12);
    text-decoration: none;
}

.top-news a:hover {
    text-decoration: none;
}
.top-news figure {
    display: block;
    height: 150px;
    overflow: hidden;
    margin-top: 0;
}
.top-news figure.noimage {
    height: 150px;
    background: var(--middle_color);
    text-align: center;
    line-height: 150px;
    color: var(--text_white_color);
    font-size: 30px;
}
.top-news figure img {
    width: 100%;
}
.top-news .entry-detail {
    padding: 1em;
}
.top-news h4 {
    margin: 0 0 0.5em 0;
    font-size: 114%;
}
.top-news p {
    margin: 0;
}
.top-news p.entry-excerpt {
    font-size: 86%;
}
.top-news .top-newslist {
    margin-top: 2em;
    text-align: center;
}

/* ------------------------------------------
               STYLE FOR TABLET
------------------------------------------ */
@media screen and (max-width:767px){
img {
    max-width: 100%;
}
header {
    margin-bottom: 5px;
}
.container > .navbar-header {
    position: relative;
    margin: 0 0 20px 0;
}
.navbar-nav {
    margin: 0;
    border: solid 1px var(--middle_color);
}
.navbar-nav > li {
    padding: 0;
}
button.navbar-toggle {
    position: absolute;
    right: 0;
    top: 0;
    padding: 8px 11px;
    margin-right: 0;
    background: var(--middle_color);
    border: solid 1px #f1f1f1;
    border-radius: 3px;
    font-size: 15px;
}
.container>.navbar-collapse {
    margin: 0;
}
ul.header-socialbtn {
    float: none;
    margin: 0;
    padding: 0;
    text-align: center;
}

.footer-logoarea {
    text-align: center;
}

footer .col-sm-6 {
    margin-bottom: 0;
}
.mainvisual .btn-group {
    display: block;
    text-align: center;
}
.mainvisual .btn-group .btn {
    display: inline-block;
    width: 45%;
    float: none;
    margin-bottom: 0.5em;
    border-radius: 3px;
}
.mainvisual .btn-group .btn:last-of-type {
    margin: 0;
}
.top-news .col {
    width: 100%;
    margin-bottom: 30px;
}
.top-news a {
    width: 90%;
    margin: 0 auto;
}
.sidebar {
    width: 100%;
}
.sidebar h3 {
    padding: 1em 0.7em;
    background: var(--main_color);
}
.entry-list figure {
    width: 40%;
}
}

/* ------------------------------------------
                  for sp
------------------------------------------ */
@media(max-width:768px){
.entry-list figure {
    display: none;
}
.mainvisual {
	background-attachment: scroll;
}
.pageimage {
	background-attachment: scroll;
    height: 250px;
}
.navbar h1 {
    font-size: 18px;
    padding-top: 18px;
}
.header-buttonWrap {
  max-width: none;
  float: none;
}
}

/* ------------------------------------------
                  for ipadpro
------------------------------------------ */
@media(max-width:834px){
.entry-list figure {
    display: none;
}
.mainvisual {
	background-attachment: scroll;
}
.pageimage {
	background-attachment: scroll;
    height: 250px;
}
.navbar h1 {
    font-size: 18px;
    padding-top: 18px;
}
}

/* ------------------------------------------
                  for safari
------------------------------------------ */
@media screen and (-webkit-min-device-pixel-ratio:0) {
    _::-webkit-full-page-media, _:future, :root .mainvisual {
	background-attachment: scroll;
	}
    _::-webkit-full-page-media, _:future, :root .pageimage {
	background-attachment: scroll;
}
}

/* ------------------------------------------
                  SNS
------------------------------------------ */
.entry-social-buttons ul {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  margin-bottom: 20px;
  margin-left: 0px;
  padding-left: 0px;
}

.entry-social-buttons ul li{
  margin-right: 0.5em;
  display: inline-block;
  margin-bottom: 10px;
  vertical-align: bottom;
  list-style: none;
}

/* ------------------------------------------
                  Pagination
------------------------------------------ */
.page-navigation {
    text-align: center;
}
.page-navigation ul{
    display: block;
    padding-bottom: 10px;
}
.page-navigation li {
    display: inline-block;
    border-bottom: none;
}
.page-navigation li a{
    padding: 0 10px;
}
.page-navigation li a[rel="prev"]::before {
    content: "«";
    margin-right: 0.3em;
}
.page-navigation li a[rel="next"]::after {
    content: "»";
    margin-left: 0.3em;
}

/* サブカテゴリー対応 */
.sidebar .catdepth-2 {
    position: relative;
    margin-bottom: 0px;
    margin-left: 0px;
}

.sidebar li.catdepth-2  {
    border: 0px;
}

.sidebar .catdepth-2 .nolink {
    color: var(--text_middle_color);
}
.sidebar .catdepth-2 .nolink::after {
    content: "(0)";
}

.sidebar .catdepth-2::before {
    content: "└";
    position: absolute;
    left: -1em;
    top: 2px;
}

.sidebar .catdepth-3 {
    position: relative;
    margin-left: 12px;
}

.sidebar .catdepth-3 .nolink {
    color: #999999;
}
.sidebar .catdepth-3 .nolink::after {
    content: "(0)";
}

.sidebar .catdepth-3::before {
    content: "└";
    position: absolute;
    left: -1em;
    top: 2px;
}


/* ------------------------------------------
            webpush
------------------------------------------ */
.webpush {
display: none;
}
.pushArea {
  margin: 0rem auto 2rem;
}

.pushArea a {
  text-decoration: none;
}

.mtnet-push-notification-service-enabled .webpush {
  display: block;
}

.side-webpush {
  max-width: 100%;
  display: block;
  text-align: center;
  padding: 12px;
  background-color: var(--main_color);
  color: var(--text_white_color);
  line-height: 1.25;
  border-radius: 3px;
}

.side-webpush__txt {
  text-align: center;
}
@media(max-width:990px){
  .side-webpush__txt-br {
    display:none; 
  }
}

.side-webpush__txt::before {
  content: "\f0f3";
  margin-right: 0.25rem;
  font-size: 1.25em;
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
}

.mtnet-subscription-modal-fold {
	background: var(--main_color) !important;
}


/* ------------------------------------------
            ボタン
------------------------------------------ */
a.btn-border {
  border: 2px solid #000;
  border-radius: 0;
  background: #fff;
}

a.btn-border:hover {
  border: 2px solid #000;
  color: #fff;
  background: #0cb13a;
}

*,
*:before,
*:after {
  -webkit-box-sizing: inherit;
  box-sizing: inherit;
}

html {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  font-size: 62.5%;/*rem算出をしやすくするために*/
}

.btn,
a.btn,
button.btn {
  font-size: 1.6rem;
  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;
}

 /* 左下に画像バナーを配置 */
@media (max-width: 750px){
.floating-banner {
  position: fixed;
  bottom: 20px; /* 画面下から20pxの距離 */
  left: 20px;  /* 画面左から20pxの距離 */
  width: 150px;  /* バナーの幅を指定 */
  height: auto;  /* 高さを自動調整 */
  z-index: 9999;  /* 他の要素よりも前面に表示 */
}
}

@media (min-width: 751px){
.floating-banner {
  position: fixed;
  bottom: 20px; /* 画面下から20pxの距離 */
  left: 20px;  /* 画面左から20pxの距離 */
  width: 200px;  /* バナーの幅を指定 */
  height: auto;  /* 高さを自動調整 */
  z-index: 9999;  /* 他の要素よりも前面に表示 */
}
}

.floating-banner img {
  width: 100%;  /* バナー内で画像の幅を100%にする */
  height: auto; /* 画像の比率を保ちながら自動調整 */
}


/* ======================================= */
/* スライダー */
/* ======================================= */
.top_image {
  background-color: #fff;
}

.slide {
  position: relative;
  width: 100%;
  
  /* ★修正1: padding-topで高さを固定し、ズレを防ぐ */
  /* - 画像の縦横比に応じて値を調整してください。 */
  /* - 例: 16:9の場合 56.25% */
  /* - 例: 2:1の場合 50% */
  /* - 例: 4:3の場合 75% */
  padding-top: 56.25%; 
  height: 0; /* padding-topで高さを定義するため、heightは0にする */
  
  overflow: hidden;
}

/* ▼ スライドアイテム (子要素) */
.slide-item {
  /* ★修正2: activeな時も inactiveな時も position: absolute を維持する（重要） */
  position: absolute; 
  /* top, leftだけでなく、全体を覆うようにする */
  top: 0;
  left: 0;
  width: 100%;
  height: 100%; /* 親要素の固定された高さいっぱいに広げる */
  
  opacity: 0;
  transition: opacity 1s ease-in-out;
  pointer-events: none;
  z-index: 0;
}

/* ▼ アクティブなスライド */
.slide-item.active {
  /* position: relative; の設定は削除し、absoluteを維持します */
  opacity: 1;
  pointer-events: auto;
  z-index: 1;
}

.slide-item a {
  display: block;
}

.slide-inner {
  line-height: 0;
}

/* ======================================= */
/* ▼ 1. 画像が画面幅からはみ出ないように修正 */
/* ======================================= */
.slide-img {
  width: 100%;
  height: 100%; /* 親要素(slide-item)の高さ100%に合わせる */
  object-fit: cover; /* 画像が欠けてもコンテナを覆うようにする */
  vertical-align: bottom; 
  display: block;
}

.slide-inner.no-link {
  cursor: default;
}

/* ======================================= */
/* ▼ 2. ドットナビゲーションが表示されるように修正 */
/* ======================================= */
.dots {
  position: relative; /* 重ねずに通常の配置にする */
  width: 100%;
  display: flex;
  justify-content: center; /* 中央揃え */
  align-items: center;
  margin-top: 15px;    /* 画像との隙間 */
  padding-bottom: 20px; /* 下側の余白 */
  z-index: 10;
}

/* ドットのスタイル */
.dot {
  /* 背景が白系になるため、ドットの色を濃いグレーに変更 */
  background: #ccc; 
  border: none;
  cursor: pointer;
  width: 12px;       /* サイズを少し調整 */
  height: 12px;
  border-radius: 50%;
  margin: 0 6px;     /* ドット同士の間隔 */
  padding: 0;
  transition: all 0.3s ease;
}

/* アクティブなドット */
.dot.active {
  background: #555; /* 現在地を濃い色に */
  transform: scale(1.2); /* 少し大きくして強調 */
}


/* ------------------------------------------
   2カラムレイアウト (デスクトップ/タブレット)
------------------------------------------ */

.two-column-section {
    display: flex;         /* Flexboxを有効にして子要素を横並びにする */
    gap: 40px;             /* カラム間の隙間 */
    /*align-items: center;   /* 垂直方向の中央揃え */
    padding: 40px 20px;    /* セクションの上下左右の余白 */
    max-width: 70%;     /* コンテンツの最大幅（任意で調整） */
    margin: 0 auto;        /* 中央揃え */
}

.column-left {
    flex-basis: 50%;       /* 左カラムの幅を50%に設定 */
    flex-shrink: 0;        /* 画面が狭くなっても縮まないようにする */
}

.column-right {
    flex-basis: 50%;       /* 右カラムの幅を50%に設定 */
    flex-shrink: 0;
}

.column-image {
    width: 100%;           /* 画像を親要素の幅いっぱいに広げる */
    height: auto;          /* 画像のアスペクト比を維持 */
    display: block;        /* 画像下の数ピクセルの隙間を削除 */
    border-radius: 6px;    /* 角を丸くする（任意） */
}

/* その他のスタイル（任意） */
.two-column-section h2 {
    font-size: 28px;
    margin-top: 0;
}

.read-more-button {
    display: inline-block;
    padding: 10px 20px;
    margin-top: 20px;
    background-color: #333;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
}

/* ------------------------------------------
   レスポンシブ対応: カラム落ち（画面幅が767px以下）
------------------------------------------ */
@media (max-width: 767px) {
    .two-column-section {
        flex-direction: column; /* ★重要：横並びから縦並び（カラム落ち）に変更 */
        gap: 30px;              /* 縦に並んだ時の隙間 */
        padding: 40px 15px;     /* モバイル時の余白調整 */
    }

    /* 縦並びになった時、両方のカラム幅を100%にする */
    .column-left,
    .column-right {
        flex-basis: 100%;       /* 幅を画面いっぱいに */
        width: 100%;
    }
    
    /* ※補足：モバイルで写真が上、文章が下になるようにしたい場合 */
    /* .column-left { order: 2; }
    /* .column-right { order: 1; } */
}

/*動画レスポンシブ*/
.youtube {
  width: 70%;
  aspect-ratio: 16 / 9;
}
.youtube iframe {
  width: 100%;
  height: 100%;
}


/* SPメニュー修正 */
@media (max-width: 991px) {
  /* --- メニュー全体のスタイル --- */
  .navbar-collapse {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    height: 100dvh !important;
    z-index: 9999 !important;
    display: block !important;
    
    /* --- 背景の透明度をさらに上げる (0.9 → 0.7) --- */
    /* 数値を小さくするほど透明になります */
    background-color: rgba(255, 255, 255, 0.7) !important; 
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);

    /* フェードエフェクト */
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease !important;
  }

  /* 表示時 */
  .navbar-collapse.show {
    opacity: 1 !important;
    visibility: visible !important;
  }

  /* --- 背後のスクロールを「完全に」禁止する設定 --- */
  body.nav-open {
    /* 画面を固定してスクロールを物理的に封じます */
    overflow: hidden !important;
    position: fixed !important;
    width: 100% !important;
    height: 100% !important;
    /* iOSでの引っ張りスクロールも防止 */
    touch-action: none; 
  }
}
@media (max-width: 991px) {
  .navbar-collapse {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important; /* ★右端まで固定 */
    width: 100% !important; /* ★幅100%を保証 */
    height: 100dvh !important;
    margin: 0 !important;
    padding: 0 !important;
    z-index: 9999 !important;
    
    background-color: rgba(255, 255, 255, 0.7) !important; 
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);

    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease !important;
    display: block !important;
  }

  /* --- 閉じるボタンのデザイン --- */
  .menu-close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 44px;
    height: 44px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 10000;
  }

  /* ×印の作成（2本の線） */
  .menu-close-btn span {
    display: block;
    position: absolute;
    left: 50%;
    top: 50%;
    width: 30px;
    height: 2px;
    background-color: #333; /* 線の色 */
  }

  .menu-close-btn span:nth-child(1) {
    transform: translate(-50%, -50%) rotate(45deg);
  }

  .menu-close-btn span:nth-child(2) {
    transform: translate(-50%, -50%) rotate(-45deg);
  }

  /* 画面固定の強化 */
  body.nav-open {
    overflow: hidden !important;
    position: fixed !important;
    width: 100% !important;
    height: 100% !important;
    left: 0 !important; /* ★左端に固定 */
  }
}

/* --- 1. まず、すべての画面サイズで閉じるボタンを非表示にする --- */
.menu-close-btn {
  display: none;
}

/* --- 2. スマホ・タブレット表示（991px以下）の時だけ表示する --- */
@media (max-width: 991px) {
  .menu-close-btn {
    display: block; /* ここで表示を有効にする */
    position: absolute;
    top: 20px;
    right: 20px;
    width: 44px;
    height: 44px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 10000;
  }

  /* ×印の線のスタイル（前回の設定を維持） */
  .menu-close-btn span {
    display: block;
    position: absolute;
    left: 50%;
    top: 50%;
    width: 30px;
    height: 2px;
    background-color: #333;
  }
  .menu-close-btn span:nth-child(1) { transform: translate(-50%, -50%) rotate(45deg); }
  .menu-close-btn span:nth-child(2) { transform: translate(-50%, -50%) rotate(-45deg); }
}

/* ==========================
   2カラム（幅固定・安定版）
========================== */
.two-col {
  width: 100%;
}

.two-col__inner {
  max-width: 1100px;
  margin: 0 auto;
  /*padding: 0 18px;*/

  display: grid;
  grid-template-columns: 1fr 1fr; /* 常に左右50%固定 */
  gap: 40px;

  box-sizing: border-box;
}

.two-col__col {
  width: 100%;
  box-sizing: border-box;
}

/* 画像が入っても幅が変わらない */
.two-col__image {
  width: 100%;
  margin: 0;
}

.two-col__image img {
  width: 90%;
  max-width: 300px;
  height: auto;
  display: block;
  object-fit: contain;
}

/* テキスト */
.two-col__text h2 {
  margin: 0 0 1rem;
}

.two-col__text p {
  margin: 0;
  line-height: 1.8;
}

/* ==========================
   レスポンシブ（SP）
========================== */
@media (max-width: 768px) {
  .two-col__inner {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

/* ==========================
   テーブル
========================== */
@media (max-width: 768px) {
.table_pc{
   border-collapse: collapse;
   width: 100%;
   border-spacing: 1px;
   background-color: rgb(221, 221, 221);
   border: 0px solid rgb(221, 221, 221);
   margin-left: auto;
   margin-right: auto;
}
}

@media (min-width: 769px) {
.table_pc{
   border-collapse: collapse;
   width: 55%;
   border-spacing: 1px;
   background-color: rgb(221, 221, 221);
   border: 0px solid rgb(221, 221, 221);
   margin-left: auto;
   margin-right: auto;
}
}

@media (max-width: 768px) {
  /* sp */
.table_pc2{
   border-collapse: collapse;
   width: 100%;
   border-spacing: 1px;
   background-color: rgb(221, 221, 221);
   border: 0px solid rgb(221, 221, 221);
   margin-left: auto;
   margin-right: auto;
}
}

@media (min-width: 769px) {
   /* pc */
.table_pc2{
   border-collapse: collapse;
   width: 70%;
   border-spacing: 1px;
   background-color: rgb(221, 221, 221);
   border: 0px solid rgb(221, 221, 221);
   margin-left: auto;
   margin-right: auto;
}
}

CSS ----------------------------------------

/*ボタン */
/*まずはお決まりのボックスサイズ算出をborer-boxに */
*,
*:before,
*:after {
  -webkit-box-sizing: inherit;
  box-sizing: inherit;
}

html {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  font-size: 62.5%;/*rem算出をしやすくするために*/
}

.btn,
a.btn,
button.btn {
  font-size: 1.6rem;
  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-border {
  border: 2px solid #000;
  border-radius: 0;
  background: #fff;
}

a.btn-border:hover {
  color: #fff;
  background: #000;
}



/*  見出し  */
h2 {
  position: relative;
  /*display: inline-block;*/
  margin-bottom: 1em;
  font-size: 3.5rem;
  text-align: center;
  font-weight: 700;
  color: #2f318d;
  line-height: 1.5;
}
h2:before {
  content: '';
  position: absolute;
  bottom: -25px;
  display: inline-block;
  width: 60px;
  height: 5px;
  left: 50%;
  -webkit-transform: translateX(-50%);
  transform: translateX(-50%);
  background-color: #2f318d;
  border-radius: 2px;
}

h3 {
  position: relative;
  font-size: 3rem;
  color: #2f318d;
  margin-top: 0px;
  margin-bottom: 20px;
  font-family: inherit;
  font-weight: bold;
  line-height: 1.6;
  text-align: center;
}

h4 {
  position: relative;
  font-size: 30px;
  margin-top: 0px;
  margin-bottom: 20px;
  font-family: inherit;
  font-weight: 600;
  line-height: 1.6;
  color: inherit;
}

h4.fk {
  padding-bottom: 0.5em;/*文字周りの余白*/
  color: #2a3098;/*文字色*/
  /*background: #eaf3ff;/*背景色*/
  border-bottom: solid 2px #516ab6;/*下線*/
}

h5 {
  display: inline-block;
  color: #2a3098;
  font-size: 30px;
  font-weight: bold;
  position: relative;
  /*padding: 0 0 0 2.4em;*/
  text-align: left;
}

h6 {
  position: relative;
  color: white;
  background: #81d0cb;
  line-height: 1.4;
  padding: 0.5em 0.5em 0.5em 1.8em;
}

h6:before {
  font-family: "Font Awesome 5 Free";
  content: "\f14a";
  font-weight: 900;
  position: absolute;
  left : 0.5em; /*左端からのアイコンまでの距離*/
}

.fm{
  font-family: "Zen Old Mincho", serif;
  font-weight: 400;
  font-style: normal;
  text-align: center;
}

  /*  スライダー  */
/*-------------
  slide
-------------*/
.slide {
  position: relative;
  width: 100%;
  padding-top: 45.5%;
  overflow: hidden;
}

.slide img {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: auto;
}

@keyframes slideshow {
  0%{
    opacity: 0;
  }
  10%{
    opacity: 1;
  }
  28%{
    opacity: 1
  }
  38%{
    opacity: 0;
  }
  100%{
    opacity: 0;
  }
}

.slide img {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: auto;
  opacity: 0;
  animation :slideshow 24s linear infinite;
}

.slide img:nth-child(2){
  animation-delay: 8s;
}
 
.slide img:last-child{
  animation-delay: 16s;
}

/* スライダー新 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.wrapper {
  max-width: 100vw;
  overflow: hidden;
  width: 100%;
  /*position: relative;*/
  /*height: 435px;*/
  height: auto;
}

.next {
  width: 40px;
  height: 40px;
  position: absolute;
  right: 0;
  bottom: 130px;
  transition: all 0.3s;
  z-index: 10;
  cursor: pointer;
}

.next::after {
  content: "";
  display: block;
  width: 15px;
  height: 15px;
  border-top: solid 3px #828282;
  border-right: solid 3px #828282;
  -webkit-transform: rotate(45deg);
  transform: rotate(45deg);
  position: absolute;
  right: 15px;
  top: 10px;
}

.next:hover {
  background-color: #fff;
  transition: all 0.3s;
}

.prev {
  width: 40px;
  height: 40px;
  position: absolute;
  left: 0;
  bottom: 130px;
  transition: all 0.3s;
  z-index: 10;
  cursor: pointer;
}

.prev::after {
  content: "";
  display: block;
  width: 15px;
  height: 15px;
  border-top: solid 3px #828282;
  border-right: solid 3px #828282;
  -webkit-transform: rotate(-135deg);
  transform: rotate(-135deg);
  position: absolute;
  left: 15px;
  top: 10px;
}

.prev:hover {
  background-color: #fff;
  transition: all 0.3s;
}

.slider {
  width: 400vw;
  display: flex;
  margin: 0 auto;
}

.slider1 {
  transform: translateX(0);
  transition: all 0.3s;
}

.slider2 {
  transform: translateX(-100vw);
  transition: all 0.3s;
}

.slider3 {
  transform: translateX(-200vw);
  transition: all 0.3s;
}

.slider4 {
  transform: translateX(-300vw);
  transition: all 0.3s;
}

.content {
  width: 100%;
  /*max-width: 100vw;*/
  height: auto;
  display: flex;
  justify-content: center;
  align-items: center;
}

/*
.content1 {
  background-color: #ededed;
}

.content2 {
  background-color: #cfcfcf;
}

.content3 {
  background-color: #9c9c9c;
}

.content4 {
  background-color: #636363;
}
*/

.indicator {
  width: 100%;
  position: absolute;
  bottom: 10px;
  display: flex;
  z-index: 10;
  justify-content: center;
  align-items: center;
}

/*li {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  position: relative;
  list-style: none;
  border: 1px #000 solid;
  margin-left: 10px;
  margin-right: 10px;
  cursor: pointer;
}

li:after {
  content: "";
  width: 20px;
  height: 20px;
  border: 1px #000 solid;
  border-radius: 50%;
  position: absolute;
  top: -4px;
  left: -4px;
  z-index: 9;
}*/

#list1 {
  background-color: #000;
}


/*全幅画像*/

.fullimage1 {
  width: 100vw;
  height: 100vh;
  margin: 0 calc(50% - 50vw);
  background-image: url(https://iwakipc.co.jp/recruitment/.assets/%E6%8E%A1%E7%94%A8%E6%83%85%E5%A0%B1.png);
  background-size: cover;
  background-position: center;
}

.fullimage2 {
  /*width: 100vw;*/
  height: 80vh;
  margin: 0 calc(50% - 50vw);
  background-image: url(https://iwakipc.co.jp/recruitment/.assets/companyMV.jpg);
  background-size: cover;
  background-position: center;
}

.fullimage3 {
  /*width: 100vw;*/
  height: 80vh;
  margin: 0 calc(50% - 50vw);
  background-image: url(https://iwakipc.co.jp/recruitment/.assets/memberMV.jpg);
  background-size: cover;
  background-position: center;
}

.fullimage4 {
  /*width: 100vw;*/
  height: 80vw;
  margin: 0 calc(50% - 50vw);
  background-image: url(https://iwakipc.co.jp/recruitment/.assets/worksMV.jpg);
  background-size: cover;
  background-position: center;
}