@charset "UTF-8";
.company-greeting {
  padding: 60px 0;
  background: #fff;
}

.company-greeting .greeting-content {
  background: #F3F3F7;
  padding: 50px 80px;
  text-align: left;
}

@media screen and (max-width: 768px) {
  .company-greeting .greeting-content {
    padding: 35px 40px;
    text-align: justify;
  }
}
@media screen and (max-width: 480px) {
  .company-greeting .greeting-content {
    padding: 15px 20px;
  }
}
.company-greeting .greeting-content .section-title {
  font-size: 38px;
  font-weight: 500;
  margin-bottom: 30px;
}

@media screen and (max-width: 480px) {
  .company-greeting .greeting-content .section-title {
    font-size: 34px;
  }
}
.company-greeting .greeting-content .greeting-text p {
  font-family: "Noto Serif JP", serif;
  color: #3a3a3a;
  line-height: 1.8;
  margin-bottom: 20px;
  font-size: 16px;
}

.company-greeting .greeting-content .greeting-text p:last-of-type {
  margin-bottom: 30px;
}

.company-greeting .greeting-content .greeting-text .signature {
  text-align: right;
}

.company-greeting .greeting-content .greeting-text .signature p {
  margin-bottom: 5px;
  color: #2b2b2b;
}

.company-overview {
  padding: 60px 0;
}

.company-overview .company-table {
  background: #fff;
  overflow: hidden;
}

.company-overview .company-table .table-row {
  display: flex;
  border-bottom: 1px solid #D9D9D9;
}

.company-overview .company-table .table-row:first-child {
  border-top: 1px solid rgba(217, 217, 217, 0.9);
}

@media screen and (max-width: 768px) {
  .company-overview .company-table .table-row {
    flex-direction: column;
  }
}
.company-overview .company-table .table-header {
  background: #F3F3F7;
  padding: 20px;
  font-weight: 600;
  color: #2b2b2b;
  width: 200px;
  flex-shrink: 0;
  text-align: center;
}

@media screen and (max-width: 768px) {
  .company-overview .company-table .table-header {
    width: 100%;
    padding: 16px;
  }
}
.company-overview .company-table .table-data {
  padding: 20px;
  color: #3a3a3a;
  line-height: 1.6;
  flex: 1;
}

@media screen and (max-width: 768px) {
  .company-overview .company-table .table-data {
    padding: 14px;
    text-align: center;
  }
}
.company-history {
  padding: 60px 0;
  background: #fff;
}

.company-history .inner {
  background: #F3F3F7;
  padding: 50px 80px;
}

@media screen and (max-width: 768px) {
  .company-history .inner {
    padding: 35px 35px;
  }
}
@media screen and (max-width: 480px) {
  .company-history .inner {
    padding: 15px 20px;
  }
}
.company-history .history-list {
  background: #F3F3F7;
  overflow: hidden;
  max-width: 800px;
  margin: auto;
}

.company-history .history-item {
  display: flex;
  border-bottom: 1px solid rgba(112, 112, 112, 0.7);
}

.company-history .history-item:first-child {
  border-top: 1px solid rgba(112, 112, 112, 0.7);
}

@media screen and (max-width: 768px) {
  .company-history .history-item {
    flex-direction: column;
  }
}
.company-history .history-item .history-year {
  padding: 20px;
  font-weight: 600;
  color: #3a3a3a;
  width: 150px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
}

@media screen and (max-width: 768px) {
  .company-history .history-item .history-year {
    width: 100%;
    padding: 16px;
    padding-bottom: 0;
  }
}
.company-history .history-item .history-content {
  padding: 20px;
  color: #3a3a3a;
  line-height: 1.6;
  flex: 1;
  display: flex;
  align-items: center;
}

@media screen and (max-width: 768px) {
  .company-history .history-item .history-content {
    padding: 14px;
    padding-top: 2.5px;
  }
}
.company-access {
  padding: 60px 0;
}

.company-access .access-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
  width: 800px;
  max-width: 100%;
  margin: auto;
}

.company-access .map-placeholder {
  width: 100%;
  aspect-ratio: 4/3;
  border-radius: 40px;
  overflow: hidden;
}

.company-access .map-placeholder iframe {
  width: 100%;
  height: 100%;
  border: 0;
  outline: 0;
}

.company-access .access-info {
  background: #fff;
  color: #37377E;
  padding: 30px;
  border-radius: 8px;
}

.company-access .access-info .address {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 20px;
}

.company-access .access-info .access-note {
  line-height: 1.6;
}

.gm-style .place-card-large {
  display: none !important;
}

.page-about main section:not(:first-of-type) {
  font-family: "Noto Serif JP", serif;
}

.company-philosophy {
  padding: 80px 0;
  background: #fff;
}

.company-philosophy .philosophy-title {
  text-align: center;
  font-size: 36px;
  color: #2b2b2b;
  font-weight: 600;
  margin-bottom: 60px;
}

@media screen and (max-width: 768px) {
  .company-philosophy .philosophy-title {
    font-size: 28px;
    margin-bottom: 40px;
  }
}
.company-philosophy .philosophy-content {
  display: flex;
  align-items: flex-start;
  gap: 4%;
}

@media screen and (max-width: 768px) {
  .company-philosophy .philosophy-content {
    flex-direction: column-reverse;
    gap: 40px;
  }
}
.company-philosophy .philosophy-content .philosophy-text {
  flex: 1;
}

.company-philosophy .philosophy-content .philosophy-text .philosophy-heading {
  font-size: min(30px, 3vw);
  color: #37377E;
  font-weight: 500;
  line-height: 1.4;
  margin-bottom: 40px;
  text-align: center;
}

@media screen and (max-width: 768px) {
  .company-philosophy .philosophy-content .philosophy-text .philosophy-heading {
    font-size: 24px;
    margin-bottom: 30px;
  }
}
.company-philosophy .philosophy-content .philosophy-text .philosophy-description p {
  color: #3a3a3a;
  line-height: 1.8;
  margin-bottom: 20px;
  font-size: 16px;
}

.company-philosophy .philosophy-content .philosophy-text .philosophy-description p:last-child {
  margin-bottom: 0;
  text-align: justify;
  letter-spacing: 0.5px;
}

.company-philosophy .philosophy-content .philosophy-image {
  width: min(500px, 50%);
}

@media screen and (max-width: 768px) {
  .company-philosophy .philosophy-content .philosophy-image {
    flex: none;
    width: min(500px, 80%);
    margin: auto;
  }
}
.company-philosophy .philosophy-content .philosophy-image img {
  width: 100%;
  height: auto;
}

.company-features {
  padding: 130px 0;
  background: #fff;
}

.company-features .inner {
  position: relative;
  overflow: hidden;
  border-radius: 35px;
  z-index: 0;
  padding: 50px 60px;
}

@media screen and (max-width: 768px) {
  .company-features .inner {
    padding: 35px 40px 100px;
  }
}
@media screen and (max-width: 480px) {
  .company-features .inner {
    padding: 15px 20px 80px;
  }
}
.company-features .inner::after {
  content: "";
  position: absolute;
  background-image: url(https://nakamurakei.com/wp-content/uploads/about_featurebg-scaled.webp);
  background-repeat: no-repeat;
  background-position: 50% 50%;
  background-size: cover;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: -1;
  opacity: 0.7;
}

.company-features .inner .features-header {
  text-align: center;
  margin-bottom: 80px;
}

.company-features .inner .features-header .features-title {
  font-size: 38px;
  color: #3E3E83;
  font-weight: 600;
  margin-bottom: 15px;
  padding-bottom: 15px;
  border-bottom: 1px solid;
}

@media screen and (max-width: 480px) {
  .company-features .inner .features-header .features-title {
    font-size: 34px;
  }
}
.company-features .inner .features-header .features-subtitle {
  color: #3E3E83;
  font-size: 20px;
  letter-spacing: 5px;
  position: relative;
  margin: 0;
}

@media screen and (max-width: 480px) {
  .company-features .inner .features-header .features-subtitle {
    font-size: 18px;
    letter-spacing: 3px;
  }
}
.company-features .inner .feature-item {
  display: flex;
  align-items: flex-start;
  gap: 5%;
  margin-bottom: 100px;
}

@media screen and (max-width: 768px) {
  .company-features .inner .feature-item {
    flex-direction: column;
    gap: 40px;
    margin-bottom: 60px;
  }
}
.company-features .inner .feature-item:last-child {
  margin-bottom: 0;
}

.company-features .inner .feature-item.feature-reverse {
  flex-direction: row-reverse;
}

@media screen and (max-width: 768px) {
  .company-features .inner .feature-item.feature-reverse {
    flex-direction: column;
  }
}
.company-features .inner .feature-item .feature-image {
  /*flex: 0 0 400px;*/
  width: min(400px, 38%);
  position: relative;
  z-index: 1;
}

@media screen and (max-width: 768px) {
  .company-features .inner .feature-item .feature-image {
    flex: none;
    width: min(400px, 90%);
    margin: auto;
  }
}
.company-features .inner .feature-item .feature-image img {
  width: 100%;
  height: auto;
}

.company-features .inner .feature-item .feature-content {
  flex: 1;
  position: relative;
  z-index: 0;
  margin-top: 4%;
  padding-right: 4%;
  color: #3E3E83;
}

.company-features .inner .feature-item .feature-content::after {
  content: "";
  width: 116%;
  height: 90%;
  background: #fff;
  top: 12%;
  position: absolute;
  z-index: -1;
  left: -16%;
}

.company-features .inner .feature-item .feature-content.eve {
  padding-right: 0;
  padding-left: 4%;
}

.company-features .inner .feature-item .feature-content.eve::after {
  left: unset;
  right: -16%;
}

.company-features .inner .feature-item .feature-content .feature-number {
  font-size: min(80px, 7.5vw);
  font-weight: 300;
  line-height: 0.8;
  margin-bottom: 20px;
}

@media screen and (max-width: 768px) {
  .company-features .inner .feature-item .feature-content .feature-number {
    font-size: min(80px, 12vw);
    font-weight: 400;
  }
}
.company-features .inner .feature-item .feature-content .feature-title {
  font-size: min(32px, 3vw);
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 2px;
}

@media screen and (max-width: 768px) {
  .company-features .inner .feature-item .feature-content .feature-title {
    font-size: min(32px, 5.6vw);
  }
}
.company-features .inner .feature-item .feature-content .feature-text {
  line-height: 1.8;
  font-size: 16px;
}

.products-categories {
  padding: 60px 0;
  background: #fff;
}

.category-item {
  margin-bottom: 30px;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.category-item:last-child {
  margin-bottom: 0;
}

.category-header {
  position: relative;
  /*height:  175px;*/
  aspect-ratio: 1200/180;
  cursor: pointer;
}

@media screen and (max-width: 768px) {
  .category-header {
    /*height: 150px;*/
    aspect-ratio: 1200/220;
  }
}
.category-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-size: cover;
  background-position: 50% 50%;
  background-repeat: no-repeat;
}

.category-bg::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}

.category-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 0 40px;
  gap: 20%;
}

@media screen and (max-width: 768px) {
  .category-content {
    padding: 0 20px;
  }
}
@media screen and (max-width: 480px) {
  .category-content {
    gap: 10%;
  }
}
.category-title {
  color: #fff;
  font-size: 28px;
  font-weight: 400;
  margin: 0;
}

@media screen and (max-width: 768px) {
  .category-title {
    font-size: 20px;
  }
}
@media screen and (max-width: 480px) {
  .category-title {
    font-size: 18px;
  }
}
.toggle-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
}

.toggle-btn .toggle-icon {
  display: block;
  width: 20px;
  height: 20px;
  border-right: 2px solid #fff;
  border-top: 2px solid #fff;
  transition: transform 0.3s ease;
  transform: rotate(-45deg);
}

@media screen and (max-width: 768px) {
  .toggle-btn .toggle-icon {
    width: 14px;
    height: 14px;
    border-width: 1.5px;
  }
}
.category-header.active .toggle-icon {
  transform: rotate(135deg);
}

.category-body {
  display: none;
  padding: 30px 40px;
  background: #fff;
}

@media screen and (max-width: 768px) {
  .category-body {
    padding: 20px;
  }
}
.category-body.show {
  display: block;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
}

@media screen and (max-width: 768px) {
  .products-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }
}
@media screen and (max-width: 480px) {
  .products-grid {
    gap: 15px;
  }
}
.product-item {
  background: #fff;
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid #f0f0f0;
}

.product-item img {
  width: 100%;
  height: auto;
  display: block;
}

.companies-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
}

@media screen and (max-width: 768px) {
  .companies-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
}
.company-item {
  background: #fff;
  padding: 20px;
  text-align: center;
  border-radius: 4px;
  border: 1px solid #f0f0f0;
}

@media screen and (max-width: 768px) {
  .company-item {
    padding: 15px;
  }
}
.company-item .company-logo {
  margin-bottom: 10px;
}

.company-item .company-logo img {
  width: 100%;
  max-width: 120px;
  height: auto;
  margin: 0 auto;
}

.company-item .company-name {
  font-size: 12px;
  color: #3a3a3a;
  line-height: 1.4;
}

.news-archive {
  padding: 60px 0;
  background: #fff;
}

.news-content {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 40px;
}

@media screen and (max-width: 768px) {
  .news-content {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}
.news-main .news-title {
  font-size: 32px;
  color: #37377E;
  font-weight: 500;
  margin-bottom: 40px;
  letter-spacing: 2px;
  text-align: center;
}

@media screen and (max-width: 768px) {
  .news-main .news-title {
    font-size: 24px;
    margin-bottom: 30px;
  }
}
.news-list {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
}

.news-item {
  display: flex;
  align-items: center;
  padding: 30px;
  border-bottom: 1px solid #f0f0f0;
  transition: background 0.2s;
}

.news-item:last-child {
  border-bottom: none;
}

.news-item:hover {
  background: #f8f9fa;
}

@media screen and (max-width: 768px) {
  .news-item {
    flex-direction: column;
    align-items: flex-start;
    padding: 20px;
    gap: 15px;
  }
}
.news-item .news-thumbnail {
  width: 120px;
  height: 90px;
  flex-shrink: 0;
  margin-right: 30px;
  border-radius: 4px;
  overflow: hidden;
}

@media screen and (max-width: 768px) {
  .news-item .news-thumbnail {
    width: 100%;
    height: 200px;
    margin-right: 0;
  }
}
.news-item .news-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.news-item .news-thumbnail .no-image {
  width: 100%;
  height: 100%;
  background: #e0e0e0;
}

.news-item .news-content-text {
  flex: 1;
}

.news-item .news-content-text .news-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.news-item .news-content-text .news-meta .news-date {
  color: #37377E;
  font-size: 14px;
  font-weight: 600;
}

.news-item .news-content-text .news-meta .news-badge {
  background: #d9534f;
  color: #fff;
  font-size: 12px;
  padding: 2px 8px;
  border-radius: 3px;
  font-weight: 600;
}

.news-item .news-content-text .news-excerpt {
  margin: 0;
}

.news-item .news-content-text .news-excerpt a {
  color: #3a3a3a;
  text-decoration: none;
  font-size: 16px;
  line-height: 1.6;
  font-weight: normal;
}

.news-item .news-content-text .news-excerpt a:hover {
  color: #37377E;
}

.news-item .news-arrow {
  margin-left: 20px;
}

@media screen and (max-width: 768px) {
  .news-item .news-arrow {
    margin-left: 0;
    align-self: flex-end;
  }
}
.news-item .news-arrow a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: #37377E;
  color: #fff;
  border-radius: 50%;
  text-decoration: none;
  font-size: 18px;
  transition: background 0.2s;
  padding-bottom: 5px;
}

.news-item .news-arrow a:hover {
  background: #b4b4b4;
}

.news-sidebar .sidebar-widget {
  background: #fff;
  border-radius: 8px;
  padding: 30px;
  margin-bottom: 30px;
}

.news-sidebar .sidebar-widget:last-child {
  margin-bottom: 0;
}

.news-sidebar .sidebar-widget .widget-title {
  color: #2b2b2b;
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid #37377E;
}

.news-sidebar .sidebar-widget .category-list,
.news-sidebar .sidebar-widget .archive-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.news-sidebar .sidebar-widget .category-list li,
.news-sidebar .sidebar-widget .archive-list li {
  margin-bottom: 12px;
  padding-left: 15px;
  position: relative;
}

.news-sidebar .sidebar-widget .category-list li:before,
.news-sidebar .sidebar-widget .archive-list li:before {
  content: "▶";
  position: absolute;
  left: 0;
  color: #37377E;
  font-size: 10px;
  top: 6px;
}

.news-sidebar .sidebar-widget .category-list li:last-child,
.news-sidebar .sidebar-widget .archive-list li:last-child {
  margin-bottom: 0;
}

.news-sidebar .sidebar-widget .category-list li a,
.news-sidebar .sidebar-widget .archive-list li a {
  color: #3a3a3a;
  text-decoration: none;
  font-size: 14px;
  line-height: 1.5;
}

.news-sidebar .sidebar-widget .category-list li a:hover,
.news-sidebar .sidebar-widget .archive-list li a:hover {
  color: #37377E;
}

.contact-form-section {
  padding: 60px 0;
  background: #fff;
}

.contact-intro {
  text-align: center;
  margin-bottom: 40px;
}

.contact-intro p {
  font-size: 16px;
  color: #3a3a3a;
  line-height: 1.6;
}

.contact-form-wrapper {
  max-width: 800px;
  margin: 0 auto;
  background: #F3F3F7;
  padding: 40px;
  border-radius: 8px;
}

@media screen and (max-width: 768px) {
  .contact-form-wrapper {
    padding: 20px;
  }
}
.wpcf7-form .form-row {
  margin-bottom: 30px;
}

.wpcf7-form .form-row label {
  display: block;
  font-weight: 600;
  color: #2b2b2b;
  margin-bottom: 8px;
  font-size: 14px;
}

.wpcf7-form .form-row .required {
  background: #d9534f;
  color: #fff;
  font-size: 11px;
  padding: 2px 6px;
  border-radius: 3px;
  margin-left: 8px;
  font-weight: normal;
}

.wpcf7-form .form-row input[type=text],
.wpcf7-form .form-row input[type=email],
.wpcf7-form .form-row input[type=tel],
.wpcf7-form .form-row textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 14px;
  background: #fff;
}

.wpcf7-form .form-row input[type=text]:focus,
.wpcf7-form .form-row input[type=email]:focus,
.wpcf7-form .form-row input[type=tel]:focus,
.wpcf7-form .form-row textarea:focus {
  outline: none;
  border-color: #d9534f;
}

.wpcf7-form .form-row textarea {
  min-height: 150px;
  resize: vertical;
}

.wpcf7-form .form-row.checkbox-row {
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: center;
}

.wpcf7-form .form-row.checkbox-row .wpcf7-list-item {
  margin: 0;
}

.wpcf7-form .form-row.checkbox-row .wpcf7-list-item input[type=checkbox] {
  width: auto;
  margin-right: 8px;
}

.wpcf7-form .form-row.checkbox-row .wpcf7-list-item .wpcf7-list-item-label {
  font-weight: normal;
  margin: 0;
}

.wpcf7-form .form-row.checkbox-row .required {
  margin-left: 5px;
}

.wpcf7-form .form-submit {
  text-align: center;
  margin-top: 40px;
}

/* Contact Form 7 送信ボタンの基本スタイル */
.wpcf7-form .form-submit input[type=submit],
.wpcf7-submit {
  background: #37377E !important;
  color: #fff !important;
  border: none !important;
  padding: 15px 40px !important;
  border-radius: 4px !important;
  font-size: 16px !important;
  font-weight: 600 !important;
  cursor: pointer !important;
  transition: all 0.2s !important;
  opacity: 1 !important;
}

/* ホバー状態（有効時のみ） */
.wpcf7-form .form-submit input[type=submit]:hover:not(:disabled),
.wpcf7-submit:hover:not(:disabled) {
  background: #5a4fcf !important;
}

/* 無効状態（プライバシーポリシー未チェック時） - 最優先 */
.wpcf7-form .form-submit input[type=submit]:disabled,
.wpcf7-submit:disabled,
.wpcf7-form .form-submit input[type=submit][disabled],
.wpcf7-submit[disabled] {
  background: #ccc !important;
  cursor: not-allowed !important;
  opacity: 0.5 !important;
  pointer-events: none !important;
}

/* 有効状態（プライバシーポリシーチェック済み時） */
.wpcf7-form .form-submit input[type=submit]:not(:disabled):not([disabled]),
.wpcf7-submit:not(:disabled):not([disabled]) {
  background: #37377E !important;
  cursor: pointer !important;
  opacity: 1 !important;
  pointer-events: auto !important;
}

/* Contact Form 7のjQuery上書き対策 */
.wpcf7-form input[type=submit].wpcf7-submit:disabled {
  background-color: #ccc !important;
  background: #ccc !important;
}

.wpcf7-form input[type=submit].wpcf7-submit:not(:disabled) {
  background-color: #37377E !important;
  background: #37377E !important;
}

.wpcf7-spinner {
  display: none;
}

.section {
  padding: 60px 0;
}

@media screen and (max-width: 768px) {
  .section {
    padding: 40px 0;
  }
}
.section--gray {
  background: #f8f9fa;
}

.section-title {
  text-align: center;
  margin-bottom: 50px;
  font-size: 34px;
  color: #37377E;
  position: relative;
  display: block;
  letter-spacing: 3px;
  font-family: "Noto Sans JP", sans-serif;
}

@media screen and (max-width: 480px) {
  .section-title {
    font-size: 30px;
  }
}
.section-title h2 {
  font-size: 34px;
  color: #37377E;
  margin-bottom: 10px;
  position: relative;
  display: inline-block;
  letter-spacing: 3px;
}

@media screen and (max-width: 480px) {
  .section-title h2 {
    font-size: 30px;
  }
}
.section-title h2::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: #d9534f;
}

.section-title .subtitle {
  font-size: 14px;
  color: #666;
  text-transform: uppercase;
  letter-spacing: 2px;
}
