/*
Theme Name: Spacetry-web
Author: Michaluq
Version: 1.0
*/
/* ==========================================================================
   1. リセットCSS
   ========================================================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

li {
  list-style: none;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}

body {
  color: #333;
  background-color: #fdfdfd;
  overflow-x: hidden;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

/* ==========================================================================
   ロード
   ========================================================================== */
#loading {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.95);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 0.8s ease;
}

@keyframes floating {
  0% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
  100% { transform: translateY(0); }
}

#loading-logo {
  width: 120px;
  opacity: 0;
  transition: opacity 0.5s ease;
  animation: floating 2s ease-in-out infinite;
  filter: brightness(0) invert(1);
}

#loading-bar-container {
  width: 200px;
  height: 2px;
  background-color: rgba(255, 255, 255, 0.2);
  margin-top: 30px;
  border-radius: 2px;
  overflow: hidden;
}

#loading-bar {
  height: 100%;
  width: 0%;
  background-color: #c0392b;
  border-radius: 2px;
  transition: width 0.05s ease;
}

#loading-percent {
  color: #ffffff;
  font-size: 18px;
  margin-top: 20px;
  font-family: 'Arial', sans-serif;
  letter-spacing: 0.2em;
}

/* ==========================================================================
   2. ヘッダーの装飾
   ========================================================================== */
header {
  width: 100%;
  background-color: #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  position: sticky;
  top: 0;
  border-bottom: 3px solid #c0392b;
  z-index: 1000;
}

.header-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 30px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo img {
  height: 65px;
  width: auto;
}

nav ul {
  display: flex;
  align-items: center;
  border-left: 1px solid #cccccc;
  padding: 0;
  margin: 0;
}

nav ul li {
  position: relative;
  display: flex;
  align-items: center;
}

nav ul li a {
  font-size: 16px;
  font-weight: bold;
  color: #333333;
  padding: 0 20px;
  display: inline-block;
  transition: transform 0.3s ease, color 0.3s ease;
}

nav ul li a:hover {
  color: #999999;
  transform: translateY(-5px);
}

nav ul li::after {
  content: "|";
  color: #cccccc;
  font-size: 14px;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
  z-index: 1000;
  position: relative;
}

.hamburger span {
  display: block;
  width: 25px;
  height: 2px;
  background-color: #666;
  transition: all 0.3s ease;
}

.hamburger.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
}

.hamburger.open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ==========================================================================
   3. メインビジュアルの装飾
   ========================================================================== */
.main-visual {
  position: relative;
  height: 90vh;
  background-image: url('images/hero.jpg');
  background-size: cover;
  background-position: center;
  overflow: hidden;
  animation: zoomUp 15s ease-in-out infinite alternate;
}

.main-visual::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1;
}

.hero-logo {
  width: 100px;
  margin-bottom: 20px;
}

@keyframes zoomUp {
  0% { transform: scale(1); }
  100% { transform: scale(1.1); }
}

.catch-phrase {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
  width: 100%;
  text-align: center;
}

.catch-phrase h2 {
  font-size: 36px;
  color: #ffffff;
  font-weight: bold;
  letter-spacing: 0.1em;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
  margin-bottom: 15px;
  line-height: 1.5;
}

.catch-phrase p {
  font-size: 18px;
  color: #ffffff;
  letter-spacing: 0.05em;
  text-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
}

/* ==========================================================================
   4. ごあいさつセクションの装飾
   ========================================================================== */
.greeting-section {
  padding: 80px 20px;
  background-color: #fafafa;
  text-align: center;
}

.section-header {
  margin-bottom: 40px;
}

.section-subtitle {
  font-size: 14px;
  color: #c0392b;
  letter-spacing: 0.3em;
  font-weight: bold;
  text-align: center;
  margin-block-start: 0 !important;
  margin-block-end: 2px !important;
  margin-top: 0 !important;
  margin-bottom: 2px !important;
}

.section-title {
  clear: both;
  display: block;
  text-align: center;
  font-size: 24px;
  line-height: 1.6;
  margin-top: 10px;
  color: #333;
  width: 100%;
  position: relative;
  z-index: 10;
  margin: 0;
}

.section-title::after {
  content: "";
  display: block;
  width: 60px;
  height: 2px;
  background-color: #b6b6b6;
  margin: 8px auto 25px;
}

.section-title span {
  font-size: 28px;
  font-weight: bold;
  color: #c0392b;
}

.greeting-content {
  max-width: 900px;
  margin: 40px auto 0;
}

.lead-text {
  font-size: 18px;
  font-weight: bold;
  color: #333333;
}

.main-text {
  font-size: 16px;
  line-height: 2;
  color: #333;
  letter-spacing: 0.05em;
}

.highlight {
  font-size: 22px;
  font-weight: bold;
  color: #c0392b;
  display: inline-block;
  margin: 10px 0;
  border-bottom: 2px solid #c41212;
}

/* ==========================================================================
   4.1 コアバリューセクション（vision-section）
   ========================================================================== */
.vision-section {
  background-color: #f8f9fa;
  padding: 80px 20px 80px;
}

.vision-section .section-header {
  text-align: center;
  margin-bottom: 60px;
}

.vision-section .section-subtitle {
  font-size: 14px;
  color: #c0392b;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  margin-bottom: 15px;
}

.vision-section .section-title {
  font-size: 2.4rem;
  font-weight: 700;
  color: #333333;
  margin-bottom: 40px;
}

.vision-section .section-title::after {
  background-color: #b6b6b6;
}

/* PCでは横一列（4カラム） */
.value-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 35px;
}

/* ==========================================================================
   4.2 強みセクション
   ========================================================================== */
.features-section {
  padding: 80px 20px;
  background-color: #f9f9f9;
}

.features-section .section-title {
  color: #333;
  margin-bottom: 40px;
}

.features-section .section-title::after {
  background-color: #b6b6b6;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

/* ==========================================================================
   カード要素：共通スタイル & ホバー動き
   ========================================================================== */
.value-card,
.feature-box,
.business-box {
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 8px 30px rgba(50, 50, 50, 0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* value-card: 修正版（画像を大きく表示） */
.value-card {
  display: flex;
  flex-direction: column;
  padding: 0;
  overflow: hidden;
}

.value-card:hover,
.feature-box:hover,
.business-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(50, 50, 50, 0.1);
}

/* value-card-image: 修正版 */
.value-card-image {
  width: 100%;
  height: 320px;
  object-fit: cover;
  margin: 0;
  padding: 0;
  flex-shrink: 0;
  border-radius: 12px 12px 0 0;
}

/* value-card h3/p: パディング調整 */
.value-card h3 {
  font-size: 1.15rem;
  font-weight: 800;
  color: #c0392b;
  margin: 0;
  padding: 20px 25px 12px 25px;
  line-height: 1.4;
  white-space: normal;
  word-break: break-word;
  text-align: center;
}

.value-card p {
  font-size: 1rem;
  line-height: 1.8;
  color: #555555;
  margin: 0;
  padding: 0 30px 25px 30px;
}

/* feature-box 固有スタイル */
.feature-box {
  border-left: 5px solid #c0392b;
  border-radius: 4px;
  padding: 30px;
}

.feature-header {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
}

.feature-number {
  font-size: 24px;
  font-weight: bold;
  color: #c0392b;
  margin-right: 15px;
  font-family: 'Arial', sans-serif;
}

.feature-box h3 {
  font-size: 18px;
  font-weight: bold;
  color: #222;
  margin: 0;
}

.feature-box p {
  font-size: 14px;
  color: #666;
  line-height: 1.8;
  margin: 0;
}

/* business-box 固有スタイル */
.business-box {
  border-top: 4px solid #c0392b;
  border-radius: 4px;
  padding: 30px;
  position: relative;
}

.business-icon {
  font-size: 14px;
  font-weight: bold;
  color: #c0392b;
  letter-spacing: 0.1em;
  margin-bottom: 10px;
  font-family: 'Arial', sans-serif;
}

.business-box h3 {
  font-size: 18px;
  font-weight: bold;
  color: #000000;
  margin-bottom: 12px;
}

.business-box p {
  font-size: 14px;
  color: #555555;
  line-height: 1.7;
}

/* ==========================================================================
   4.3 レスポンシブ対応：コアバリュー
   ========================================================================== */
@media (max-width: 1200px) {
  .value-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }
}

@media (max-width: 992px) {
  .value-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }
}

@media (max-width: 768px) {
  .vision-section {
    padding: 60px 20px 30px;
  }

  .vision-section .section-title {
    font-size: 2rem;
  }

  .value-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .value-card-image {
    height: 280px;
  }

  .value-card h3 {
    font-size: 1.05rem;
    padding: 18px 20px 10px 20px;
    line-height: 1.3;
  }

  .value-card p {
    font-size: 0.9rem;
    line-height: 1.6;
    padding: 0 20px 20px 20px;
  }
}

@media (max-width: 600px) {
  .vision-section {
    padding: 50px 15px 25px;
  }

  .vision-section .section-title {
    font-size: 1.5rem;
  }

  .value-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .value-card-image {
    height: 240px;
  }

  .value-card h3 {
    font-size: 0.95rem;
    padding: 16px 15px 8px 15px;
    line-height: 1.3;
  }

  .value-card p {
    font-size: 0.85rem;
    line-height: 1.5;
    padding: 0 15px 18px 15px;
  }
}

/* ==========================================================================
   4.4 事業内容（business-details）
   ========================================================================== */
.company-services-block {
  margin-top: 100px;
  padding-top: 60px;
  border-top: 1px dashed #cccccc;
}

.business-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 25px;
  max-width: 900px;
  margin: 40px auto 0;
}

.business-message-wrap {
  max-width: 850px;
  margin: 100px auto 0;
  text-align: center;
}

.message-block {
  margin-bottom: 65px;
}

.message-block:last-child {
  margin-bottom: 0;
}

.message-block h3 {
  font-size: 24px;
  font-weight: bold;
  color: #000000;
  margin-bottom: 25px;
  position: relative;
  display: inline-block;
}

.message-block h3::after {
  content: "";
  display: block;
  width: 40px;
  height: 2px;
  background-color: #b6b6b6;
  margin: 10px auto 0;
}

.message-block p {
  font-size: 15px;
  color: #333333;
  line-height: 2;
  margin-bottom: 15px;
  text-align: left;
}

.highlight-text {
  font-weight: bold;
  background: linear-gradient(transparent 60%, #ffdfdf 60%);
  display: inline;
}

/* ==========================================================================
   4.5 レスポンシブ対応：事業内容
   ========================================================================== */
@media (max-width: 768px) {
  .company-services-block {
    margin-top: 60px;
    padding-top: 40px;
  }

  .business-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 0 10px;
  }

  .business-box {
    padding: 25px 20px;
  }

  .business-message-wrap {
    margin-top: 60px;
  }

  .message-block h3 {
    font-size: 20px;
  }

  .message-block p {
    font-size: 14px;
    line-height: 1.8;
  }
}

/* ==========================================================================
   5. フッターセクション
   ========================================================================== */
.site-footer {
  background-color: #1a1a1a;
  color: #c0c0c0;
  padding: 80px 0 30px;
  font-size: 14px;
  line-height: 1.6;
  border-top: 4px solid #E60012;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 30px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 40px;
}

.footer-info {
  flex: 1;
  min-width: 250px;
  margin-top: 65px;
  margin-right: 50px;
}

.footer-logo-img {
  height: 70px;
  width: auto;
  margin-bottom: 25px;
  display: block;
}

.footer-address {
  margin-bottom: 12px;
  color: #cccccc;
  font-size: 13px;
}

.footer-tel {
  font-weight: bold;
  font-size: 16px;
  color: #fff;
  letter-spacing: 0.5px;
}

.footer-concept {
  flex: 1.5;
  min-width: 320px;
  text-align: center;
  padding-top: 100px;
}

.concept-sub {
  font-size: 14px;
  color: #ffffff;
  margin-bottom: 8px;
  letter-spacing: 1px;
}

.concept-main {
  font-size: 18px;
  font-weight: 700;
  color: #c0392b;
  margin-bottom: 12px;
  letter-spacing: 1.5px;
}

.concept-en {
  font-size: 12px;
  color: #ffffff;
  letter-spacing: 0.5px;
}

.footer-links-wrap {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  min-width: 250px;
}

.footer-nav-list {
  display: flex;
  flex-direction: column;
  list-style: none;
  gap: 12px;
  align-items: flex-start;
  width: auto;
  margin-right: 100px;
}

.footer-nav-list li {
  position: relative;
  padding-left: 20px;
}

.footer-nav-list li::before {
  content: "・";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  color: #E60012;
  font-weight: bold;
  font-size: 16px;
}

.footer-nav-list a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  display: inline-block;
  transition: transform 0.3s ease, color 0.3s ease;
  white-space: nowrap;
  padding: 5px;
}

.footer-nav-list a:hover {
  color: #E60012;
  transform: translateX(5px);
}

.footer-copyright-wrap {
  max-width: 1200px;
  margin: 60px auto 0;
  padding: 20px 30px 0;
  border-top: 1px solid #2a2a2a;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
}

.footer-sub-link {
  color: #666;
  text-decoration: none;
  font-size: 12px;
  transition: color 0.3s ease;
}

.footer-sub-link:hover {
  color: #fff;
}

.footer-copyright {
  font-size: 12px;
  color: #666;
  margin: 0;
}

.footer-instagram-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 60px;
  background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
  color: #ffffff;
  font-weight: bold;
  font-size: 13px;
  padding: 10px 30px;
  border-radius: 50px;
  text-decoration: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.footer-instagram-btn:hover {
  opacity: 0.85;
  transform: translateY(-2px);
}

/* ==========================================================================
   6. お問い合わせフォーム
   ========================================================================== */
.contact-container {
  width: 100%;
  margin: 0 auto;
  padding-bottom: 60px;
  text-align: center;
}

.form-sub-lead {
  font-size: 16px;
  font-weight: bold;
  color: #000000;
  margin-bottom: 30px;
}

.contact-info {
  text-align: center;
  padding: 20px;
  background-color: #fff;
  margin-top: 50px;
}

.contact-tel,
.contact-fax {
  font-size: 24px;
  font-weight: bold;
  margin-top: 20px;
  color: #333;
}

.custom-form {
  background: #fff;
  padding: 30px;
  border-radius: 8px;
  text-align: center;
}

.form-group {
  margin-bottom: 25px;
}

.form-note {
  font-size: 14px;
  color: #555;
  line-height: 1.6;
  margin-top: 25px;
  margin-bottom: 10px;
}

.form-label {
  display: block;
  font-weight: 600;
  color: #000000;
  margin-bottom: 10px;
  font-size: 14px;
  letter-spacing: 0.05em;
  text-align: center;
}

input[type="text"],
input[type="email"],
input[type="tel"],
textarea {
  width: 100%;
  max-width: 500px;
  padding: 14px 16px;
  margin: 5px auto 0;
  display: block;
  border: 1px solid #000000;
  border-radius: 6px;
  box-sizing: border-box;
  background-color: #fff;
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.05);
  font-size: 15px;
  transition: all 0.3s ease;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
textarea:focus {
  border-color: #b3b3b3;
  outline: none;
}

.name-inputs {
  display: flex;
  justify-content: center;
  gap: 15px;
  max-width: 500px;
  margin: 0 auto;
}

.name-inputs input {
  flex: 1;
  max-width: 242px;
  margin: 5px 0 0;
}

textarea {
  height: 180px;
  resize: vertical;
}

.submit-btn {
  background-color: #000000;
  color: #fff;
  padding: 14px 70px;
  border: none;
  border-radius: 30px;
  cursor: pointer;
  font-size: 16px;
  font-weight: bold;
  letter-spacing: 0.1em;
  margin-top: 25px;
  box-shadow: 0 4px 15px rgb(156, 156, 156);
  transition: all 0.3s ease;
}

.submit-btn:hover {
  background-color: #6e6e6e;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgb(185, 185, 185);
}

.main-title {
  font-size: 32px;
  font-weight: bold;
  color: #333;
  margin-bottom: 15px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
}

.en-title {
  padding-top: 80px;
  font-size: 14px;
  font-family: 'Helvetica Neue', Arial, sans-serif;
  letter-spacing: 0.15em;
  color: #708090;
  font-weight: 700;
}

.contact-hero {
  background-color: #ebebeb;
  padding: 40px 20px 85px;
  text-align: center;
  padding-top: 5px;
}

/* ==========================================================================
   7. 下層ページ：会社概要
   ========================================================================== */
.sub-page-content {
  padding: 80px 20px;
  background-color: #fdfdfd;
}

.company-table-wrap {
  max-width: 900px;
  margin: 40px auto 0;
  background: #ffffff;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
  border: 1px solid #eeeeee;
  overflow: hidden;
}

.company-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.company-table tr {
  border-bottom: 1px solid #eeeeee;
}

.company-table tr:last-child {
  border-bottom: none;
}

.company-table th {
  width: 25%;
  background-color: #fafafa;
  color: #1a1a1a;
  font-weight: bold;
  font-size: 15px;
  padding: 25px 30px;
  vertical-align: middle;
  border-right: 1px solid #eeeeee;
  white-space: nowrap;
}

.company-table td {
  width: 75%;
  color: #333333;
  font-size: 15px;
  padding: 25px 30px;
  line-height: 1.8;
  vertical-align: middle;
}

.company-table td p {
  margin: 0;
}

.company-table td .mt-xs {
  margin-top: 8px;
}

.company-table td a {
  color: #c0392b;
  font-weight: bold;
  border-bottom: 1px dashed #c0392b;
  transition: color 0.3s ease, border-color 0.3s ease;
}

.company-table td a:hover {
  color: #999999;
  border-bottom-color: #999999;
}

.permit-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

.permit-tags span {
  display: inline-block;
  background-color: #f5f5f5;
  color: #555555;
  font-size: 12px;
  font-weight: 500;
  padding: 4px 10px;
  border-radius: 4px;
  border: 1px solid #e8e8e8;
}

.permit-number {
  font-size: 13px;
  font-weight: bold;
  color: #c0392b;
  margin-top: 10px;
}

.permit-list {
  margin-top: 10px;
  padding-left: 0;
}

.permit-list li {
  font-size: 14px;
  color: #666666;
  position: relative;
  padding-left: 15px;
  margin-bottom: 4px;
  list-style: none;
}

.permit-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 6px;
  background-color: #c0392b;
  border-radius: 1px;
}

/* ==========================================================================
   8. 採用情報ページ（Careers）
   ========================================================================== */
.recruit-section {
  padding: 80px 20px 160px;
  background-color: #fafafa;
  text-align: center;
}

.recruit-section .section-header {
  margin-bottom: 0;
}

.recruit-section .section-subtitle {
  color: #c0392b;
  margin-bottom: 0 !important;
}

.recruit-section .section-title {
  color: #333;
  margin-bottom: 0;
}

.recruit-section p {
  font-size: 16px;
  color: #333;
  line-height: 1.9;
  max-width: 700px;
  margin: 0 auto 40px;
}

.recruit-section .btn {
  background-color: #1a1a1a;
  color: #ffffff;
  border: 1px solid #1a1a1a;
  padding: 16px 60px;
  border-radius: 50px;
}

.recruit-section .btn:hover {
  background-color: #fff;
  color: #1a1a1a;
  border-color: #1a1a1a;
}

.careers-lead-block {
  max-width: 850px;
  margin: auto;
  text-align: center;
}

.careers-lead-block h3 {
  font-size: 26px;
  font-weight: bold;
  color: #c0392b;
  margin-bottom: 25px;
}

.careers-lead-block p {
  font-size: 16px;
  line-height: 1.9;
  color: #333333;
  margin-bottom: 15px;
}

.careers-lead-block p strong {
  color: #c0392b;
  background: linear-gradient(transparent 70%, #ffdfdf 70%);
}

.lead-sub-text {
  font-size: 14px !important;
  color: #666666 !important;
  margin-top: 20px;
}

.careers-sub-title {
  max-width: 900px;
  margin: 0 auto 20px;
  font-size: 18px;
  font-weight: bold;
  color: #1a1a1a;
}

.careers-sub-title span {
  color: #c0392b;
  margin-right: 8px;
}

.recruit-badge-wrap {
  display: flex;
  gap: 8px;
  margin-top: 10px;
}

.badge-red {
  background-color: #c0392b !important;
  color: #ffffff !important;
  font-size: 11px !important;
  font-weight: bold;
  padding: 3px 8px !important;
  border-radius: 3px;
  border: none !important;
}

.salary-list {
  padding-left: 0 !important;
  margin-bottom: 10px;
}

.salary-list li {
  font-size: 15px;
  margin-bottom: 6px;
  color: #333;
  list-style: none;
}

.salary-list li span {
  display: inline-block;
  width: 180px;
  font-weight: bold;
}

.salary-list li strong {
  font-size: 18px;
  color: #c0392b;
}

.salary-note {
  font-size: 13px;
  color: #666;
}

.special-cash-box {
  background-color: #fff9f9;
  border: 1px dashed #c0392b;
  padding: 15px 20px;
  border-radius: 6px;
  margin-top: 15px;
}

.cash-title {
  display: block;
  font-size: 13px;
  font-weight: bold;
  color: #c0392b;
  margin-bottom: 5px;
}

.special-cash-box p {
  font-size: 15px;
  color: #1a1a1a;
  margin: 0;
}

.dormitory-box {
  background-color: #f5f7fa;
  border-left: 4px solid #2c3e50;
  padding: 15px 20px;
  border-radius: 0 6px 6px 0;
}

.dormitory-box strong {
  color: #2c3e50;
  font-size: 16px;
}

.support-box {
  background-color: #fffdec;
  border: 1px solid #e6db55;
  padding: 12px 20px;
  border-radius: 6px;
  margin-top: 10px;
  display: inline-block;
}

.support-box p {
  margin: 0 !important;
  font-size: 14px;
  color: #555;
}

.careers-cta-block {
  max-width: 900px;
  margin: 80px auto;
  background-color: #fafafa;
  border: 1px solid #eeeeee;
  padding: 50px 30px;
  text-align: center;
  border-radius: 8px;
}

.careers-cta-block h3 {
  font-size: 22px;
  font-weight: bold;
  color: #1a1a1a;
  margin-bottom: 15px;
}

.careers-cta-block p {
  font-size: 15px;
  color: #555;
  line-height: 1.8;
  margin-bottom: 30px;
}


/* ==========================================================================
   8.1 Careersレスポンシブ対応
   ========================================================================== */
@media (max-width: 768px) {
  .careers-lead-block h3 {
    font-size: 20px;
    padding: 0 10px;
  }

  .careers-lead-block p {
    font-size: 14px;
    text-align: left;
    padding: 0 10px;
  }

  .salary-list li span {
    display: block;
    width: 100%;
    margin-bottom: 2px;
  }

  .salary-list li strong {
    font-size: 16px;
  }

  .careers-cta-block {
    padding: 35px 20px;
    margin-top: 50px;
  }

  .careers-cta-block h3 {
    font-size: 18px;
  }

  .careers-btn {
    width: 100%;
    padding: 15px 0 !important;
    font-size: 15px !important;
  }
}

/* ==========================================================================
   9. 共通パーツ & JSフェード設定
   ========================================================================== */
.btn {
  display: inline-block;
  padding: 18px 45px;
  background-color: #1a1a1a;
  color: #fff;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  border: 1px solid #1a1a1a;
  text-align: center;
}

.btn:hover {
  background-color: #fff;
  color: #1a1a1a;
  border: 1px solid #1a1a1a;
}

.to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background-color: #4d4d4d;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  text-decoration: none;
  font-weight: bold;
  font-size: 12px;
  z-index: 2000;
  transition: all 0.3s ease;
}

.to-top:hover {
  background-color: #ffffff;
  color: #1a1a1a;
  border: 1px solid #1a1a1a;
}

/* トップページ：全セクション統一アニメーション */
/* 初期状態：透明 + 下にずれた状態 */
.greeting-section,
.vision-section,
.features-section,
.recruit-section,
.services,
.contact-hero,
.custom-form {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

/* スクロール検出時：.visible クラス付与でアニメーション */
.greeting-section.visible,
.vision-section.visible,
.features-section.visible,
.recruit-section.visible,
.services.visible,
.contact-hero.visible,
.custom-form.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   10. レスポンシブ対応（画面幅 768px 以下）
   ========================================================================== */
@media (max-width: 768px) {
  .header-inner {
    padding: 15px 20px;
  }

  .logo img {
    height: 45px;
  }

  .hamburger {
    display: flex;
  }

  nav {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    z-index: 999;
    justify-content: center;
    align-items: center;
  }

  nav.open {
    display: flex;
  }

  nav ul {
    flex-direction: column;
    border-left: none;
    text-align: right;
    gap: 20px;
  }

  nav ul li a {
    font-size: 24px;
    padding: 10px 20px;
    color: #ffffff;
  }

  nav ul li::after {
    display: none;
  }

  .catch-phrase h2 {
    font-size: 22px;
  }

  .catch-phrase p {
    font-size: 14px;
  }

  .section-title {
    font-size: 20px;
  }

  .section-title span {
    font-size: 24px;
  }

  .main-text br {
    display: none;
  }

  .services .service-container {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 15px !important;
    padding: 0 15px !important;
    max-width: 100% !important;
  }

  .services .service-card {
    max-width: 100% !important;
    width: 100% !important;
  }

  .features-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .site-footer {
    padding: 40px 0 20px;
  }

  .footer-container {
    flex-direction: column;
    align-items: center;
    gap: 50px;
    display: flex;
  }

  .footer-info {
    order: 4;
    margin-top: 0;
    margin-right: 0;
    text-align: center;
    width: 100%;
  }

  .footer-logo-img {
    margin: 0 auto;
    display: block;
  }

  .footer-address {
    text-align: center;
  }

  .footer-tel {
    text-align: center;
  }

  .footer-concept {
    order: 2;
    flex: none;
    padding-top: 0;
    margin-bottom: 0;
    text-align: center;
  }

  .footer-links-wrap {
    order: 1;
    align-items: center;
    width: 100%;
    margin-right: 0;
    display: flex;
    justify-content: center;
  }

  .footer-nav-list {
    text-align: center;
    gap: 18px;
    margin-right: 0;
    align-items: center;
    justify-content: center;
    flex-direction: column;
  }

  .footer-instagram-btn {
    order: 5;
    margin: 20px auto 0;
  }

  .footer-sub-links {
    flex-direction: column;
    gap: 10px;
  }

  .contact-container {
    width: 100%;
    padding-bottom: 60px;
  }

  .contact-hero {
    padding: 50px 20px 70px;
    background-color: #f5f5f5;
  }

  .en-title {
    padding-top: 60px;
    font-size: 16px;
    letter-spacing: 0.2em;
  }

  .main-title {
    font-size: 30px;
    margin-bottom: 20px;
  }

  .contact-lead,
  .form-note,
  .form-sub-lead {
    font-size: 16px;
    line-height: 1.8;
    padding: 0 10px;
    margin-bottom: 20px;
  }

  .form-note {
    margin-top: 20px;
  }

  .custom-form {
    padding: 40px 20px;
    margin: 0 auto;
    width: 95%;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  }

  .form-group {
    margin-bottom: 35px;
  }

  .form-label {
    text-align: left;
    max-width: 100%;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 12px;
  }

  input[type="text"],
  input[type="email"],
  input[type="tel"],
  textarea {
    max-width: 100%;
    font-size: 18px;
    padding: 16px;
    border-radius: 8px;
    border: 2px solid #ddd;
  }

  .name-inputs {
    gap: 15px;
  }

  textarea {
    height: 250px;
  }

  .submit-btn {
    width: 100%;
    max-width: 100%;
    padding: 20px 0;
    font-size: 20px;
    border-radius: 50px;
    margin-top: 40px;
  }

  /* 下層ページ：会社概要 */
  .sub-page-content {
    padding: 50px 20px;
  }

  .company-table-wrap {
    margin: 20px auto;
  }

  .company-table th,
  .company-table td {
    padding: 15px 12px;
    font-size: 13px;
  }

  .company-table th {
    width: 35%;
  }

  .company-table td {
    width: 65%;
  }

  /* 下層ページ：採用情報 */
  .careers-lead-block h3 {
    font-size: 20px;
    padding: 0 10px;
  }

  .careers-lead-block p {
    font-size: 14px;
    text-align: left;
    padding: 0 10px;
  }

  .salary-list li span {
    display: block;
    width: 100%;
    margin-bottom: 2px;
  }

  .salary-list li strong {
    font-size: 16px;
  }

  .careers-cta-block {
    padding: 35px 20px;
    margin-top: 50px;
  }

  .careers-cta-block h3 {
    font-size: 18px;
  }

  .careers-btn {
    width: 100%;
    padding: 15px 0 !important;
    font-size: 15px !important;
  }

  /* 下層ページ：プライバシーポリシー */
  .privacy-policy-container {
    padding: 0 15px;
    margin: 40px auto;
  }

  .policy-title {
    font-size: 1.5rem;
    margin-bottom: 30px;
  }

  .policy-section h2 {
    font-size: 1.1rem;
  }

  .policy-section p,
  .policy-section li {
    font-size: 0.95rem;
  }

  .company-info-box {
    padding: 15px;
  }

  .company-info-box strong {
    width: 80px;
    display: block;
    margin-bottom: 5px;
  }

  /* 下層ページ：ブログ */
  .blog-list {
    grid-template-columns: 1fr;
    padding: 40px 20px;
  }

  .single-post-wrap {
    margin: 40px auto;
    padding: 0 15px 60px;
  }

  .single-post-title {
    font-size: 22px;
  }

  .single-post-content {
    font-size: 15px;
    line-height: 1.8;
  }

  .single-post-content h2 {
    font-size: 18px;
    padding-left: 8px;
  }

  /* 下層ページ：会社沿革 */
  .business-list {
    margin: 20px auto;
    padding: 0 15px;
  }

  .business-list h3 {
    font-size: 16px;
    margin-top: 30px;
    margin-bottom: 15px;
  }

  .business-list p {
    font-size: 14px;
  }
}

/* ==========================================================================
   11. Privacy Policy Page
   ========================================================================== */
.privacy-policy-container {
  max-width: 900px;
  margin: 60px auto;
  padding: 0 20px;
  font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
  color: #333333;
  line-height: 1.8;
}

.policy-title {
  font-size: 2rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 40px;
  padding-bottom: 20px;
  border-bottom: 2px solid #e0e0e0;
  color: #111111;
}

.policy-lead {
  font-size: 1.05rem;
  margin-bottom: 40px;
  color: #555555;
}

.policy-section {
  margin-bottom: 40px;
}

.policy-section h2 {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 15px;
  color: #111111;
  display: flex;
  align-items: center;
}

.policy-section p {
  font-size: 1rem;
  color: #444444;
  margin-bottom: 10px;
}

.policy-section ul {
  margin-top: 10px;
  margin-bottom: 10px;
  padding-left: 20px;
}

.policy-section li {
  font-size: 1rem;
  color: #444444;
  margin-bottom: 8px;
  list-style-type: disc;
}

.company-info-box {
  background-color: #f8f9fa;
  border: 1px solid #e9ecef;
  border-radius: 6px;
  padding: 25px;
  margin-top: 15px;
}

.company-info-box p {
  margin-bottom: 8px;
  font-size: 1rem;
}

.company-info-box p:last-child {
  margin-bottom: 0;
}

.company-info-box strong {
  color: #111111;
  display: inline-block;
  width: 100px;
}

.policy-date {
  text-align: right;
  font-size: 0.9rem;
  color: #888888;
  margin-top: 50px;
}

/* ==========================================================================
   12. ブログ一覧・個別記事
   ========================================================================== */
.blog-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  padding: 32px 40px 60px;
  max-width: 1200px;
  margin: 0 auto;
}

.blog-card {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease;
}

.blog-card:hover {
  transform: translateY(-6px);
}

.blog-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.blog-card-body {
  padding: 20px;
}

.blog-card-date {
  font-size: 12px;
  color: #999;
  margin-bottom: 8px;
}

.blog-card-title {
  font-size: 16px;
  font-weight: bold;
  color: #222;
  margin-bottom: 12px;
  line-height: 1.5;
}

.blog-card-excerpt {
  font-size: 14px;
  color: #666;
  line-height: 1.7;
}

.single-post-wrap {
  max-width: 800px;
  margin: 60px auto;
  padding: 0 20px 80px;
}

.single-post-header {
  margin-bottom: 40px;
  border-bottom: 1px solid #eee;
  padding-bottom: 20px;
}

.single-post-date {
  font-size: 13px;
  color: #999;
  margin-bottom: 12px;
}

.single-post-title {
  font-size: 28px;
  font-weight: bold;
  color: #1a1a1a;
  line-height: 1.5;
}

.single-post-thumbnail {
  width: 100%;
  border-radius: 8px;
  margin-bottom: 40px;
}

.single-post-content {
  font-size: 16px;
  line-height: 2;
  color: #333;
}

.single-post-content h2 {
  font-size: 22px;
  font-weight: bold;
  border-left: 4px solid #c0392b;
  padding-left: 12px;
  margin: 2em 0 1em;
}

.single-post-content p {
  margin-bottom: 1.5em;
}

.single-post-content img {
  width: 100%;
  border-radius: 8px;
  margin: 1.5em 0;
}

@media (max-width: 768px) {
  .blog-list {
    grid-template-columns: 1fr;
    padding: 40px 20px;
  }

  .single-post-title {
    font-size: 22px;
  }
}

/* ==========================================================================
   13. 会社沿革ページ
   ========================================================================== */
.business-list {
  max-width: 900px;
  margin: 40px auto;
  font-size: 15px;
  line-height: 1.8;
  color: #333333;
  text-align: left;
}

.business-list h3 {
  font-size: 18px;
  font-weight: bold;
  color: #333;
  margin-bottom: 20px;
  margin-top: 40px;
}

.business-list h3:first-child {
  margin-top: 0;
}

.business-list p {
  margin-bottom: 15px;
  color: #555555;
}