/**********************
　　　　共通部分
***********************/
body {
  font-family: 'Noto Sans JP', 'Hiragino Sans', sans-serif;
  font-weight: 300;
  margin: 0;
  padding: 0;
  background: #fff;
  color: #333;
  line-height: 1.8;
  padding-top: 85px; /* ヘッダーの高さ分だけ余白を取る */
}

h1, h2 {
  color: #4a8ca4;
  font-weight: 500;
  text-align: center;
  margin-bottom: 1.5rem;
}

.container {
  max-width: 960px;
  margin: auto;
  padding: 2rem;
}

.cta-button {
  display: inline-block;
  padding: 1rem 2.5rem;
  background: #a3d5e0;
  color: #fff;
  font-weight: bold;
  text-decoration: none;
  font-size: 1.1rem;
  border-radius: 6px;
  transition: background 0.3s ease;
}

.cta-button:hover {
  background: #8cc3d0;
}

#backToTop {
  position: fixed;
  bottom: 40px;
  right: 30px;
  display: none;
  z-index: 999;
  background-color: #4a8ca4;
  color: #fff;
  border: none;
  padding: 0.8rem 1.2rem;
  border-radius: 50%;
  font-size: 1.2rem;
  cursor: pointer;
  transition: background-color 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

#backToTop:hover {
  background-color: #347188;
}
/**********************
　　ヒーロー共通
***********************/
.hero {
  position: relative;
  width: 100%;
  height: 80vh;
  overflow: hidden;
}

.hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  z-index: 0;
}

.hero-headline h1 {
  font-size: 1.8rem;
  line-height: 1.6;
}

.catchcopy {
  background: rgba(0, 0, 0, 0.3); /* ← 黒系オーバーレイ（30%透過） */
  padding: 1rem 2rem;
  border-radius: 8px;
  display: inline-block;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%); /* 完全中央配置 */
  width: 100%;
  text-align: center;
  z-index: 2;
}

.catchcopy p {
  font-size: 2.2rem;
  color: #fff;
  font-weight: bold;
  display: inline-block;
  padding: 1rem 2rem;
  border-radius: 0px;
  line-height: 1.6;
}

@media screen and (max-width: 768px) {
  .hero-headline h1 {
    font-size: 1.4rem;
  }
  .hero {
    height: 40vh !important;
    min-height: 240px;
  }
  .hero-image {
    object-position: 75% top; /* スマホでは右側を表示する */
  }
}

/**********************
　　　トップページ
***********************/
.logo-heading {
  margin: 0;
  font-size: 0;
  line-height: 0;
}
/*　　こんな悩みありませんか？　セクション　*/
.concern-grid {
  background: #f0f8fc;
  padding: 4rem 1rem 1rem;
}

.concern-heading {
  font-size: 1.8rem;
  text-align: center;
  color: #1565c0;
  margin-bottom: 2.5rem;
  position: relative;
}

.concern-heading::after {
  content: "";
  width: 80px;
  height: 4px;
  background: #4a8ca4;
  display: block;
  margin: 0.8rem auto 0;
  border-radius: 2px;
}

.concern-card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  max-width: 1100px;
  margin: 0 auto;
}

.concern-card {
  background: #ffffff;
  border-left: 5px solid #4a8ca4;
  padding: 1.5rem;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}

.concern-card .concern-img {
  width: 100%;
  height: 120px;
  object-fit: contain;
  margin-bottom: 1rem;
}

.concern-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.concern-card .concern-icon {
  font-size: 1.8rem;
  color: #4a8ca4;
  display: block;
  margin-bottom: 1rem;
}

.concern-card p {
  font-size: 1.05rem;
  font-weight: bold;
  color: #333;
  line-height: 1.6;
}

@media screen and (max-width: 768px) {
  .concern-card-grid {
    grid-template-columns: 1fr;
  }
}
/*　　こんな悩みありませんか？　セクション　ここまで　*/

.pain-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

.pain-list li {
  flex: 1 1 calc(50% - 1rem);
  max-width: 45%;
  background: rgba(255, 255, 255, 0.2);
  border-left: 4px solid #a3d5e0;
  padding: 0.75rem 1rem;
  font-size: 1.15rem;
  border-radius: 6px;
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  color: #fff;
  opacity: 0;
  transform: translateX(-100%);
  animation: slideInLeft 0.8s ease-out forwards;
}

.pain-list li:nth-child(1) { animation-delay: 0.5s; }
.pain-list li:nth-child(2) { animation-delay: 1.0s; }
.pain-list li:nth-child(3) { animation-delay: 1.5s; }
.pain-list li:nth-child(4) { animation-delay: 2.0s; }
.pain-list li:nth-child(5) { animation-delay: 2.5s; }
.pain-list li:nth-child(6) { animation-delay: 3.0s; }

.solution-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  align-items: center;
  justify-content: center;
  max-width: 1000px;
  margin: 2rem auto 0;
}

.solution-image img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.solution-items {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  flex: 1;
  min-width: 280px;
}

.solution-row {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.solution-box {
  background: #f9f9f9;
  border-left: 4px solid #a3d5e0;
  padding: 1rem;
  border-radius: 8px;
  font-size: 1rem;
  flex: 1;
  min-width: 200px;
}

.section, .solution, .appeal {
  background: #fff;
  padding: 2rem 1rem;
  margin-top: 0;
  margin-bottom: 4rem;
}

li{
  list-style:none;
}

.flyer-gallery {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  margin-top: 2rem;
}

.flyer-item {
  text-align: center;
  max-width: 280px;
}

.flyer-item img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
  cursor: pointer;
}

.flyer-item img:hover {
  transform: scale(1.05);
}

.flyer-item p {
  margin-top: 0.5rem;
  font-weight: bold;
  color: #347188;
}

.news-item {
  margin-bottom: 1rem;
}

.appeal-cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  margin-top: 2rem;
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
}

.appeal-card {
  background: #f2f8fb;
  border-left: 5px solid #4a8ca4;
  border-radius: 8px;
  padding: 1.5rem;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
  flex: 1 1 calc(48% - 1rem);
  max-width: 48%;
}

.appeal-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
  color: #347188;
}

.appeal-card p {
  font-size: 0.95rem;
  color: #444;
  margin: 0;
}

.leaflet-item {
  text-align: center;
  max-width: 300px;
}

.leaflet-item img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
  cursor: pointer;
  transition: transform 0.3s ease;
}

.leaflet-item img:hover {
  transform: scale(1.03);
}

.leaflet-item a {
  display: inline-block;
  margin-top: 0.5rem;
  color: #4a8ca4;
  text-decoration: underline;
  font-weight: bold;
}

/* モーダルスタイル */
.modal {
  display: none;
  position: fixed;
  z-index: 999;
  padding-top: 60px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.8);
}

.modal-content {
  display: block;
  margin: auto;
  max-width: 90%;
  max-height: 80vh;
  border-radius: 8px;
}

.close {
  position: absolute;
  top: 30px;
  right: 35px;
  color: #fff;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
}

.education-description {
  text-align: center;
  font-size: 1.1rem;
  margin-bottom: 2rem;
  color: #444;
}

.highlight-bold {
  color: #4a8ca4;
  font-weight: bold;
}

.leaflet-wrapper {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  margin-top: 2rem;
}

.leaflet-btn {
  display: inline-block;
  margin-top: 0.8rem;
  padding: 0.6rem 1.5rem;
  background-color: #4a8ca4;
  color: #fff !important;
  font-weight: bold;
  border-radius: 6px;
  text-decoration: none;
  transition: background 0.3s ease;
  font-size: 1rem;
}

.leaflet-btn:hover {
  background-color: #347188;
}

.section ul {
  list-style: disc inside;
  padding-left: 1rem;
  line-height: 1.8;
  margin-bottom: 2rem;
}

.section h3 {
  color: #347188;
  margin-top: 2rem;
  font-size: 1.2rem;
}

.new-grad-training {
  background: #f7fcfd;
  padding: 4rem 1rem;
  border-top: 3px solid #4a8ca4;
  border-bottom: 3px solid #4a8ca4;
}

.section-title {
  font-size: 1.8rem;
  text-align: center;
  margin-bottom: 2rem;
  color: #347188;
  position: relative;
}

.section-title .emoji {
  font-size: 1.4rem;
}

.section-title::after {
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  background: #4a8ca4;
  margin: 1rem auto 0;
  border-radius: 2px;
}

.new-grad-training .lead {
  font-size: 1.05rem;
  color: #444;
  line-height: 1.9;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 2.5rem;
}

.feature-block,
.recommend-block {
  margin-bottom: 2rem;
}

.feature-list,
.recommend-list {
  list-style: none;
  padding: 0;
  max-width: 800px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.feature-list li,
.recommend-list li {
  background: #ffffff;
  border-left: 5px solid #4a8ca4;
  padding: 1rem 1.5rem;
  border-radius: 8px;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.05);
  color: #333;
}

.feature-block h3,
.recommend-block h3 {
  text-align: center;
  color: #4a8ca4;
  margin-bottom: 1rem;
  font-size: 1.2rem;
}

.price-table-wrapper {
  margin-top: 1.5rem;
  overflow-x: auto;
}

.price-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
  background: #fff;
  border: 1px solid #ddd;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.price-table caption {
  caption-side: top;
  text-align: left;
  font-weight: bold;
  font-size: 1.1rem;
  padding: 0.5rem 0.75rem;
  background-color: #f2f8fb;
  color: #347188;
  border-bottom: 1px solid #ddd;
}

.price-table th,
.price-table td {
  border: 1px solid #ddd;
  padding: 0.75rem;
  text-align: left;
  vertical-align: top;
}

.price-table th {
  background-color: #f0f8fc;
  color: #333;
  font-weight: 600;
}

.price-table td strong {
  color: #d25b5b;
}
.price-table-wrapper {
  overflow-x: auto;
  width: 100%;
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-100%);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideIn {
  from {
    left: -100%;
    opacity: 0;
  }
  to {
    left: 0;
    opacity: 1;
  }
}

@media screen and (max-width: 768px) {
  .leaflet-item {
    max-width: 100%; /* ← 300pxを解除 */
  }
  .price-table {
    min-width: 100%; /* テーブルが横スクロール可能に */
  }
  .pain-list li,
  .solution-box,
  .appeal-card {
    flex: 1 1 100%;
    max-width: 100%;
  }
  .solution-grid,
  .solution-row {
    flex-direction: column;
  }
  .catchcopy p {
    font-size: 1.4rem;
    padding: 0.8rem 1.5rem;
  }
  .feature-list,
  .recommend-list {
    grid-template-columns: 1fr;   /* 1列表示 */
    max-width: 100%;              /* 横幅を画面いっぱいに */
  }
}
/**********************
　　　会社情報
***********************/
/* Greeting */
.greeting-section, .company-profile, .access-map {
  background: #fff;
  padding: 3rem 1rem 2rem; /* 下paddingを減らす */
  margin-bottom: 0rem; /* 下マージンも必要に応じて追加 */
}

.greeting-section .container,
.company-profile .container,
.access-map .container {
  max-width: 960px;
  margin: 0 auto;
}

.section-title {
  text-align: center;
  font-size: 1.6rem;
  font-weight: bold;
  color: #1565c0;
}

.section-subtitle {
  text-align: center;
  font-size: 1rem;
  color: #888;
  margin-top: 0.5rem;
}

.section-divider {
  width: 50px;
  border: 1px solid #1565c0;
  margin: 1rem auto 2rem auto;
}

.greeting-content p {
  line-height: 1.8;
  font-size: 1rem;
  margin-bottom: 1.5rem;
  color: #333;
  text-align: left;
}

.signature {
  text-align: right;
  font-style: italic;
  margin-top: 2rem;
}

/* Profile Table */
.profile-table {
  width: 100%;
  border-collapse: collapse;
}

.profile-table th, .profile-table td {
  border: 1px solid #ccc;
  padding: 0.8rem;
  text-align: left;
  vertical-align: top;
}

.profile-table th {
  width: 20%;
  background: #f0f0f0;
}

/* Map */
.map-wrapper iframe {
  width: 100%;
  height: 400px;
  border: none;
}

@media screen and (max-width: 768px) {
  .greeting-content p {
    font-size: 0.8rem; /* スマホは0.9remで少し小さめ */
  }
  .profile-table th, .profile-table td {
    font-size: 0.8rem; /* スマホ時にやや小さめに（約14.4px） */
    padding: 0.4rem; /* パディングも少し減らしてコンパクトに */
  }
  .container {
    padding: 0 0.5rem; /* スマホは左右8pxに減らす */
  }
}

/**********************
　　　お問合せ
***********************/
form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

label {
  font-weight: bold;
  color: #444;
}

input,
select,
textarea {
  padding: 0.6rem;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 1rem;
  width: 100%;
}

.contact-submit {
  margin-top: 1.5rem;
  padding: 0.75rem;
  background: #4a8ca4;
  color: #fff;
  border: none;
  border-radius: 4px;
  font-size: 1.1rem;
  cursor: pointer;
}

.contact-submit:hover {
  background: #347188;
}
/**********************
　　　 社員研修
***********************/
.training-block {
  border: 2px solid #ddd;
  border-radius: 8px;
  padding: 3rem 1.5rem 2rem;
  margin-bottom: 4rem;
  position: relative;
}

.current-training-block {
  background: #fff;
}

.past-training-block {
  background: #f4f6f8;
}

.training-label {
  position: absolute;
  top: -1.2rem;
  left: 1.5rem;
  background: #1565c0;
  color: #fff;
  padding: 0.5rem 1.5rem;
  border-radius: 4px;
  font-weight: bold;
  font-size: 1.2rem;
  box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.past-label {
  background: #666;
}

.no-training {
  background: #f5f5f5;
  color: #666;
  font-weight: normal;
  border: 1px solid #ccc;
  padding: 1.2rem;
  margin: 1.5rem 0;
  text-align: center;
  font-size: 1.2rem;
  border-radius: 4px;
}

.section-divider {
  border-top: 3px solid #ccc;
  margin: 1rem 0;
}
/**********************
　プライバシーポリシー
***********************/
.policy-section {
  margin-bottom: 2rem;
  background: #f9f9f9;
  padding: 1.5rem;
  border-left: 4px solid #4a8ca4;
  border-radius: 6px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

.policy-section h2 {
  font-size: 1.2rem;
  color: #347188;
}
/**********************
　　　サンクス
***********************/
.header-contact-button {
  padding: 0.35rem 1.0rem;
  background-color: #4a8ca4;
  color: #fff;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.3s ease;
}

.header-contact-button:hover {
  background-color: #347188;
}

/* メイン内容 */
main {
  text-align: center;
  padding: 6rem 1rem;
}
