/* ==================================================
基本スタイル
================================================== */

/*----------------------------------------
ルート設定
----------------------------------------*/ :root {
  --font-primary: 'M PLUS 1p', 'Meiryo', 'メイリオ', sans-serif;
  --color-primary: #0092ca;
  --color-primary-dark: #0077a3;
  --color-primary-light: rgba(0, 146, 202, 0.1);
  --margin-primary: clamp(3.125rem, 2.443rem + 3.41vw, 5rem); /* min 50px/320px : max 80px/1200px */
  --margin-secondary: clamp(2.5rem, 1.818rem + 3.41vw, 4.375rem); /* min 40px/320px : max 70px/1200px */
  --box-padding-primary: clamp(1.25rem, 1.023rem + 1.14vw, 1.875rem); /* min 20px/320px : max 30px/1200px; */
}


/*----------------------------------------
リセットCSS
----------------------------------------*/
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}


/*----------------------------------------
デフォルトタグ
----------------------------------------*/
html {
  /*scroll-behavior: smooth;*/
}
body {
  font-family: var(--font-primary);
  line-height: 1.6;
  color: #333;
  /*-webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  font-feature-settings: "palt";*/
}

/*-------------------- リンクの基本スタイル --------------------*/
a {
  color: var(--color-primary);
  text-decoration: none;
  transition: color 0.3s ease;
}
a:visited {
  color: var(--color-primary);
}
a:hover {
  color: var(--color-primary-dark);
}

/*-------------------- メインコンテンツの調整 --------------------*/
main {
  padding-top: 70px;
}
@media (max-width: 1000px) {
  main {
    padding-top: 55px;
  }
}

/*-------------------- タイトル --------------------*/
#content h2,
.top h2,
.page-header h2 {
  font-size: clamp(1.875rem, 1.648rem + 1.14vw, 2.5rem); /* min 30px/320px : max 40px/1200px */
  color: var(--color-primary);
  letter-spacing: 0.05em;
  margin-bottom: clamp(1.875rem, 1.42rem + 2.27vw, 3.125rem); /* min 30px/320px : max 50px/1200px */
  text-align: center;
  position: relative;
  line-height: 1.3;
}

#content h3,
.top-contact h2 {
  font-size: clamp(1.75rem, 1.568rem + 0.91vw, 2.25rem); /* min 28px/320px : max 36px/1200px */
  color: var(--color-primary);
  letter-spacing: 0.05em;
  margin-bottom: clamp(1.875rem, 1.42rem + 2.27vw, 3.125rem); /* min 30px/320px : max 50px/1200px */
  text-align: center;
  position: relative;
  line-height: 1.3;
}

#content h4,
.top .service-item h3 {
  font-size: 1.5rem;
  color: var(--color-primary);
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
  text-align: center;
  line-height: 1.3;
}



/* ==================================================
ヘッダー
================================================== */

/*----------------------------------------
header
----------------------------------------*/
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: #fff;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}
.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 15px 0;
}
.logo {
  display: block;
  width: 180px;
  height: auto;
}
header h1 {
  font-size: 2rem;
  color: var(--color-primary);
  margin: 0;
  padding: 0 0 0 1rem;
}
header h1 .logo {
  height: 40px;
  width: auto;
  transition: opacity 0.3s ease;
}
header h1 .logo:hover {
  opacity: 0.6;
}

@media (max-width: 1000px) {
  header h1 .logo {
    height: 30px;
    width: auto;
    transition: opacity 0.3s ease;
  }
}

/*-------------------- ハンバーガーメニュー --------------------*/
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 21px;
  cursor: pointer;
  z-index: 1001;
}
.mobile-menu-toggle span {
  display: block;
  width: 100%;
  height: 3px;
  background-color: #333;
  transition: all 0.3s ease;
}
@media (max-width: 1000px) {
  .mobile-menu-toggle {
    display: flex;
    margin-left: auto;
  }
  .mobile-menu-toggle.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
  }
  .mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
  }
  .mobile-menu-toggle.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
  }
}

/*-------------------- ナビゲーションメニュー --------------------*/
.nav-menu {
  list-style: none;
  display: flex;
  gap: 1rem;
  margin: 0;
  padding: 0;
  flex-wrap: nowrap;
}
.nav-menu a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  padding: 0.5rem 0.8rem;
  border-radius: 4px;
  transition: all 0.3s ease;
  white-space: nowrap;
  font-size: 0.95rem;
}
.nav-menu a:hover {
  color: var(--color-primary);
  background-color: var(--color-primary-light);
}

@media (max-width: 1070px) {
  .nav-menu {
    gap: 0.5rem;
  }
  .nav-menu a {
    padding: 0.5rem 0.6rem;
    font-size: 0.9rem;
  }
}

@media (max-width: 1000px) {
  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 90%;
    max-width: 300px;
    height: 100vh;
    background: #fff;
    flex-direction: column;
    padding: 3rem 0 0;
    transition: right 0.3s ease;
    box-shadow: -2px 0 5px rgba(0, 0, 0, 0.1), -15px 0 30px rgba(0, 0, 0, 0.1);
  }
  .nav-menu.active {
    right: 0;
  }
  .nav-menu a {
    display: block;
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid #eee;
  }
}

/* ドロップダウンメニュー --------------------*/
.nav-menu li {
  position: relative;
}
.nav-menu .dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  min-width: 200px;
  z-index: 1000;
  padding: 0.5rem 0;
}
.nav-menu li:hover .dropdown-menu {
  display: block;
}
.nav-menu .dropdown-menu li {
  display: block;
  width: 100%;
}
.nav-menu .dropdown-menu a {
  padding: 0.5rem 1rem;
  display: block;
  color: #333;
  text-decoration: none;
  transition: background-color 0.3s;
  font-size: 0.9rem;
}
.nav-menu .dropdown-menu a:hover {
  background-color: #f5f5f5;
}

@media (max-width: 768px) {
  .nav-menu .dropdown-menu {
    position: relative;
    box-shadow: none;
    background: #F6F6F6;
    width: 100%;
    display: block;
    padding: 0;
    top: 0;
    z-index: 100;
  }
  .nav-menu li.active .dropdown-menu {
    display: block;
    padding: 0;
  }
  .nav-menu .dropdown-menu a {
    padding-left: 2rem;
  }
}



/* ==================================================
共通スタイル
================================================== */

section {
  padding: 5rem 2rem 7rem 2rem;
}

section.top {
  overflow-x: hidden;
}

#content {
  max-width: 1200px;
  margin: var(--margin-primary) auto;
  padding: 0 20px;
}

#content.narrow {
  max-width: 1000px;
}

#content.contactForm {
  max-width: 800px;
}


/*----------------------------------------
ページトップボタン
----------------------------------------*/

#page-top {
  width: 40px;
  height: 60px;
  position: fixed;
  right: 20px;
	bottom: 20px;
	z-index: 999;
}

#page-top a {
  width: 40px;
  height: 60px;
  display: block;
  background-image: url(../img/b_pagetop.png);
  background-repeat: no-repeat;
  background-position: 0px 0px;
  background-size: cover;
  text-indent: -9999px;
  overflow: hidden;
  text-decoration: none;
  opacity: 0.6;
}
#page-top a:hover {
	text-decoration: none;
	opacity: 0.4;
}

@media screen and (max-width: 768px) {
	#page-top {
		right: 15px;
		bottom: 15px;
	}
}


/*----------------------------------------
パーツ遅延読み込み
----------------------------------------*/
.fadeTrigger {
  opacity: 0;
}
.fadeAnime {
  animation-name: fadeAnime;
  animation-duration: 1.2s;
  animation-fill-mode: forwards;
}

@keyframes fadeAnime {
  0% {
    opacity: 0;         
  }
  /*30% {
    opacity: 0.4;
  }*/
  100% {
    opacity: 1;
    transform: translate(0);
  }
}

.slide-down {
  transform: translateY(-100px);
}
.slide-up {
  transform: translateY(100px);
}
.slide-left {
  transform: translateX(100%);
}
.slide-right {
  transform: translateX(-100%);
}



/* ==================================================
サービス
================================================== */
/* トップページとサービストップページで使用 */
.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}
.service-item {
  background: #FFFFFF;
  padding: var(--box-padding-primary);
  border-radius: 8px;
  box-shadow: 3px 3px 6px 4px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
}
.service-item:hover {
  transform: translateY(-5px);
}

.service-item img {
  max-width: 100%;
  height: auto;
  box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2);
  border-radius: 0.5rem;
  margin-bottom: 1em;
}

.service-item h3,
.service-item h4 {
  margin-top: 0.5em;
}


.service-item p {
  text-align: left;
  margin: 0.5em 0 1em 0 !important;
  flex-grow: 1;
}

@media (max-width: 768px) {
  .service-item {
    padding: 1.5rem 1.5rem 2rem 1.5rem;
  }
}


/*----------------------------------------
サービスリンクボタン
----------------------------------------*/
/* トップページとサービストップページで使用 */
a.service-link {
  display: inline-block;
  width: 10em;
  margin: 20px auto 0 auto;
  padding: 0.5em 1.5em;
  background: var(--color-primary);
  color: #fff;
  text-decoration: none;
  font-size: 1.1rem;
  letter-spacing: 0.1em;
  transition: all 0.3s ease;
  border-radius: 1.5em;
}
a.service-link:hover {
  background: var(--color-primary-dark);
}
a.service-link:visited {
  color: #fff;
}

@media (max-width: 1024px) {
  .service-features {
    gap: 40px;
  }
}



/* ==================================================
機材紹介ページ
================================================== */

.equipment-item {
  background: #FFFFFF;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
.equipment-item ul {
  list-style: none;
}
.equipment-item li {
  margin: 0.5rem 0;
  padding-left: 1.5rem;
  position: relative;
}
.equipment-item li:before {
  content: "•";
  color: var(--color-primary);
  position: absolute;
  left: 0;
}



/* ==================================================
フッター
================================================== */

footer {
  background-color: #004A74;
  color: #FFFFFF;
  padding: 4rem 0 2rem;
  margin-top: -2px;
  position: relative;
}
.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
}
.footer-logo {
  margin-bottom: 1rem;
}
.footer-logo p {
  margin-top: 1rem;
  font-size: 0.9rem;
  color: #FFFFFF;
  opacity: 0.7;
}

@media (max-width: 900px) {
  .footer-logo p br {
    display: none;
  }
}

.footer-content .dropdown-menu {
  margin-top: 0.5em;
}
.footer-content .dropdown-menu li::before {
  content: '― ';
  opacity: 0.5;
}
.footer-links h3 {
  font-size: 1.2rem;
  margin-bottom: 1rem;
  color: #FFFFFF;
}
.footer-links ul {
  list-style: none;
}
.footer-links li {
  margin-bottom: 0.5rem;
}
.footer-links a {
  color: #FFFFFF;
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.3s;
}
.footer-links a:visited {
  color: #FFFFFF;
}
.footer-links a:hover {
  color: #ccc;
}
.footer-contact h3 {
  font-size: 1.2rem;
  margin-bottom: 1rem;
  color: #FFFFFF;
}
.footer-contact p {
  color: #FFFFFF;
  opacity: 0.7;
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}
.footer-contact .phone, .footer-contact .email {
  color: #FFFFFF;
  font-weight: 500;
}
.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  margin-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}
.footer-bottom p {
  font-size: 0.9rem;
  color: #ccc;
}
.footer-legal a {
  color: #FFFFFF;
  text-decoration: none;
  margin: 0 1rem;
  font-size: 0.9rem;
  transition: color 0.3s;
}
.footer-legal a:visited {
  color: #FFFFFF;
}
/*.footer-legal a:hover {
  color: #ccc;
}*/

/* レスポンシブデザイン */
@media (max-width: 1000px) {
  .header-inner {
    gap: 1rem;
    padding: 0.8rem 0;
  }
  /*.nav-menu {
    flex-direction: column;
    gap: 0;
    text-align: center;
  }*/
  section {
    padding: 8% 5%;
  }
}

@media (max-width: 768px) {
  .footer-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .footer-links {
    display: none;
  }
  .footer-contact {
    text-align: center;
  }
}



/* ==================================================
ページヘッダー
================================================== */
/* ページヘッダー */
.page-header {
  padding: clamp(2.5rem, 1.818rem + 3.41vw, 4.375rem) 2rem; /* min 40px/320px : max 70px/1200px */
  text-align: center;
  background-image: url(../img/bg_img_main.jpg);
  background-repeat: no-repeat;
  background-size: cover;
}
.page-header h2 {
  margin-bottom: 1rem;
  color: #FFFFFF;
}

.page-header p {
  color: #FFFFFF;
  opacity: 0.8;
}

.page-header br {
  display: none;
}

@media (max-width: 500px) {
  .page-header br {
    display: block;
  }
}



/* ==================================================
サービス詳細
================================================== */

.equipment-category + h3 {
  margin-top: var(--margin-primary);
}
.equipment-item {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 2rem;
  background: #FFFFFF;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  margin-bottom: 2rem;
}
.equipment-image img {
  width: 100%;
  height: auto;
  border-radius: 4px;
}
#content .equipment-info h4 {
  text-align: left;
}

.specs {
  list-style: none;
  margin: 1rem 0;
}
.specs li {
  padding-left: 1.5rem;
  position: relative;
  margin: 0.5rem 0;
}
.specs li:before {
  content: "✓";
  color: var(--color-primary);
  position: absolute;
  left: 0;
}



/* ==================================================
資格・許可ページ
================================================== */

/*----------------------------------------
取得資格・安全への取り組み共通
----------------------------------------*/

.qualification-category + h3 {
  margin-top: var(--margin-primary);
}
.qualification-grid, .safety-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
}

.qualification-item, .safety-item {
  background: #fff;
  border-radius: 8px;
  padding: var(--box-padding-primary);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  flex: 1;
}
.qualification-icon,
.safety-icon {
  width: 100%;
  height: auto;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.qualification-icon img, .safety-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

#content .qualification-info h4, #content .safety-item h4 {
  font-size: 1.2rem;
  color: #333;
}

.qualification-info p, .safety-item p {
  font-size: 14px;
  color: #666;
  line-height: 1.6;
}

@media (max-width: 768px) {
  .qualification-icon, .safety-icon {
    width: min(3rem, 25vw);
    height: min(3rem, 25vw);
    margin: 0 auto min(20px, 5vw);
    display: flex;
    align-items: center;
    justify-content: center;
  }
}


/*----------------------------------------
取得資格
----------------------------------------*/
.qualification-icon {
  width: 100%;
  height: auto;
}

@media (max-width: 900px) {
  .qualification-item:nth-of-type(1) {
    width: 100%;
    flex: auto;
  }
}

@media (max-width: 600px) {
  .qualification-item {
    width: 100%;
    flex: auto;
  }
}


/*----------------------------------------
安全への取り組み
----------------------------------------*/
.safety-icon {
  width: 80px;
  height: 80px;
}

@media (max-width: 900px) {
  .safety-item {
    width: calc(50% - 15px);
    flex: auto;
  }
}

@media (max-width: 600px) {
  .safety-item {
    width: 100%;
    flex: auto;
  }
}



/* ==================================================
ボタンの基本スタイル
================================================== */

.cta-button,
.contact-button,
.submit-button,
.back-button {
  display: inline-block;
  padding: 15px 40px;
  background: var(--color-primary);
  color: #fff;
  text-decoration: none;
  font-size: 1.2em;
  line-height: 100%;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  text-align: center;
}
.cta-button:hover,
.submit-button:hover {
  background: var(--color-primary-dark);
}
.cta-button:visited {
  color: #fff;
}

/*@media (max-width: 768px) {
  .cta-button, .contact-button, .submit-button {
    width: 100%;
    padding: 15px 30px;
    font-size: 1.2em;
  }
}*/



/* ==================================================
お問い合わせフォーム
================================================== */

.form-group {
  margin-bottom: 20px;
}
.form-group label {
  display: block;
  margin-bottom: 5px;
  font-weight: 500;
}
.form-group input[type="text"], .form-group input[type="email"], .form-group input[type="tel"], .form-group select, .form-group textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 16px;
}
.form-group textarea {
  resize: vertical;
}
.checkbox-label {
  display: flex !important;
  justify-content: center;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}
.checkbox-label input[type="checkbox"] {
  width: 18px;
  height: 18px;
}
.form-submit {
  text-align: center;
  margin-top: 30px;
}

.required {
  color: #ff0000;
}

.privacy-label {
  text-align: center;
  margin: 2rem 0;
}

.privacy-label a {
  color: #007bff;
  text-decoration: none;
}

.privacy-label a:hover {
  text-decoration: underline;
}

/* エラーメッセージ */
.error-message {
  background-color: #fff3f3;
  border: 1px solid #ffcdd2;
  color: #d32f2f;
  padding: 15px;
  margin: 20px auto;
  max-width: 800px;
  border-radius: 4px;
}
.error-message ul {
  margin: 0;
  padding-left: 20px;
}

/* 成功メッセージ */
.success-message {
  background-color: #f1f8e9;
  border: 1px solid #c5e1a5;
  color: #33691e;
  padding: 15px;
  margin: 20px auto;
  max-width: 800px;
  border-radius: 4px;
  text-align: center;
}

/* お問い合わせ情報セクション */
#content.contactForm h3 {
  font-size: clamp(1.375rem, 1.193rem + 0.91vw, 1.875rem); /* min 22px/320px : max 30px/1200px */
}

#content.contactForm h3 br {
  display: none;
}

@media (max-width: 400px) {
  #content.contactForm h3 br {
    display: block;
  }
}

.contactForm .confirm-group {
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid #eee;
}
.contactForm .confirm-group:last-child {
  border-bottom-style: none;
}
.contactForm .confirm-group label {
  display: block;
  font-weight: bold;
  color: #333;
  margin-bottom: 0.5rem;
}
.contactForm .confirm-value {
  margin: 0;
  padding: 0.5rem;
  background: #F6F6F6;
  border-radius: 4px;
  color: #333;
  line-height: 1.6;
}
.contactForm .message-content {
  white-space: pre-wrap;
  min-height: 100px;
}
.contactForm .form-submit {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;
}
.contactForm .back-button {
  background: #F6F6F6;
  border: 1px solid #ddd;
  color: #333;
}
.contactForm .back-button:hover {
  background: #e9ecef;
}



/* ==================================================
CTAセクション
================================================== */

@media (max-width: 768px) {
  .equipment-item {
    grid-template-columns: 1fr;
  }
  .service-image, .equipment-image {
    margin-bottom: 1rem;
  }
}



/* ==================================================
FAQ
================================================== */

.search-container {
  margin-bottom: 30px;
  text-align: center;
}
.search-container input {
  width: 100%;
  max-width: 600px;
  padding: 12px 20px;
  border: 2px solid var(--color-primary);
  border-radius: 25px;
  font-size: 16px;
  transition: all 0.3s ease;
}
.search-container input:focus {
  outline: none;
  box-shadow: 0 0 10px rgba(0, 146, 202, 0.3);
}
.category-toggle {
  text-align: center;
  margin-bottom: 30px;
}
.toggle-all {
  padding: 10px 20px;
  background-color: var(--color-primary);
  color: #FFFFFF;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: all 0.3s ease;
}
.toggle-all:hover {
  background-color: var(--color-primary-dark);
}
.category {
  margin-bottom: 0.5rem;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  overflow: hidden;
}
#content .category h2 {
  margin: 0;
  padding: 20px;
  background-color: #F6F6F6;
  cursor: pointer;
  position: relative;
  transition: all 0.3s ease;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #333;
  font-size: 1.2rem;
}
.category h2::after {
  content: '';
  width: 20px;
  height: 20px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%230092ca'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  transition: transform 0.3s ease;
}
.category h2.collapsed::after {
  transform: rotate(-90deg);
}
.category h2:hover {
  background-color: #e9ecef;
}

@media (max-width: 768px) {
  .category h2 {
    line-height: 1.2em;
  }
}

.category-content {
  padding: 0;
  max-height: 0;
  overflow: hidden;
  transition: all 0.3s ease;
  opacity: 0;
}
.category-content.expanded {
  padding: 0.5rem;
  max-height: 2000px;
  opacity: 1;
}
.faq-item {
  margin-bottom: 20px;
  padding: 15px;
  background-color: #FFFFFF;
  border-radius: 5px;
  border-bottom: 1px dotted #ddd;
}
.faq-item:last-child {
  margin-bottom: 0;
  border: none;
}

@media (max-width: 768px) {
  .faq-item {
    margin-bottom: 5%;
    padding: 0.5rem;
  }
}

.question {
  font-weight: bold;
  color: #333;
  margin-bottom: 10px;
  font-size: 1em;
}
.answer {
  color: #666;
  font-size: 0.85rem;
  line-height: 1.6;
}
.faq-item.hidden {
  display: none;
}

/* フォームのラジオボタングループ */
.radio-group {
  display: flex;
  gap: 2rem;
  margin-top: 0.5rem;
}
.radio-group label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
}
.radio-group input[type="radio"] {
  width: 18px;
  height: 18px;
  cursor: pointer;
}
.company-name-group {
  margin-top: 1rem;
  transition: all 0.3s ease;
}



/* ==================================================
トップページ特徴セクション（サービスカテゴリページでも使用））
================================================== */

.features {
  background-color: #f6f6f6;
}

.features h2::after {
  content: '';
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background-color: var(--color-primary);
}
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}
.feature-item {
  background: #FFFFFF;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  position: relative;
  text-align: center;
  flex: 1;
}

@media (max-width: 1000px) {
  .feature-grid {
    padding: 0;
  }
  .feature-item {
    width: calc(50% - 15px);
    flex: auto;
    padding: 10px;
  }
  .feature-item:nth-of-type(3) {
    width: 100%;
  }
  .feature-item:nth-of-type(3) p {
    text-align: center;
  }
}

@media (max-width: 650px) {
  .feature-item {
    width: 100%;
  }
  .feature-item:nth-of-type(3) p {
    text-align: left;
  }
}

.top .feature-item img {
  width: 30%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  transition: transform 0.3s ease;
  margin: 2rem auto 0;
  text-align: center;
}

@media (max-width: 1000px) {
  .top .feature-item img {
    width: 100%;
    max-width: 120px;
  }
}

.feature-item h3 {
  color: var(--color-primary);
  font-size: 1.5em;
  margin: 20px 0 30px;
  padding: 0 20px;
  position: relative;
}
.feature-item h3::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: calc(50% - 20px);
  width: 40px;
  height: 2px;
  background-color: var(--color-primary);
}
.feature-item p {
  color: #666;
  line-height: 1.6;
  padding: 0 20px 20px;
  font-size: 1.1em;
  text-align: left;
}

@media (max-width: 768px) {
  .feature-item img {
    height: auto;
  }
  .feature-item h3 {
    font-size: 1.3em;
  }
  .feature-item p {
    font-size: 1em;
  }
}






