@charset "UTF-8";
/* ワンストップダイアグラムのレスポンシブ対応 */
@media (max-width: 1024px) {
  .onestop-diagram {
    max-width: 950px;
    height: 950px;
    padding-top: 1rem;
    margin: 2rem auto 2.5rem;
  }
  .center-circle {
    width: 180px;
    height: 180px;
  }
  .center-logo {
    max-width: 130px !important;
    max-height: 130px !important;
  }
  .center-icon {
    font-size: 2.5rem;
  }
  .center-text {
    font-size: 1.1rem;
  }
  .center-text span {
    font-size: 0.9rem;
  }
  .connection-line {
    width: 300px;
  }
  .diagram-node {
    width: 145px;
    height: 145px;
    padding: 0.625rem 0.5rem;
  }
  .node-company-label {
    padding: 0.2rem 0.4rem;
    margin-bottom: 0.4rem;
    font-size: 0.5rem;
  }
  .node-company-labels-wrapper {
    gap: 0.2rem;
    margin-bottom: 0.4rem;
  }
  .node-content i {
    margin-bottom: 0.375rem;
    font-size: 1.625rem;
  }
  .node-content span {
    font-size: 0.6875rem;
    line-height: 1.3;
  }
  /* ノード配置（タブレット） */
  .node-1 {
    left: 2%;
    z-index: 5;
  }
  .node-2 {
    top: 8%;
    left: 17%;
    z-index: 5;
  }
  .node-3 {
    top: 8%;
    right: 17%;
    z-index: 5;
  }
  .node-4 {
    right: 2%;
    z-index: 5;
  }
  .node-5 {
    right: 17%;
    bottom: 8%;
    z-index: 5;
  }
  .node-6 {
    bottom: 8%;
    left: 17%;
    z-index: 5;
  }
  .node-7 {
    top: 30%;
    left: 9%;
    z-index: 5;
  }
  .node-8 {
    top: 30%;
    right: 9%;
    z-index: 5;
  }
}
@media (max-width: 768px) {
  /* グループ会社セクション全体 */
  .group-companies-services {
    padding: var(--spacing-lg) 0 !important;
  }
  .group-companies-services .section-header {
    padding: 0 1rem;
    margin-bottom: 2rem;
  }
  /* ワンストップダイアグラム（モバイル版） */
  .onestop-diagram {
    display: block !important;
    max-width: 100% !important;
    height: auto !important;
    padding: 1.5rem 1rem !important;
    margin: 2rem 0 !important;
  }
  /* 中央円 */
  .diagram-center {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    z-index: 1;
    width: -moz-fit-content !important;
    width: fit-content !important;
    margin: 0 auto 2rem !important;
    transform: none !important;
  }
  .center-circle {
    width: 150px !important;
    height: 150px !important;
    margin: 0 auto;
  }
  .center-logo {
    max-width: 110px !important;
    max-height: 110px !important;
  }
  .center-icon {
    font-size: 2rem !important;
  }
  .center-text {
    font-size: 0.9375rem !important;
  }
  .center-text span {
    font-size: 0.8125rem !important;
  }
  /* 接続線を非表示 */
  .diagram-connections {
    display: none !important;
  }
  /* ノード（サービス項目） */
  .diagram-node {
    position: relative !important;
    top: auto !important;
    right: auto !important;
    bottom: auto !important;
    left: auto !important;
    flex-direction: row !important;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    padding: 1rem !important;
    margin: 0 0 1rem !important;
    border-radius: 12px !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08) !important;
    transform: none !important;
  }
  /* モバイルではホバーエフェクトを無効化し、常にテキストとアイコンを表示 */
  .diagram-node {
    opacity: 1 !important;
  }
  .diagram-node:active {
    opacity: 0.95 !important;
    transform: scale(0.98) !important;
  }
  /* アイコンとテキストを常に表示 */
  .diagram-node .node-content i,
  .diagram-node .node-content span {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
  }
  .diagram-node::before {
    display: none !important;
  }
  /* ノードの会社ラベル（モバイル版） */
  .node-company-label,
  .node-company-labels-wrapper .node-company-label {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    flex-shrink: 0 !important;
    padding: 0.3rem 0.5rem !important;
    margin-right: 0.75rem !important;
    font-size: 0.625rem !important;
    color: #fff !important;
    text-decoration: none !important;
    border-radius: 8px !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1) !important;
    transform: none !important;
  }
  .node-company-labels-wrapper {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 0.25rem !important;
    margin-right: 0.75rem !important;
    transform: none !important;
  }
  .node-content {
    display: flex !important;
    flex: 1 !important;
    flex-direction: row !important;
    gap: 0.875rem !important;
    align-items: center !important;
    padding: 0 !important;
    text-align: left !important;
  }
  .node-content i {
    display: block !important;
    flex-shrink: 0 !important;
    width: 36px !important;
    margin-bottom: 0 !important;
    font-size: 1.5rem !important;
    color: var(--color-primary) !important;
    text-align: center !important;
    visibility: visible !important;
    opacity: 1 !important;
  }
  .node-content span {
    flex: 1 !important;
    font-size: 0.875rem !important;
    font-weight: 600 !important;
    line-height: 1.4 !important;
    color: var(--color-dark) !important;
    text-align: left !important;
    visibility: visible !important;
    opacity: 1 !important;
  }
}
@media (max-width: 480px) {
  /* ダイアグラム全体 */
  .onestop-diagram {
    padding: 1rem 0.75rem !important;
    margin: 1.5rem 0 !important;
  }
  /* 中央円 */
  .center-circle {
    width: 130px !important;
    height: 130px !important;
  }
  .center-logo {
    max-width: 95px !important;
    max-height: 95px !important;
  }
  .center-icon {
    margin-bottom: 0.375rem !important;
    font-size: 1.75rem !important;
  }
  .center-text {
    font-size: 0.875rem !important;
    line-height: 1.2 !important;
  }
  .center-text span {
    font-size: 0.75rem !important;
  }
  /* ノード */
  .diagram-node {
    padding: 0.875rem !important;
    margin: 0 0 0.875rem !important;
    border-radius: 10px !important;
  }
  .node-company-label {
    padding: 0.25rem 0.4rem !important;
    margin-right: 0.625rem !important;
    font-size: 0.5625rem !important;
  }
  .node-content {
    gap: 0.75rem !important;
  }
  .node-content i {
    width: 32px !important;
    font-size: 1.375rem !important;
    color: var(--color-primary) !important;
    visibility: visible !important;
    opacity: 1 !important;
  }
  .node-content span {
    font-size: 0.8125rem !important;
    line-height: 1.3 !important;
  }
}
/* About カードのレスポンシブ対応 */
@media (max-width: 768px) {
  .about {
    padding: var(--spacing-lg) 0 !important;
  }
  .about-grid {
    grid-template-columns: 1fr !important;
    gap: 2rem;
    padding: 0 1rem !important;
  }
  .about-card {
    padding: 2.5rem 2rem !important;
    border-radius: 20px !important;
  }
  .about-card-icon {
    margin-bottom: 1.5rem;
  }
  .floating-shape {
    opacity: 0.03;
  }
  .shape-circle-1 {
    width: 200px;
    height: 200px;
  }
  .shape-circle-2 {
    width: 150px;
    height: 150px;
  }
  .shape-triangle {
    border-right: 80px solid transparent;
    border-bottom: 138px solid rgba(139, 139, 139, 0.5);
    border-left: 80px solid transparent;
  }
  .about-video {
    padding: 0 1rem;
  }
}
@media (max-width: 480px) {
  .about-grid {
    gap: 1.5rem;
    padding: 0 0.75rem !important;
  }
  .about-card {
    padding: 2rem 1.5rem !important;
  }
  .about-card-title {
    font-size: 1.25rem !important;
  }
  .about-card-text {
    font-size: 0.9375rem !important;
  }
}
/* セクションヘッダーのレスポンシブ対応 */
@media (max-width: 768px) {
  .section-header {
    padding: 0 1rem;
  }
  .section-title {
    font-size: 1.75rem !important;
  }
  .section-description {
    font-size: 0.9375rem !important;
  }
}
@media (max-width: 480px) {
  .section-header {
    padding: 0 0.75rem;
  }
  .section-title {
    font-size: 1.5rem !important;
  }
  .section-label {
    font-size: 0.75rem !important;
  }
  .section-description {
    font-size: 0.875rem !important;
  }
}
/* グループ会社セクションのレスポンシブ対応 */
@media (max-width: 768px) {
  .group-companies-services {
    padding: var(--spacing-lg) 0 !important;
  }
  .group-companies-services .container {
    padding: 0 1rem !important;
  }
  .company-section {
    padding: 1.75rem 1.25rem !important;
    margin-bottom: 2rem !important;
    border-radius: 20px !important;
  }
  .company-header {
    flex-direction: column !important;
    gap: 1rem !important;
    align-items: flex-start !important;
    padding-bottom: 1.5rem !important;
    margin-bottom: 1.5rem !important;
  }
  .company-logo-area {
    width: 100% !important;
    min-width: 100% !important;
  }
  .company-name {
    font-size: 1.375rem !important;
  }
  .company-tagline {
    font-size: 0.8125rem !important;
  }
  .company-link-btn {
    justify-content: center !important;
    width: 100% !important;
    padding: 0.875rem 1.25rem !important;
    font-size: 0.875rem !important;
  }
  .company-description {
    margin-bottom: 1.5rem !important;
    font-size: 0.875rem !important;
    line-height: 1.7 !important;
  }
  .company-services-grid {
    grid-template-columns: 1fr !important;
    gap: 1.25rem !important;
    margin-top: 2rem !important;
  }
  .company-service-card {
    padding: 1.5rem 1.25rem !important;
    border-radius: 16px !important;
  }
  .service-card-header {
    padding-bottom: 1.25rem !important;
    margin-bottom: 1.25rem !important;
  }
  .service-card-icon {
    width: 56px !important;
    height: 56px !important;
    margin-bottom: 0.875rem !important;
    font-size: 1.5rem !important;
  }
  .service-card-title {
    margin-bottom: 0.375rem !important;
    font-size: 1.125rem !important;
  }
  .service-card-tagline {
    font-size: 0.8125rem !important;
  }
  .service-card-lead {
    margin-bottom: 1rem !important;
    font-size: 0.875rem !important;
    line-height: 1.6 !important;
  }
  .service-card-features {
    gap: 0.625rem !important;
  }
  .service-card-features li {
    padding-left: 1.5rem !important;
    font-size: 0.8125rem !important;
    line-height: 1.5 !important;
  }
  .service-card-features i {
    left: 0 !important;
    font-size: 0.75rem !important;
  }
}
@media (max-width: 480px) {
  .group-companies-services .container {
    padding: 0 0.75rem !important;
  }
  .company-section {
    padding: 1.5rem 1rem !important;
    margin-bottom: 1.75rem !important;
  }
  .company-name {
    font-size: 1.25rem !important;
  }
  .company-tagline {
    font-size: 0.75rem !important;
  }
  .company-link-btn {
    padding: 0.75rem 1rem !important;
    font-size: 0.8125rem !important;
  }
  .company-description {
    margin-bottom: 1.25rem !important;
    font-size: 0.8125rem !important;
  }
  .company-services-grid {
    gap: 1rem !important;
    margin-top: 1.5rem !important;
  }
  .company-service-card {
    padding: 1.25rem 1rem !important;
  }
  .service-card-header {
    padding-bottom: 1rem !important;
    margin-bottom: 1rem !important;
  }
  .service-card-icon {
    width: 50px !important;
    height: 50px !important;
    margin-bottom: 0.75rem !important;
    font-size: 1.375rem !important;
  }
  .service-card-title {
    font-size: 1.0625rem !important;
  }
  .service-card-tagline {
    font-size: 0.75rem !important;
  }
  .service-card-lead {
    margin-bottom: 0.875rem !important;
    font-size: 0.8125rem !important;
  }
  .service-card-features {
    gap: 0.5rem !important;
  }
  .service-card-features li {
    padding-left: 1.375rem !important;
    font-size: 0.75rem !important;
  }
  .service-card-features i {
    font-size: 0.6875rem !important;
  }
}
/* コンテナのレスポンシブ対応 */
@media (max-width: 768px) {
  .section-header {
    padding: 0 1rem;
  }
  .section-title {
    font-size: 1.75rem !important;
  }
  .section-description {
    font-size: 0.9375rem !important;
  }
}
@media (max-width: 480px) {
  .section-header {
    padding: 0 0.75rem;
  }
  .section-title {
    font-size: 1.5rem !important;
  }
  .section-label {
    font-size: 0.75rem !important;
  }
  .section-description {
    font-size: 0.875rem !important;
  }
}
/* コンテナのレスポンシブ対応 */
@media (max-width: 768px) {
  .container {
    padding: 0 1rem !important;
  }
}
@media (max-width: 480px) {
  .container {
    padding: 0 0.75rem !important;
  }
}