@charset "UTF-8";

/* トップページ */
:root {
  --navy-color: #242a36;
  --primary-color: #0f4c81;
  --secondary-color: #3b8fc2;
  --light-color: #f5f7fa;
  --accent-color: #4caf50;
}

body {
  font-family: 'Roboto', 'Noto Sans JP', sans-serif;
  line-height: 1.6;
}

.hero-gradient {
  background-image: url(../img/hero-bg.png);
  background-color: rgba(41, 41, 41, 0.5);
  background-blend-mode: darken;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  animation: overlayFade 6s ease-in-out infinite;
}

.service-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(15, 76, 129, 0.15);
}

.btn-primary {
  background-color: var(--accent-color);
  color: white;
  padding: 12px 24px;
  border-radius: 6px;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
}

.btn-primary:hover {
  background-color: #45a049;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(76, 175, 80, 0.3);
}

.btn-secondary {
  background-color: var(--secondary-color);
  color: white;
  padding: 10px 20px;
  border-radius: 6px;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
}

.btn-secondary:hover {
  background-color: var(--primary-color);
  transform: translateY(-2px);
}

.section-title {
  color: var(--primary-color);
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 700;
}

.news-item {
  border-left: 4px solid var(--accent-color);
  transition: all 0.3s ease;
}

.news-item:hover {
  border-left-color: var(--secondary-color);
  background-color: #f8fafc;
}

.contact-section {
  background: linear-gradient(135deg, var(--light-color) 0%, #ffffff 100%);
}

.icon-circle {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  background: linear-gradient(
    135deg,
    var(--secondary-color),
    var(--primary-color)
  );
  color: white;
  font-size: 2rem;
}

.navbar {
  background-color: #242a36;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar a {
  color: var(--light-color);
  transition: color 0.3s ease;
}

.navbar a:hover {
  color: var(--secondary-color);
}

.navy-text {
  color: #242a36;
}

/* ハンバーガーメニューのスタイル */
.hamburger {
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  width: 30px;
  height: 25px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 10;
}

.hamburger span {
  display: block;
  height: 3px;
  width: 100%;
  background-color: var(--light-color);
  transition: all 0.3s ease;
  transform-origin: center;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -6px);
}

/* モバイルナビゲーションメニュー */
.mobile-nav {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  height: 100vh;
  background-color: var(--navy-color);
  transition: right 0.3s ease;
  z-index: 9;
  padding-top: 80px;
}

.mobile-nav.active {
  right: 0;
}

/* 閉じるボタンのスタイル */
.close-menu-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  color: var(--light-color);
  font-size: 2rem;
  cursor: pointer;
  padding: 10px;
  z-index: 11;
  transition: all 0.3s ease;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.close-menu-btn:hover {
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--accent-color);
  transform: rotate(90deg);
}

.mobile-nav-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 2rem;
  gap: 2rem;
}

.mobile-nav .nav-item {
  color: var(--light-color);
  text-decoration: none;
  font-size: 1.2rem;
  font-weight: 500;
  padding: 1rem 2rem;
  border-radius: 6px;
  transition: all 0.3s ease;
  text-align: center;
  width: 100%;
  max-width: 300px;
}

.mobile-nav .nav-item:hover {
  background-color: var(--primary-color);
  color: white;
}

.mobile-nav .nav-item.btn-primary {
  background-color: var(--accent-color);
  color: white;
}

.mobile-nav .nav-item.btn-primary:hover {
  background-color: #45a049;
}

@media print {
  body {
    font-size: 12px;
    line-height: 1.4;
  }
  .hero-section {
    page-break-inside: avoid;
  }
  .service-card,
  .news-item {
    page-break-inside: avoid;
    margin-bottom: 1rem;
  }
}

.br-sp {
  display: none;
}

@media (max-width: 600px) {
  .br-sp {
    display: block;
  }
}

/* サービス */

.hero-gradient {
  background-image: url(../img/hero-bg.png);
  background-color: rgba(41, 41, 41, 0.5);
  background-blend-mode: darken;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  animation: overlayFade 6s ease-in-out infinite;
}

.service-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.07);
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(15, 76, 129, 0.15);
}

.btn-primary {
  background-color: var(--accent-color);
  color: white;
  padding: 12px 24px;
  border-radius: 6px;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
}

.btn-primary:hover {
  background-color: #45a049;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(76, 175, 80, 0.3);
}

.btn-secondary {
  background-color: var(--secondary-color);
  color: white;
  padding: 10px 20px;
  border-radius: 6px;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
}

.btn-secondary:hover {
  background-color: var(--primary-color);
  transform: translateY(-2px);
}

.section-title {
  color: var(--primary-color);
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 700;
}

.news-item {
  border-left: 4px solid var(--accent-color);
  transition: all 0.3s ease;
}

.news-item:hover {
  border-left-color: var(--secondary-color);
  background-color: #f8fafc;
}

.contact-section {
  background: linear-gradient(135deg, var(--light-color) 0%, #ffffff 100%);
}

.icon-circle {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  background: linear-gradient(
    135deg,
    var(--secondary-color),
    var(--primary-color)
  );
  color: white;
  font-size: 2rem;
}

.navy-text {
  color: #242a36;
}

.brand-navy {
  background-color: #0f4c81;
}
.brand-blue {
  background-color: #3b8fc2;
}
.brand-light {
  background-color: #f5f7fa;
}
.brand-green {
  background-color: #4caf50;
}

.text-brand-navy {
  color: #0f4c81;
}
.text-brand-blue {
  color: #3b8fc2;
}
.text-brand-green {
  color: #4caf50;
}

.border-brand-navy {
  border-color: #0f4c81;
}
.border-brand-blue {
  border-color: #3b8fc2;
}
.border-brand-green {
  border-color: #4caf50;
}

.process-step {
  position: relative;
}

.process-step::after {
  content: '';
  position: absolute;
  top: 50%;
  right: -20px;
  width: 0;
  height: 0;
  border-left: 10px solid #3b8fc2;
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
  transform: translateY(-50%);
}

.process-step:last-child::after {
  display: none;
}

.gradient-bg {
  background: linear-gradient(135deg, #f5f7fa 0%, #ffffff 100%);
}

/* ヘッダーの高さ調整 */
.navbar-height {
  height: 80px;
}

.hero-section {
  padding-top: 80px; /* ヘッダーの高さ分のパディング */
}

@media (max-width: 768px) {
  .hero-section {
    padding-top: 70px; /* モバイルでの調整 */
  }
  .navbar-height {
    height: 70px;
  }
}

@media print {
  body {
    font-size: 12px;
    line-height: 1.4;
    -webkit-print-color-adjust: exact;
  }
  .hero-section {
    page-break-inside: avoid;
  }
  .service-card,
  .news-item {
    page-break-inside: avoid;
    margin-bottom: 1rem;
  }
}

/* 会社概要 */

.btn-primary {
  background-color: var(--accent-color);
  padding: 0.5rem 1.5rem;
  border-radius: 0.5rem;
  font-weight: 600;
}

.btn-primary:hover {
  background-color: #45a049;
  transform: translateY(-2px);
}

.hamburger {
  display: flex;
  flex-direction: column;
  gap: 4px;
  background: none;
  border: none;
  cursor: pointer;
}

.hamburger span {
  display: block;
  width: 25px;
  height: 3px;
  background-color: white;
  transition: 0.3s;
  border-radius: 2px;
}

.mobile-nav {
  position: fixed;
  top: 0;
  right: -100%;
  width: 80%;
  height: 100vh;
  background: var(--primary-color);
  transition: right 0.3s ease;
  z-index: 1000;
  padding: 2rem;
}

.mobile-nav.active {
  right: 0;
}

.close-menu-btn {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
}

.mobile-nav-content {
  margin-top: 3rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.nav-item {
  color: white;
  text-decoration: none;
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 1.1rem;
}

.hero-section {
  background: linear-gradient(
    135deg,
    var(--primary-color) 0%,
    var(--secondary-color) 100%
  );
  color: white;
  padding: 8rem 0 4rem 0;
}

.section {
  padding: 4rem 0;
}

.card {
  background: white;
  border-radius: 1rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  padding: 2rem;
  margin-bottom: 2rem;
  border-left: 4px solid var(--accent-color);
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin: 2rem 0;
}

.info-item {
  background: var(--light-color);
  padding: 1.5rem;
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.info-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.2rem;
}

.cta-section {
  background: linear-gradient(135deg, var(--accent-color) 0%, #66bb6a 100%);
  color: white;
  padding: 3rem 0;
  text-align: center;
}

.cta-btn {
  background: white;
  color: var(--accent-color);
  padding: 1rem 2rem;
  border-radius: 0.75rem;
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
  margin-top: 1rem;
  transition: all 0.3s ease;
}

.cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

@media (max-width: 768px) {
  .hero-section {
    padding: 6rem 0 3rem 0;
  }

  .section {
    padding: 2rem 0;
  }

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

.card-equal-height {
  display: flex;
  flex-direction: column;
  height: 100%;
}
.card-content {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}
.card-button {
  margin-top: auto;
  align-self: stretch;
}

.hamburger {
  display: flex;
  flex-direction: column;
  cursor: pointer;
}
.hamburger span {
  width: 25px;
  height: 3px;
  background-color: white;
  margin: 3px 0;
  transition: 0.3s;
}
.mobile-nav {
  position: fixed;
  top: 0;
  right: -100%;
  width: 300px;
  height: 100vh;
  background: white;
  box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
  transition: right 0.3s ease;
  z-index: 1000;
  padding: 2rem;
}
.mobile-nav.active {
  right: 0;
}
.mobile-nav-content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 3rem;
}
.nav-item {
  padding: 1rem;
  border-radius: 8px;
  text-decoration: none;
  color: #0f4c81;
  font-weight: 500;
  transition: all 0.3s ease;
}
.nav-item:hover {
  background: #f5f7fa;
  color: #3b8fc2;
}
.close-menu-btn {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: #0f4c81;
  cursor: pointer;
}
.btn-primary {
  background: linear-gradient(135deg, #4caf50 0%, #45a049 100%);
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  text-decoration: none;
  display: inline-block;
  font-weight: 600;
  transition: all 0.3s ease;
  text-align: center;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(76, 175, 80, 0.3);
  color: white;
}
.download-btn {
  background: linear-gradient(135deg, #0f4c81 0%, #3b8fc2 100%);
  color: white;
  padding: 1rem 2rem;
  border-radius: 8px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  transition: all 0.3s ease;
  justify-content: center;
  width: 100%;
}
.download-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(15, 76, 129, 0.25);
  color: white;
}
.resource-card {
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  padding: 2rem;
  transition: all 0.3s ease;
  border: 1px solid #e5e7eb;
}
.resource-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}
.category-card {
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  padding: 2rem;
  border-left: 4px solid #4caf50;
  transition: all 0.3s ease;
}
.category-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}
.hero-section {
  background: linear-gradient(135deg, #0f4c81 0%, #3b8fc2 100%);
  color: white;
  padding: 4rem 0;
  text-align: center;
}
.section-title {
  color: #0f4c81;
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  text-align: center;
}
.grid-equal-height {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  align-items: stretch;
}
@media (max-width: 768px) {
  .grid-equal-height {
    grid-template-columns: 1fr;
  }
  .section-title {
    font-size: 2rem;
  }
}
