@charset "UTF-8";

/* CSSリセット */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 100%;
}

body {
  line-height: 1.5;
  color: rgb(66, 53, 51);
  background-color: rgb(240, 239, 235);
  font-family: "Kosugi Maru", sans-serif;
  font-weight: 400;

}

/* 非表示（PC用） */
#menuhan {
  display: none;
}

#mobilemenu {
  display: none;
}

.artical {
  width: 70%;
  display: flex;
  flex-direction: column;
  /* 記事を縦並びにしたい場合 */
  padding-right: 1em;
  background-color: #ffffff;

}

.aside {
  width: 30%;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.footer {
  width: 100%;
  background-color: rgb(41, 128, 75);
  margin: 0;
  padding: 10px;
  color: #ffffff;
  text-align: center;
  border-top: 1px solid #ffffff;
  font-family: "M PLUS 1", sans-serif;
}

.logo {
  width: 250px;
  height: auto;
}

.menu {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3rem;
  max-width: 1000px;
  margin: 0 auto;
  width: 100%;
}

/* MENU*/
.index-header {
  position: relative;
  background-color: rgb(41, 128, 75);
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.index-nav {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.index-nav a,
.dropdown-toggle {
  text-decoration: none;
  background: none;
  border: none;
  color: #fff;
  font-size: 1rem;
  cursor: pointer;
  transition: opacity 0.3s ease;
}

.index-nav a:hover,
.dropdown-toggle:hover {
  opacity: 0.8;
}

.has-sub {
  position: static;
}

/* ドロップダウン */
.sub-menu {
  display: none;
  position: absolute;
  top: 60px;
  left: 0;
  width: 100%;
  z-index: 100;
  background-color: #fff;
  padding: 2rem 3rem;
  border-top: 2px solid #56b15a;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  justify-content: center;
  flex-wrap: wrap;
  gap: 2rem;
}

.sub-menu li {
  margin: 0 1.5rem;
}

.sub-menu a {
  text-decoration: none;
  color: #333;
  font-family: "M PLUS 1", sans-serif;
  font-weight: bold;
  transition: color 0.3s;
}

.sub-menu a:hover {
  color: #28a745;
}

.has-sub.open .sub-menu {
  display: flex;
}

/* MENU画像 */
.menu-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 120px;
  text-align: center;
}

.dropdown-toggle {
  background: none;
  border: none;
  color: #fff;
  font-size: 1rem;
  cursor: pointer;
  padding: 0;
}

.dropdown-toggle:hover {
  opacity: 0.8;
}

.dropdown-image {
  width: 110px;
  height: 110px;
  object-fit: cover;
  border-radius: 6px;
  margin-bottom: 0.5rem;
}

.dropdown-image:hover {
  transform: scale(1.1);
  transition: transform 0.3s ease;
}


/*index スライドショー*/
.slideshow-container {
  position: relative;
  width: 100%;
  height: 600px;
  overflow: hidden;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 1;
  transition: opacity 1s ease-in-out;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.index-background {
  position: absolute;
  background: rgba(0, 0, 0, 0.089);
  border-radius: 8px;
  color: #fff;
  padding: 10px;
  top: 40%;
  left: 5%;
  transform: translateY(-50%);
  /* 縦中央維持 */
  z-index: 10;
  text-align: left;
  pointer-events: none;
}

/*index 見出し*/
.midashi-h2 {
  font-family: "WDXL Lubrifont SC", sans-serif;
  font-size: 2.5rem;
  color: rgb(255, 255, 255);
  text-shadow: 2px 2px 2px #000000a2;
  font-weight: 400;
}

.midashi-p {
  font-family: "M PLUS 1", sans-serif;
  font-weight: 800;
  font-size: 1rem;
  color: white;
  text-shadow: 2px 2px 2px #000000;
  font-weight: 300;

}

/* 上に戻るよボタン */
#backbtn {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 999;
  cursor: pointer;
}

.back-btn-img {
  width: 100px;
  transition: 0.3s;
}

.back-btn-img:hover {
  content: url('06.png');
}

.back-btn-img.animate {
  transform: translateY(-20px);
  transition: transform 0.4s ease;
}

/* NEWS*/
.news {
  list-style: none;
  padding: 0;
  margin: 1rem auto;
  overflow: hidden;
  height: 5em;
  width: 60%;
  position: relative;
}

.news li {
  height: 1.5em;
  line-height: 1.5em;
  position: absolute;
  width: 100%;
  top: 0;
  left: 0;
  opacity: 0;
  transition: opacity 0.5s;
}

.news li.active {
  opacity: 1;
}

.news li a {
  display: block;
  padding: 1rem;
  border: 1px solid #ccc;
  background-color: #fff;
  text-decoration: none;
  color: #333;
  transition: color 0.3s;
}

.news li a:hover {
  color: #007acc;
  background-color: #fff;
  border-color: #ccc;
}

.news span {
  display: inline-block;
  font-size: 0.8rem;
  margin-right: 1rem;
  color: #777;
}

.news-h1 h1 {
  font-family: "Bungee", sans-serif;
  font-weight: 400;
  font-style: normal;
  color: #ffffff;
  width: 90%;
  margin: 0 auto;
  text-align: center;
  font-size: 2.5rem;
  background-color: rgb(41, 128, 75);
  border-radius: 4px;
  padding-top: 10px;
}

/* indexイラストボタン */
.btn-layout {
  width: 80%;
  margin: 0 auto;
}

.image-btn {
  display: flex;
  justify-content: center;
  /* 中央寄せ */
  flex-wrap: nowrap;
  /* 折り返し防止 */
  gap: 15px;
  margin-top: 20px;
  margin-bottom: 20px;
}

.image-btn a {
  width: 150px;
  /* 画像リンクの幅 */
  text-align: center;
}

.image-btn img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 4px;
}

/* トピックス１ */
.topix1 {
  margin: 0 auto;
  width: 100%;
  background-color: #ffffff;
  padding: 30px 0 30px 0;
  background-image: repeating-linear-gradient(45deg, #f9f9f9, #f9f9f9 20px, #fcfbfb 20px, #f3f3f3 30px);
}

.image-btn a:hover {
  transform: translateY(-4px) scale(1.02);
}

.topix1 h1 {
  width: 70%;
  font-size: 2rem;
  margin: 0 auto;
  text-align: center;
  font-family: "M PLUS 1", sans-serif;
}

.topix1 h2 {
  width: 90%;
  margin: 0 auto;
  padding-top: 20px;
  text-align: center;
  font-size: 1rem;
  color: rgb(223, 190, 44);
  font-family: "M PLUS 1", sans-serif;
}

.topix1 p {
  width: 60%;
  margin: 0 auto;
  padding: 20px;
  line-height: 2.5rem;
}

.topix1 h3 {
  width: 70%;
  margin: 0 auto;
  margin-top: 20px;
  padding: 10px;
  text-align: center;
  font-weight: 200;
  background-color: rgb(223, 190, 44);
  color: #ffffff;
  font-family: "M PLUS 1", sans-serif;
  font-weight: 400;
}

.topix1 img {
  display: block;
  margin: 0 auto;
  height: auto;
  border-radius: 8px;
}

/* トピックス２ */
.topix2 {
  margin: 0 auto;
  width: 100%;
}

.topix2 img {
  display: block;
  margin: 0 auto;
  max-width: 160px;
  height: auto;
  border-radius: 8px;
  background-color: #ffffff83;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.topix2 h1 {
  width: 70%;
  font-size: 2rem;
  margin: 0 auto;
  text-align: center;
  padding-bottom: 10px;
  font-family: "M PLUS 1", sans-serif;
}

.topix2 h2 {
  font-family: "M PLUS 1", sans-serif;
  width: 90%;
  margin: 0 auto;
  padding-top: 30px;
  text-align: center;
  font-size: 1rem;
  color: rgb(223, 190, 44);
}

.topix2 h3 {
  font-family: "M PLUS 1", sans-serif;
  width: 70%;
  margin: 0 auto;
  text-align: right;
  padding-bottom: 40px;
}

.topix2 h4 {
  width: 70%;
  margin: 0 auto;
  margin-top: 20px;
  padding: 10px;
  text-align: center;
  font-weight: 200;
  background-color: rgb(223, 190, 44);
  color: #ffffff;
  font-family: "M PLUS 1", sans-serif;
  font-weight: 400;
}

.topix2 h5 {
  width: 70%;
  margin: 0 auto;
  margin-top: 20px;
  padding: 10px;
  text-align: center;
  font-weight: 200;
  font-size: 1.25rem;
  background-color: rgb(223, 190, 44);
  color: #ffffff;
  font-family: "M PLUS 1", sans-serif;
  font-weight: 400;
}

.topix2 p {
  width: 60%;
  margin: 0 auto;
  padding: 20px;
  line-height: 2.5rem;
}

/* 横スライド画像は縦１００pxの画像を使用 */
.scroll-slider {
  position: relative;
  width: 100%;
  overflow-x: hidden;
  /* 横方向にはみ出し防止 */
  margin: 20px auto 60px auto;
  padding-bottom: 20px;
}

.scroll-track {
  display: flex;
  height: 180px;
  animation: scroll 20s linear infinite;
}

.scroll-track img {
  height: 100%;
  margin-right: 20px;
  object-fit: contain;
  display: block;
  flex-shrink: 0;
  /* 画像が縮まないようにする */
}

@keyframes scroll {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

/* 行動憲章 */
.conduct-list {
  text-align: left;
  width: 70%;
  margin: 0 auto;
  padding-left: 1.2rem;
  line-height: 2.2rem;
  list-style-type: disc;
  padding: 40px;
}

.conduct-list ul {
  border-top: 1px solid #27581c;
  border-bottom: 1px solid #27581c;
  padding: 0.5em 0 0.5em 1.5em;
}

.conduct-list ul li {
  line-height: 1.5;
  padding: 0.5em 0;
}

/* シンボルマーク */
.symbol {
  display: flex;
  align-items: center;
  /*高さ中央に揃える */
  flex-wrap: wrap;
  width: 70%;
  margin: 0 auto;
  padding: 30px;
  border: 2px solid #4CAF50;
  border-radius: 10px;
  background-color: #ffffff;
  box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.1);
  gap: 20px;
  min-height: 200px;
  /*最小高さを指定。画像の高さ変動おさえる */
}

.symbol img {
  max-height: 160px;
  /* 高さ制限をつけて可変対策 */
  width: auto;
  object-fit: contain;
  /*枠内に収める */
  margin: auto 0;
  border-radius: 6px;
  flex-shrink: 0;
}

.symbol-text {
  flex: 1;
  line-height: 1.8;
  color: #333;
}

/*線 */
.underline {
  background: linear-gradient(transparent 70%, rgb(223, 190, 44) 20%);
}

/*黄色サブメニュー */
.stick-menu {
  position: sticky;
  top: 0;
  background-color: #d6c636cc;
  padding: 10px 0;
  z-index: 100;
  text-align: center;
}

.stick-menu ul {
  font-family: "M PLUS 1", sans-serif;
  width: 70%;
  list-style: none;
  margin: 0 auto;
  padding: 0;
  display: flex;
  justify-content: center;
  gap: 40px;
}

.stick-menu a {
  color: rgb(66, 53, 51);
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.stick-menu a:hover {
  color: #ffffff;
}

/*ヘッダーの画像 */
.company {
  background-image: url("001.jpg");
  background-size: cover;
  height: 200px;
  width: 100%;
}

.business {
  background-image: url("003.jpg");
  background-size: cover;
  height: 200px;
  width: 100%;
}

.gaiyou {
  background-image: url("002.jpg");
  background-size: cover;
  height: 200px;
  width: 100%;
}

.social {
  background-image: url("004.jpg");
  background-size: cover;
  height: 200px;
  width: 100%;
}

.recruit {
  background-image: url("005.jpg");
  background-size: cover;
  height: 200px;
  width: 100%;
}

.form3 {
  background-image: url("006.jpg");
  background-size: cover;
  height: 200px;
  width: 100%;
}

/*ヘッダーの文字 */
.company h1 {
  color: #ffffff;
  font-family: "M PLUS 1", sans-serif;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.76);
  text-align: left;
  padding: 80px 0px 0px 80px;
}

.business h1 {
  color: #ffffff;
  font-family: "M PLUS 1", sans-serif;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.76);
  text-align: left;
  padding: 80px 0px 0px 80px;
}


.gaiyou h1 {
  color: #ffffff;
  font-family: "M PLUS 1", sans-serif;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.76);
  text-align: left;
  padding: 80px 0px 0px 80px;
}

.social h1 {
  color: #ffffff;
  font-family: "M PLUS 1", sans-serif;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.76);
  text-align: left;
  padding: 80px 0px 0px 80px;
}

.recruit h1 {
  color: #ffffff;
  font-family: "M PLUS 1", sans-serif;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.76);
  text-align: left;
  padding: 80px 0px 0px 80px;
}

.form3 h1 {
  color: #ffffff;
  font-family: "M PLUS 1", sans-serif;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.76);
  text-align: left;
  padding: 80px 0px 0px 80px;
}

/*会社概要の画像 */
.image-company {
  position: relative;
  width: fit-content;
  margin: 40px auto;
}

.image-company img {
  position: relative;
  display: block;
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  z-index: 1;
}

.image-company::before {
  content: "";
  position: absolute;
  top: 10px;
  left: 10px;
  width: 100%;
  height: 100%;
  background-color: rgb(41, 128, 75);
  border-radius: 10px;
  z-index: 0;
}


/*ISOの画像 */
.image-iso img {
  position: relative;
  display: block;
  max-width: 30%;
  height: auto;
  border-radius: 10px;
  border: 1px solid #ddd;
  z-index: 1;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.image-iso {
  position: relative;
  width: fit-content;
  margin: 40px auto;
}

/* 表（会社概要以外にも多用） */
.company-table table {
  width: 80%;
  max-width: 800px;
  margin: 40px auto;
  border-collapse: separate;
  border-spacing: 0;
  background-color: #fff;
  border: 1px solid #ccc;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}


.company-table th,
.company-table td {
  padding: 16px 20px;
  text-align: left;
  vertical-align: middle;
  /*縦方向の位置揃え*/
}

.company-table th {
  background-color: rgb(41, 128, 75);
  color: white;
  width: 30%;
  font-weight: 600;
  font-family: "M PLUS 1", sans-serif;
}

.company-table tr:nth-child(even) td {
  background-color: #f9f9f9;
}

/*事業目的*/
.list ol {
  counter-reset: item;
  list-style: none;
  padding: 0;
  margin: 40px auto;
  width: 50%;
}

.list ol li {
  counter-increment: item;
  position: relative;
  padding: 0.8em 1.5em 0.8em 3.2em;
  margin-bottom: 12px;
  border-left: solid 6px rgb(41, 128, 75);
  border-radius: 0 12px 12px 0;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
  line-height: 1.7;
  background: #ffffff;
}

.list ol li::before {
  content: counter(item) ".";
  position: absolute;
  left: 1em;
  top: 50%;
  transform: translateY(-50%);
  font-weight: bold;
  color: rgb(41, 128, 75);
  font-size: 1.1em;
}

/*会社位置図の説明文*/
.map-list ul {
  width: 30%;
  margin: 20px auto;
  padding: 0 0.5em;
  position: relative;
  background-color: #ffffff;
  border-radius: 8px;
  border: 2px solid #4e4e4e6e;
  box-shadow: 3px #000000;
  color: #4e4e4eaf;
}

.map-list ul li {
  line-height: 1.5;
  padding: 0.5em 0 0.5em 1.4em;
  border-bottom: dashed 1px silver;
  list-style-type: none !important;
}

.map-list ul li:last-of-type {
  border-bottom: none;
}

/*会社地図*/
.map {
  width: 60%;
  margin: 30px auto;
  padding: 10px;
  background: linear-gradient(to right, #1c862ec9, #d6c636cc);
  border: 2px solid #1c862e71;
  border-radius: 10px;
}

.map h4 {
  font-weight: 400;
  font-size: 1rem;
  text-align: center;
  color: #ffffff;
}

.map-frame {
  display: flex;
  justify-content: center;
  padding: 30px 0;
}

.map-frame iframe {
  width: 80%;
  height: 400px;
  max-width: 700px;
  border-radius: 10px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
  border: none;
}

/*営業所*/
.office-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
  margin-top: 40px;
}

.office-card {
  background: #ffffff;
  border: 1px solid #ddd;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  width: 220px;
  padding: 16px;
  text-align: center;
  transition: transform 0.3s ease;
}

.office-card:hover {
  transform: translateY(-4px);
}

.office-card img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 12px;
}

.office-card h3 {
  font-size: 1.1rem;
  margin-bottom: 6px;
  color: rgb(66, 53, 51);
}

.office-card p {
  font-size: 0.9rem;
  line-height: 1.4;
  color: rgb(66, 53, 51);
}

/*沿革*/
.history {
  padding: 40px 20px;
  background-color: #f9f9f9;
  max-width: 800px;
  margin: 0 auto;
}

.history img {
  width: 120px;
  border-radius: 10px;
  margin-left: 0;
}

.year-block {
  margin-bottom: 30px;
  border-left: 4px solid rgb(41, 128, 75);
  padding-left: 20px;
}

.year {
  font-size: 22px;
  font-weight: bold;
  color: rgb(41, 128, 75);
  font-family: "M PLUS 1", sans-serif;
  margin-bottom: 5px;
}

.month-block {
  margin-left: 10px;
  margin-bottom: 10px;
}

.month {
  font-weight: bold;
  margin-bottom: 5px;
}

.details {
  margin-left: 15px;
  padding-left: 1em;
  list-style-type: disc;
  color: #333;
  line-height: 1.6;
}

/*船舶*/
.card-ship {
  display: flex;
  flex-direction: column;
  /* ← 縦に並べる */
  gap: 20px;
  align-items: center;
  margin-top: 20px;
}

.ship-card {
  display: flex;
  width: 50%;
  background-color: #fdfdfd;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.ship-card img {
  max-width: 60%;
  margin: 0;
  object-fit: cover;
  display: block;
  border-radius: 0px;
}

.ship-text {
  width: 50%;
  padding: 100px 15px;
  box-sizing: border-box;
}

.ship-text h3 {
  text-align: center;
  margin-top: 20px;
  padding: 10px;
}

.ship-text p {
  width: 100%;
  text-align: center;
  padding: 0;
}

/*CSR等の説明タブ切換用*/
.tab-card {
  border: 1px solid #d6e3db;
  border-radius: 10px;
  background: #ffffff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
  overflow: hidden;
  max-width: 50%;
  margin: 40px auto;
}

.tab-headers {
  display: flex;
  background: #e6f0eb;
  border-bottom: 1px solid #c2d6cc;
}

.tab-btn {
  flex: 1;
  padding: 14px 16px;
  background: transparent;
  border: none;
  cursor: pointer;
  color: #247851;
  transition: all 0.3s;
  position: relative;
}

.tab-btn:hover {
  background: #dfece6;
}

.tab-btn.active {
  background-color: rgb(41, 128, 75);
  color: #ffffff;
}

.tab-body {
  padding: 20px;
  color: #333;
  line-height: 1.8;
  background-color: #ffffff;
}

.tab-body p {
  width: 90%;
}

.tab-body li {
  width: 80%;
  margin: 10px auto;

}

.tab-body ol {
  width: 90%;
  margin: 10px auto;
}

.tab-body h4 {
  width: 90%;
  margin: 0 auto;
  margin-top: 20px;
  padding: 10px;
  text-align: center;
  font-weight: 200;
  background-color: rgb(223, 190, 44);
  color: #ffffff;
  font-family: "M PLUS 1", sans-serif;
  font-weight: 400;
}

.tab-body a {
  width: 90%;
  display: block;
  margin: 10px auto;
  /* ★中央寄せするために追加！ */
  text-align: left;
}

.tab-body h3 {
  color: #247851;
  background-color: #ffffff;
  border-left: 4px solid rgb(41, 128, 75);
  border-right: 4px solid rgb(41, 128, 75);
  padding-bottom: 0px;
  text-align: center;
  margin-top: 10px;
}

.tab-body h2 {
  color: #247851;
  background-color: #ffffff;
  border-left: 2px solid rgb(41, 128, 75);
  text-align: left;
  width: 100%;
  padding: 0 0 0 10px;
}

.tab-body img {
  display: block;
  margin: 30px auto;
  max-width: 60%;
  height: auto;
  border-radius: 8px;
  background-color: #ffffff83;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.tab-body hr {
  width: 80%;
  margin: 20px auto;
  border: none;
  border-top: 1px solid #ccc;
}

.tab-content {
  display: none;
  animation: fadein 0.4s ease-in-out;
}

.tab-content.active {
  display: block;
}

/*認定画像*/
.nintei-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 16px;
  margin: 0 auto;
  width: 50%;
}

.nintei-item {
  text-align: center;
}

.nintei-item img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 6px;
  border: 1px solid #d6e3db;
  background: #ffffff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.nintei-item img:hover {
  transform: scale(1.05);
  opacity: 0.9;
}

.nintei-item a {
  display: block;
}

.nintei-caption p {
  width: 100%;
  margin: 15px auto 0;
  padding: 0;
  line-height: 1.2;
  font-size: 0.8rem;
}

/*SDGS画像*/
.sdgs-grid-wrapper {
  display: flex;
  justify-content: center;
}

.sdgs-grid {
  display: grid;
  grid-template-columns: repeat(4, 150px);
  justify-content: center;
  gap: 10px;
  margin-top: 30px;
}

.sdgs-item img {
  width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;

}

@keyframes fadein {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/*動画配置*/
.video-wrapper {
  position: relative;
  width: 100%;
  max-width: 720px;
  margin: 30px auto;
  aspect-ratio: 16 / 9;
}

.video-wrapper iframe {
  width: 100%;
  height: 100%;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

/*YouTubeのボタン*/
.youtube-btn {
  text-align: center;
  margin: 40px auto;
}

.youtube-btn a {
  display: inline-block;
  background-color: #bb2929;
  color: #fff;
  font-size: 1rem;
  font-weight: bold;
  padding: 12px 24px;
  border-radius: 6px;
  text-decoration: none;
  transition: background-color 0.3s ease, transform 0.2s ease;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.youtube-btn a:hover {
  background-color: #e60000;
  transform: scale(1.05);
}

/*共同研究説明*/
.research-box {
  width: 60%;
  padding: 10px;
  border-radius: 8px;
  border: 2px solid #ccc;
  background-color: #f9f9f9;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
  margin: 30px auto;
}

/*  /*共同研究画像*/
.inves-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  width: 50%;
  margin: 20px auto;
  align-items: start;
}

.inves-item img {
  width: 90%;
  height: auto;
  max-width: 100%;
  object-fit: cover;
  border-radius: 6px;
  transition: transform 0.3s ease;
}

.inves-item:hover img {
  transform: scale(1.03);
}

/*共同研究説明*/
.social-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  /* 2列に固定 */
  gap: 20px;
  width: 50%;
  margin: 20px auto;
  align-items: start;
}

.social-item img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 6px;
  transition: transform 0.3s ease;
}

.social-item:hover img {
  transform: scale(1.03);
}

/*NETIS画像*/
.netis-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  max-width: 100%;
  margin: 0 auto;
  align-items: start;
}

.netis-item img {
  width: 100%;
  max-width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 6px;
  transition: transform 0.3s ease;
}

.netis-item:hover img {
  transform: scale(1.03);
}

/*NETISキャッチフレーズ*/
.message h1 {
  font-size: 2.5em;
  margin-bottom: 20px;
  color: #f0ca21cc;
  font-family: "Lilita One", sans-serif;
  font-weight: 400;
  font-style: normal;
  border-bottom: 2px solid;
}

.message p {
  font-size: 1.2em;
  line-height: 1.6;
}

/* BLOGボタン */
.btn-blog-wrapper {
  display: flex;
  width: 75%;
  justify-content: center;
  align-items: center;
  margin: 20px auto;
}

.btn-blog a {
  display: inline-block;
  margin: 0 auto;
  padding: 10px 25px;
  max-width: 240px;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  background-color: rgb(41, 128, 75);
  border: 2px solid #1d3f2a;
  color: #f2f2f2;
  border-radius: 5px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 4px 0 rgba(0, 0, 0, 0.2);
  font-family: "M PLUS 1", sans-serif;
}

.btn-blog a:hover {
  transform: translateY(3px);
  box-shadow: 0 2px 0 rgba(0, 0, 0, 0.15);
  cursor: pointer;
}

.btn-blog a:active {
  transform: translateY(5px);
  box-shadow: none;
}

/*スライド２*/
.carousel-wrapper {
  width: 60%;
  /* ススライド範囲の幅 */
  max-width: 80%;
  margin: 20px auto;
  overflow: hidden;
  position: relative;
}

.carousel-inner {
  display: flex;
  width: max-content;
  /* スライド数に応じて自動調整 */
  animation: scrollAnimation 40s linear infinite;
}

.carousel-slide {
  width: 500px;
  /* ← スライド1枚の大きさ */
  padding: 0 5px;
  /* ← スライド間の間隔*/
  flex-shrink: 0;
}

.carousel-slide img {
  width: 100%;
  height: auto;
  display: block;
}

/*画像下の文字*/
.nintei-caption {
  text-align: center;
  margin-top: 8px;
  font-size: 0.95rem;
  color: #333;
}

.benefits {
  max-width: 800px;
  margin: 0 auto;
  padding: 1em;
}

.benefit {
  background-color: #f5f5f5;
  padding: 1em;
  margin-bottom: 1em;
  border-left: 5px solid #4CAF50;
}

.benefit h3 {
  margin-top: 0;
}

/*お問い合わせ*/
.form {
  max-width: 80%;
  margin: 0 auto;
  padding: 2rem;
  border-radius: 8px;
}

.form h4 {
  width: 80%;
  text-align: center;
  background-color: rgb(223, 190, 44);
  color: #ffffff;
  margin: 0 auto;
  padding: 10px;
  font-weight: 400;
}

.form ul {
  list-style: none;

}

.form p {
  width: 80%;
  margin: 0 auto;
  text-align: center;

}

.form input[type="text"],
.form input[type="email"],
.form input[type="tel"],
.form input[type="number"],
.form input[type="zip"],
.form textarea {
  width: 100%;
  padding: 0.75rem;
  background-color: #ffffff;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 1rem;
}

.form textarea {
  resize: vertical;
}

.form h4 span{
  color: crimson;
  font-size: 0.7rem;
  padding: 0;
}

.formspace{
	margin: 10rem 0;
}

.mwform-radio-field {
  display: inline-block;
  margin-right: 1rem;
}

.mwform-radio-field-text {
  margin-left: 0.25rem;
}

.form input[type="submit"]{
  display: flex;
  justify-content: center;
  border-style: none;
  margin-top: 1rem;
}

.form .button input[type="submit"] {
  padding: 0.75rem 1.5rem;
  background-color: #0073aa;
  color: #fff;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  margin: 0 auto;
}
.backbutton{
  text-align: center;
}

.form .button input[type="submit"]:hover {
  background-color: #074764;
}

.back{
  margin: 0 auto;
}

.form2 span{
  display: none;
}
.form h5{
  text-align: center;
  font-size: 1rem;
  margin-top: 2rem;
}


.error{
  color: crimson;
}

/*採用とキャリアの選択*/
.school-related {
  display: none;
}

@keyframes scrollAnimation {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-100%);
  }
}

/*画像下の文字*/
.message {
  text-align: center;
  margin: 20px auto 30px;
  font-family: "M PLUS 1", sans-serif;
  font-weight: 700;
}

/*社会貢献ドロップダウン*/
.social-dropdown {
  position: relative;
  margin-top: 1em;
}

.social-dropdown-toggle {
  background: #fff;
  border: 1px solid rgb(41, 128, 75);
  padding: 0.5em 1em;
  cursor: pointer;
  border-radius: 4px;
  margin-left: 22%;
  color: rgb(41, 128, 75);
  font-weight: bold;
  text-align: center;
  width: 220px;
  font-family: "M PLUS 1", sans-serif;
}

.social-dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: white;
  box-shadow: 0 4px 8px rgb(41, 128, 75);
  z-index: 999;
  margin-top: 0.2em;
  border-radius: 4px;
  padding: 0.5em 0;
  list-style: none;
  min-width: 200px;
  margin-left: 22%;
}

.social-dropdown-menu li a {
  display: block;
  padding: 0.5em 1em;
  text-decoration: none;
  color: rgb(41, 128, 75);
}

.social-dropdown-menu li a:hover {
  background-color: #f2f2f2;
}

/*採用情報表*/
.recruit-table table {
  width: 100%;
  max-width: 960px;
  border-collapse: collapse;
  margin: 2em auto;
  font-family: "M PLUS 1", sans-serif;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
}

.recruit-table th,
.recruit-table td {
  border: 1px solid #ccc;
  padding: 1em;
  text-align: left;
  vertical-align: top;
  line-height: 1.6;
}

.recruit-table th {
  background-color: rgb(41, 128, 75);
  color: #ffffff;
  font-weight: bold;
  white-space: nowrap;
}

.recruit-table td {
  background-color: #fcfcfc;
}

.recruit-table thead {
  background-color: rgb(41, 128, 75);
}

.recruit-table ul {
  padding-left: 1.5em;
  margin: 0;
}

/**/
.testimonial-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.5rem;
  justify-content: center;
  margin: 2rem auto;
  max-width: 1100px;
}

.testimonial-card {
  width: 100%;
  max-width: 600px;
  margin: 30px auto;
  background-color: #fff;
  border: 1px solid #ccc;
  border-radius: 12px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.testimonial-card img {
  width: 50%;
  height: auto;
  object-fit: cover;
  margin-top: 30px;
}

.testimonial-card p {
  width: 90%;
  padding: 20px;
}

/*よくある質問*/
.chat-container h1 {
  width: 100%;
  padding: 20px;
  margin-bottom: 30px;
  background-color: rgb(41, 128, 75);
  color: #ffffff;
  border-radius: 10px;
}

.testimonial-content {
  padding: 1rem;
}

.question {
  width: 90%;
  font-weight: bold;
  margin-top: 1rem;
  font-family: "M PLUS 1", sans-serif;
}

.answer {
  margin-top: 0.5rem;
  color: #555;
}

.testimonial-card hr {
  color: inherit;
  height: 0;
  overflow: visible;
  width: 80%;
  margin: 0 auto;
}

.chat-container {
  max-width: 70%;
  margin: 30px auto;
  padding: 20px;
  background: #f5f5f5;
  border-radius: 10px;
  border: 1px solid #5555555b;
}

.chat-container img {
  margin: 10px;
}

.chat {
  display: flex;
  align-items: flex-end;
  margin: auto;

}

.chat.left {
  justify-content: flex-start;
}

.chat.right {
  justify-content: flex-end;
}

.icon {
  width: 70px;
  height: 70px;
  margin: 0 10px;
}

.bubble {
  position: relative;
  padding: 10px 14px;
  border-radius: 20px;
  line-height: 1.5;
  transition: all 0.3s ease;
  transform: translateY(0);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  margin-bottom: 20px;
}

.bubble p {
  width: 100%;
  padding: 0;
}

.bubble:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
}

.chat.left .bubble {
  background: #fff;
  color: #333;
  margin-left: 20px;

}

.chat.right .bubble {
  background: #d7e9ba;
  color: #333;
  margin-right: 20px;
}

.tail {
  position: absolute;
  width: 0;
  height: 0;
  border: 10px solid transparent;
  top: 10px;
}

.tail.left {
  left: -18px;
  margin-top: 10px;
  border-right-color: #fff;
}

.tail.right {
  right: -18px;
  margin-top: 10px;
  border-left-color: #d7e9ba;
}

.interview-h3 h3 {
  width: 60%;
  margin: 0 auto;
  text-align: center;
  background-color: rgb(223, 190, 44);
  padding: 10px;
}

/*インタビュー枠*/
.box {
  background-color: #ffffff;
  width: 60%;
  border-radius: 10px;
  margin: 50px auto 30px auto;
  padding: 20px;
}

.box p {
  width: 80%;
  margin: 0 auto;
  padding: 20px;
  line-height: 2.5rem;
}

/* 説明文（多用）*/
.system h3 {
  border-left: 4px solid rgb(223, 190, 44);
  width: 60%;
  padding: 0px;
  text-align: left;
}

.system hr {
  margin: 0 auto 20px auto;
  width: 60%;
  border: none;
  border-top: px dotted rgb(223, 190, 44);
}

/* 説明文２（多用）*/
.system2 h3 {
  border-left: 4px solid rgb(223, 190, 44);
  width: 80%;
  padding: 0px;
  margin-top: 20px;
  text-align: left;
}

.system2 hr {
  margin: 0 auto 20px auto;
  width: 60%;
  border: none;
  border-top: px dotted rgb(223, 190, 44);
}

/* 職業紹介*/
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.modal-content {
  background-color: #fff;
  padding: 2rem;
  border-radius: 10px;
  max-width: 1000px;
  width: 90%;
  max-height: 80vh;
  /* 高さ制限を追加 */
  overflow-y: auto;
  /* はみ出したらスクロール表示 */
}

.modal-trigger-container p {
  width: 90%;
  margin: 0 auto;
}

.modal-body {
  display: block;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  text-align: center;
}


.modal-img {
  max-width: 50%;
  height: auto;
  margin-bottom: 1rem;
  border-radius: 6px;
}

.modal-text p {
  width: 90%;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 10px;
  margin: 10px;
}

.modal-body h1 {
  width: 100%;
  font-size: 1.25rem;
  margin: 10px auto;
  text-align: center;
  background-color: rgb(41, 128, 75);
  color: #ffffff;
}

.modal-trigger-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  max-width: 60vw;
  margin: 0 auto;
  padding: 1rem;
}


.modal-trigger {
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 6px;
  background-color: #f5f5f5;
  transition: background-color 0.3s ease;
  text-align: center;
  width: 100%;
  box-sizing: border-box;
}

.modal-trigger:hover {
  background-color: #e0e0e0;
}

.trigger-img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 6px;
  margin-bottom: 0.4rem;
}

.trigger-text {
  font-size: 0.95rem;
  font-weight: 600;
  margin: 0;
}

.blog-toolbar {
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
}

.dropdown {
  position: relative;
}

/* NEWS記事一覧*/
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
  width: 70%;
  margin: 0 auto;
}

.blog-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1em;
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.blog-card h3,
.blog-card h4 {
  font-size: 1em;
  margin: 0;
  padding: 0;
  box-shadow: none;
}

.blog-card img {
  width: 100%;
  height: auto;
  margin-bottom: 10px;
}

/* 記事*/
.blog {
  max-width: 70%;
  margin: 0 auto;
  background-color: #fff;
  border: 1px solid #e1e1e1;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  padding: 20px;
}

.blog hr {
  margin-bottom: 14px;
  border: 1px dashed #ddd;
}

.blog-title {
  font-size: 1em;
  border-bottom: 2px solid #eee;
  padding: 5px;
  background-color: rgb(223, 190, 44);
  border-radius: 4px;
  text-align: center;
  font-family: "M PLUS 1", sans-serif;
}

.blog-date {
  color: #999;
  font-size: 0.9em;
  margin: 4px auto;
}

.blog-image {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  /* 2列にする */
  gap: 16px;
  margin-top: 16px;
  width: 70%;
  margin: 30px auto;
}

.blog-image img {
  width: 100%;
  height: auto;
  object-fit: cover;
  aspect-ratio: 4 / 3;
  border-radius: 6px;
}

.blog-image2 img {
  width: 70%;
  height: auto;
  object-fit: cover;
  margin-left: 15%;
  border-radius: 6px;
}

.blog-content p {
  line-height: 1.7;
  margin-bottom: 10px;
  width: 80%;
  margin: 10px auto;
}
.blog-content img{
  text-align: center;
}

.blog-footer {
  font-size: 0.85em;
  color: #666;
  border-top: 1px dashed #ddd;
  margin-top: 25px;
  padding-top: 10px;
}
.blog-prev{
  display: flex;
  justify-content: space-between;
  margin: 2rem 4rem;
  font-size: 1rem;
}

.page {
  width: 20%;
  margin: 10px auto;
  border: 1px solid #ccc;
  border-radius: 5px;
  padding: 0.6rem;
  color: #3f7fea;
  text-align: center;
}

.container {
  display: flex;
  flex-wrap: wrap;
  /* モバイル対応も視野に */
}

/* 記事分類*/
.category-select {
  margin: 20px 0;
  display: flex;
  flex-direction: rou;
  align-items: center;
  gap: 10px;
  justify-content: center;
}

.category-select label {
  font-weight: bold;
  color: #333;
}

.category-select select {
  padding: 0.5em;
  border-radius: 4px;
  border: 1px solid #ccc;
  font-size: 1em;
}

/* NEWSサイド情報*/
.sidebar {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
  max-width: 400px;
  margin: 100px auto;
  padding: 1em;
  background-color: #f9f9f9;
  border-radius: 8px;
  box-sizing: border-box;
}

.sidebar-section {
  background-color: #ffffff;
  padding: 1em;
  border-radius: 6px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

.sidebar-section img {
  width: 100%;
}

.sidebar-section img:hover {
  transform: scale(1.05);
  opacity: 0.9;
}

.sidebar-section h3 {
  font-family: "M PLUS 1", sans-serif;
  text-align: center;
  padding-bottom: 10px;
}


/* サイドボタン*/
.contact-btn {
  padding: 10px 20px;
  border: none;
  background-color: #0073aa;
  color: white;
  border-radius: 4px;
  font-weight: bold;
  cursor: pointer;
  width: 100%;
  font-family: "M PLUS 1", sans-serif;
}

.contact-btn:hover {
  background-color: #005a87;
}

/*カレンダー*/
.calendar-box {
  width: 100%;
  padding: 1em;
  border-radius: 8px;
  box-sizing: border-box;
  margin: 0 auto;
}

.calendar{
  max-width: 280px;
  margin: 0 auto;
}

.calendar caption {
  caption-side: top;
  text-align: center;
  background-color: rgb(41, 128, 75);
  color: #ffffff;
  font-family: "M PLUS 1", sans-serif;
}

.calendar table {
  width: 100%;
  border-collapse: collapse;
  border: none;
}

.calendar th,
.calendar td {
  border: 1px solid #ccc;
  padding: 6px;
  text-align: center;
  width: 14.2%;
}
.calendar nav {
  width: 100%;
  margin: 10px auto;
  border: 1px solid #ccc;
  border-radius: 5px;
  padding: 0.6rem;
  color: #3f7fea;
  text-align: center;
}

/* 以下スマホ対応用*/
@media (min-width: 946px) {
  .mobile-menu-toggle {
    display: none;
  }

  .stick-menu {
    display: block !important;
  }

}

@media screen and (max-width:1200px) {
  .blog-grid {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  }

  .testimonial-card {
    width: 90%;
  }

  .chat-container {
    max-width: 90%;
  }

  .icon {
    width: 50px;
  }

  .bubble {
    padding: 0 20px;
  }

  .chat.right .bubble {
    margin-right: 0px;
  }

  .chat.left .bubble {
    margin-left: 10px;
  }

  .bubble p {
    width: 100%;
    padding: 10px;
    font-size: 0.8rem;
  }

  .chat {
    margin-top: 20px;
  }


  .chat-container h1 {
    padding: 0px;

  }

  .tail.right {
    right: -15px;
    margin-top: 10px;
  }

  .tail.left {
    left: -14px;
    margin-top: 0px;
  }

  .tail {
    border: 8px solid transparent;
  }

  .history {
    max-width: 600px;
  }

  .blog {
    max-width: 80%;
  }
}

@media screen and (max-width: 946px) {
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
    /* 常に2列表示 */
  }

  .artical {
    width: 90%;
    margin: 0 auto;
  }

  .aside {
    width: 80%;
    margin: 0 auto;
    display: inline-table;
  }

  .blog-grid {
    grid-template-rows: repeat(8, auto);
  }

  .sidebar {
    max-width: 800px;
  }

  .blog {
    max-width: 100%;
    width: 90%;
  }

  .carousel-wrapper {
    width: 60%;
    max-width: 80%;
    margin: 20px auto;
    overflow: hidden;
    position: relative;
  }

  .carousel-inner {
    display: flex;
    width: max-content;
    animation: scrollAnimation 40s linear infinite;
  }

  .carousel-slide {
    width: auto;
    height: 200px;
    padding: 0 5px;
    flex-shrink: 0;
  }

  .carousel-slide img {
    display: block;
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
  }

  .stick-menu {
    display: none;
    width: 100%;
    top: 43px;
  }

  .mobile-menu-toggle {
    position: sticky;
    width: 100%;
    background-color: #d6c636cc;
    top: 0;
    margin-left: auto;
    z-index: 600;
    text-align: center;
    padding: 10px;
    box-sizing: border-box;
  }

  .stick-menu ul {
    display: flex;
    flex-direction: column;
    padding: 0;
    margin: 0;
    gap: 0;
    font-family: "M PLUS 1", sans-serif;
  }

  .stick-menu li {
    list-style: none;
    padding-left: 10px;
    text-align: left;
    font-family: "Kosugi Maru", sans-serif;
  }

  .stick-menu li a {
    font-weight: 500;
    text-decoration: none;
  }

  .sdgs-grid {
    grid-template-columns: repeat(2, 150px);
  }

  .testimonial-cards {
    display: block;
  }

  .recruit-table table {
    width: 80%;
  }

}

@media screen and (max-width: 919px) {
  .blog-grid {
    grid-template-rows: repeat(10, auto);
    width: 90%;
  }

  .back-btn-img {
    width: 70px;
  }

  .footer {
    font-size: 0.8rem;
  }

  .slide img {
    height: auto;
  }

  .slideshow-container {
    height: 200px;
  }

  .index-background {
    top: 18%;
  }

  /*index 見出し*/
  .midashi-h2 {
    font-size: 1.25rem;
  }

  .midashi-p {
    display: none;
  }

  .index-nav {
    display: none;
  }

  #menuhan {
    position: fixed;
	display: flex;
    top: 5rem;
    right: 1rem;
    width: 40px;
    height: 40px;
    justify-content: center;
    background-color: rgb(41, 128, 75);
    border: none;
    border-radius: 8px;
    z-index: 300;
    cursor: pointer;
  }
  #menuhan span{
    position: absolute;
	width: 50%;
	height: 1px;
	background-color: #fff;
  }
	#menuhan span:nth-of-type(1){
		top: 13px;
	}
	#menuhan span:nth-of-type(2){
		top: 20px;
	}
	#menuhan span:nth-of-type(3){
		top: 27px;
	}

  #mobilemenu {
    display: none;
    position: fixed;
    inset: 0;
    background-color: rgb(0, 99, 39);
    z-index: 1000;
    padding: 2rem;
    overflow-y: auto;
    color: #ffffff;
  }

  #mobilemenu.open {
    display: block;
  }

  #closebtn {
    font-size: 1rem;
    text-align: center;
    color: #fff;
    cursor: pointer;
    margin-bottom: 1rem;
    border: 1px solid #ffffff;
  }

  .mobile-nav {
    list-style: none;
    padding: 0;
    margin: 0;
  }

  .dropdown-list {
    display: none;
    padding-left: 3rem;
  }

  .dropdown-btn {
    background: none;
    border: none;
    color: #fff;
    font-size: 1.2rem;
    padding: 0.6rem 0;
    text-align: left;
    width: 100%;
    cursor: pointer;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  }

  .logo {
    width: 200px;
  }

  .dropdown-btn:focus {
    outline: none;
  }

  .dropdown-list li {
    margin: 0.3rem 0;
  }
  

  .dropdown-list a {
    color: #fff;
    text-decoration: none;
    display: block;
  }

  .news {
    width: 80%;
  }

  .topix1 h1 {
    width: 80%;
    font-size: 1.5rem;
  }

  .topix1 p {
    width: 90%;
    line-height: 2rem;
  }

  .topix2 p {
    width: 90%;
    line-height: 2rem;
  }

  .topix2 h3 {
    font-size: 1rem;
    width: 90%;
  }

  .topix1 h3 {
    width: 80%;
    font-size: 1rem;
  }

  .company-table th {
    width: 10%;
  }

  .conduct-list {
    width: 80%;
    padding: 10px;
  }

  .symbol {
    display: block;
    width: 80%;
  }

  .symbol img {
    margin: auto;
    margin-bottom: 20px;
  }

  .company {
    height: 80px;
  }

  .company h1 {
    padding: 25px 0px 0px 10px;
    font-size: 1.25rem;
  }

  .social {
    height: 80px;
  }

  .social h1 {
    padding: 25px 0px 0px 10px;
    font-size: 1.25rem;
  }

  .business {
    height: 80px;
  }

  .business h1 {
    padding: 25px 0px 0px 10px;
    font-size: 1.25rem;
  }

  .recruit {
    height: 80px;
  }

  .recruit h1 {
    padding: 25px 0px 0px 10px;
    font-size: 1.25rem;
  }

  .form3 {
    height: 80px;
  }

  .form3 h1 {
    padding: 25px 0px 0px 10px;
    font-size: 1.25rem;
  }

  .stick-menu ul {
    width: auto;
  }

  .image-company img {
    margin: 0 auto;
    max-width: 50%;
  }

  .image-company::before {
    top: 10px;
    left: 115px;
    width: 50%;
  }

  th {
    width: 5%;
  }

  .map-list ul {
    width: 80%;
  }

  .map-list ul li {
    font-size: 0.8rem;
  }

  .list ol {
    width: 80%;
  }

  .topix2 h1 {
    font-size: 1.5rem;
  }

  .stick-menu {
    display: none;
    width: 100%;
    top: 43px;
  }

  .mobile-menu-toggle {
    position: sticky;
    width: 100%;
    background-color: #d6c636cc;
    top: 0;
    margin-left: auto;
    z-index: 600;
    text-align: center;
    padding: 10px;
    box-sizing: border-box;
  }

  .tab-btn {
    height: 200px;
    padding: 0px;
    writing-mode: vertical-rl;
    text-align: center;
  }

  .stick-menu ul {
    display: flex;
    flex-direction: column;
    padding: 0;
    margin: 0;
    gap: 0;
    font-family: "M PLUS 1", sans-serif;
  }

  .stick-menu li {
    list-style: none;
    padding-left: 10px;
    text-align: left;
  }

  .stick-menu li a {
    font-weight: 500;
    text-decoration: none;
  }

  .ship-card {
    flex-direction: column;
    width: 70%;
    height: auto;
  }

  .ship-card img {
    max-width: 100%;
    height: auto;
    margin: 0 outo;
  }

  .ship-text {
    width: 100%;
    text-align: center;
    padding: 15px;
    box-sizing: border-box;
  }

  .ship-text h3 {
    text-align: center;
    margin-top: 20px;
    padding-bottom: 10px;
  }

  .ship-text p {
    width: 100%;
    font-size: 0.8rem;
    text-align: center;
    padding: 0;
  }

  .tab-card {
    max-width: 90%;
  }

  .image-iso img {
    max-width: 60%;
  }

  .nintei-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    width: 70%;
  }

  .inves-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    width: 80%;
    margin: 20px auto;
    align-items: start;
    align-content: flex-end;
    flex-wrap: wrap;
  }

  .video-wrapper {
    width: 90%;
  }

  .video-wrapper {
    width: 90%;
  }

  .testimonial-card {
    width: 90%;
  }

  .box {
    width: 95%;
  }

  .modal-trigger-container {
    grid-template-columns: repeat(2, 1fr);
  }

  .modal-trigger-container {
    max-width: 70vw;
  }

  .btn-blog a {
    display: block;
    margin: 10px auto;
    padding: 10px 25px;
  }

  .modal-text p {
    width: 100%;
    margin: 20px auto;
  }

  .modal-img {
    max-width: 90%;
  }

  .form {
    max-width: 90%;
    padding: 10px;
  }

  .form h4 {
    width: 90%;
  }

  .form p {
    width: 90%;
  }

  .research-box {
    width: 90%;
  }
}

@media screen and (max-width:450px) {
  .inves-grid {
    display: flex;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    width: 80%;
    margin: 20px auto;
    align-items: start;
    align-content: flex-end;
    flex-wrap: wrap;
  }

  .artical {
    width: 100%;
  }

  .aside {
    width: 90%;
    margin: -70px auto;
    display: inline-table;
  }

  .form {
    max-width: 100%;
  }

  .form .button input[type="submit"] {
    margin-left: 34%;
  }
}