@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@300;400;700&display=swap');

:root {
  --primary-color: #4a90e2;
  --secondary-color: #f5f8fa;
  --accent-color: #5cb7ff;
  --text-color: #2c3e50;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Noto Sans JP', sans-serif;
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--secondary-color);
}

/* .header-background {
  background: linear-gradient(rgba(74, 144, 226, 0.7), rgba(30, 58, 138, 0.7)), url('img/original.jpg');
  background-size: cover;
  background-position: center;
} */

.hero {
  color: #ffffff;
  top: 60px;
  padding: 80px 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 1000px;
  margin: 0 auto;
  animation: slideIn 1.2s ease-out;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.hero h1 {
  font-size: 3.8rem;
  margin-bottom: 30px;
  font-weight: 800;
  letter-spacing: -1px;
  line-height: 1.2;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
  animation: fadeInUp 1s ease-out;
}

.hero p {
  font-size: 1.3rem;
  margin-bottom: 30px;
  line-height: 1.6;
  animation: fadeInUp 1s ease-out 0.5s;
  animation-fill-mode: both;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(-50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.container {
  max-width: 95%;
  margin: 0 auto;
  padding: 80px 20px;
}

.section {
  margin-bottom: 20px;
  padding: 20px;
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.section h2 {
  font-size: 2.5rem;
  color: var(--primary-color);
  text-align: center;
  position: relative;
}

.section h2::after {
  content: '';
  display: block;
  width: 50px;
  height: 3px;
  background-color: var(--accent-color);
  margin: 20px auto 0;
}

.occupation-card {
  width: 50%;
  background: #ffffff;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(74, 144, 226, 0.1);
  padding: 30px;
  margin: 0 auto 30px auto;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid rgba(74, 144, 226, 0.1);
}

.occupation-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.card {
  background: #ffffff;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(74, 144, 226, 0.1);
  padding: 30px;
  margin-bottom: 30px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid rgba(74, 144, 226, 0.1);
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.cta-button {
  display: inline-block;
  background-color: #ffffff;
  color: #4a90e2;
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: 0 4px 6px rgba(50, 50, 93, 0.11), 0 1px 3px rgba(0, 0, 0, 0.08);
  margin-bottom: 20px;
}

.cta-button:hover {
  background-color: #4a90e2;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 7px 14px rgba(50, 50, 93, 0.1), 0 3px 6px rgba(0, 0, 0, 0.08);
}

.company-info {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
}

.mission-statement {
  font-size: 1.4rem;
  font-style: italic;
  text-align: center;
  margin: 60px 0;
  color: var(--primary-color);
  line-height: 1.8;
}

ul {
  margin-left: 0;
  list-style-type: none;
  padding-left: 20px;
}

.main-nav {
  display: flex;
  position: fixed;
  background-color: #ffffff;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  height: 60px;
  width: 100%;
  z-index: 10000;
  padding-left: 10px;
}

.main-nav ul {
  padding: 15px 0;
  display: flex;
  justify-content: center;
  list-style-type: none;
  margin: 0;
}

.main-nav li {
  margin: 0 15px;
}

.main-nav ul li a {
  color: var(--text-color);
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.main-nav ul li a:hover {
  color: var(--primary-color);
}

.hamburger {
  display: none;
  cursor: pointer;
  padding: 5px;
  background-color: crimson;
}

.hamburger div {
  width: 25px;
  height: 3px;
  background-color: #ffffff;
  margin: 5px 0;
  transition: all 0.3s ease;
}

.signage-images {
  display: flex;
}

.signage-images img {
  width: 33%;
}

.landscape-images {
  display: flex;
}

.landscape-images img {
  width: 50%;
}

.internship-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

.card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.card-content {
  padding: 15px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.card-content h3 {
  margin-top: 0;
  margin-bottom: 10px;
}

.card-content p {
  margin: 5px 0;
  font-size: 14px;
}

.occupation-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

.occupation-card {
  width: calc(50% - 10px);
  margin-bottom: 20px;
}

.opacity-0 {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.fade-up {
  opacity: 1;
  transform: translateY(0);
}

.section-title {
  text-align: center;
  margin: 2rem 0;
  font-size: 2rem;
  color: #333;
}

.testimonials-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.testimonial-card {
  background: #ffffff;
  border-radius: 12px;
}

.testimonial-card:hover {
  transform: translateY(-5px);
}

.testimonial-header {
  background: #f8f9fa;
  padding: 1.5rem;
  border-bottom: 1px solid #e9ecef;
}

.testimonial-header h3 {
  margin: 0;
  color: #2c3e50;
  font-size: 1.5rem;
}

.testimonial-content {
  padding: 1.5rem;
}

.testimonial-section {
  margin-bottom: 2rem;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.testimonial-section:last-child {
  margin-bottom: 0;
}

.testimonial-section h4 {
  color: #2c3e50;
  margin-bottom: 1rem;
  font-size: 1.2rem;
}

.testimonial-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.testimonial-list li {
  position: relative;
  padding: 0.75rem 0 0.75rem 1.5rem;
  border-bottom: 1px solid #e9ecef;
  color: #495057;
  line-height: 1.6;
}

.testimonial-list li::before {
  content: '✓';
  color: var(--accent-color);
  position: absolute;
  left: 0;
  top: 0.75rem;
}

.testimonial-list li:last-child {
  border-bottom: none;
}

.difficulty-legend {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: #6c757d;
}

.legend-color {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.legend-color.blue { background-color: #007bff; }
.legend-color.pink { background-color: #e83e8c; }
.legend-color.green { background-color: #28a745; }

.difficulty-chart {
  margin-top: auto;
  min-height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.chart-image {
  width: 100%;
  max-width: 500px;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 20px;
}

th, td {
  padding: 12px;
  text-align: left;
  border-bottom: 1px solid #e0e0e0;
}

th {
  background-color: var(--secondary-color);
  font-weight: bold;
  color: var(--primary-color);
}

ul li {
  position: relative;
  padding-left: 25px;
  margin-bottom: 10px;
}

ul li:not(.main-nav li)::before {
  content: '✓';
  color: var(--accent-color);
  position: absolute;
  left: 0;
}

@media screen and (max-width: 1710px) {
  .main-nav {   
    display: flex;
    position: fixed;
    transition: all 0.3s ease;
  }

  .main-nav ul {
    display: none;
    flex-direction: column;
    width: 100%;
    margin-top: 35px;
    background-color: #ffffff;
  }

  .main-nav.show {
    padding-bottom: 15px;
    height: 500px;
  }

  .main-nav.show ul {
    display: flex;
  }

  .main-nav ul li {
    margin: 15px 0;
    padding-left: 15px; /* 左側に余白を追加 */
  }

  .main-nav ul li a {
    display: block; /* リンクをブロック要素にして、クリック可能な領域を広げる */
    padding: 5px 0; /* 上下にも少し余白を追加 */
  }

  .hamburger {
    display: block;
    position: absolute;
    top: 15px;
    right: 15px;
  }

  .signage-images {
    display:flex;
    flex-flow: column;
  }

  .signage-images img {
    width: 100%;
  }

  .landscape-images {
    display:flex;
    flex-flow: column;
  }

  .landscape-images img {
    width: 100%;
  }
}

@media screen and (max-width: 768px) {
  .main-nav {
    display: flex;
    position: fixed;
    transition: all 0.3s ease;
  }

  .main-nav ul {
    display: none;
    flex-direction: column;
    width: 100%;
    background-color: #ffffff;
  }

  .main-nav.show {
    padding-bottom: 15px;
    height: 500px;
  }

  .main-nav.show ul {
    display: flex;
  }

  .main-nav ul li {
    margin: 15px 0;
    padding-left: 15px; /* 左側に余白を追加 */
  }

  .main-nav ul li a {
    display: block; /* リンクをブロック要素にして、クリック可能な領域を広げる */
    padding: 5px 0; /* 上下にも少し余白を追加 */
  }

  .hamburger {
    display: block;
    position: absolute;
    top: 15px;
    right: 15px;
  }

  .signage-images {
    display:flex;
    flex-flow: column;
  }

  .signage-images img {
    width: 100%;
  }

  .landscape-images {
    display:flex;
    flex-flow: column;
  }

  .landscape-images img {
    width: 100%;
  }
}

@media (max-width: 768px) {
  body {
    font-size: 14px;
  }

  .hero h1 {
    font-size: 2.3rem;
  }

  .hero p {
    font-size: 0.95rem;
  }

  .section h2 {
    font-size: 1.9rem;
  }

  .card {
    padding: 20px;
  }

  .container {
    padding: 80px 15px;
  }

  .company-info {
    grid-template-columns: 1fr;
  }

  .testimonials-container {
    grid-template-columns: 1fr;
  }

  table {
    font-size: 0.85rem;
  }

  th, td {
    padding: 8px;
  }

  .cta-button {
    padding: 12px 24px;
    font-size: 0.85rem;
  }

  .internship-card {
    width: 100%;
  }

  .occupation-card {
    width: 100%;
  }
}

@media (max-width: 480px) {
  body {
    font-size: 12px;
  }

  .hero h1 {
    font-size: 1.9rem;
  }

  .section h2 {
    font-size: 1.0rem;
  }

  .card {
    padding: 15px;
  }

  .testimonial-header h3 {
    font-size: 1.2rem;
  }

  .testimonial-section h4 {
    font-size: 1rem;
  }

  .section-title {
    text-align: center;
    margin: 2rem 0;
    font-size: 1rem;
    color: #333;
  }
}

@media (min-width: 768px) {
  .testimonials-container {
    grid-template-columns: repeat(2, 1fr);
  }
}
