/*
Theme Name: Namecore
Author: Namecore
Description: 合同会社Namecore コーポレートサイト
Version: 1.0.0
License: GNU General Public License v2 or later
Text Domain: namecore
*/

/* ============================================================
   Reset & Base
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", sans-serif;
  color: #0f172a;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
button { cursor: pointer; font-family: inherit; }

/* ============================================================
   Header
   ============================================================ */
.nc-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  transition: background 0.3s, box-shadow 0.3s;
  background: rgba(255,255,255,0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.nc-header.scrolled {
  background: rgba(255,255,255,0.95);
  box-shadow: 0 1px 0 #e2e8f0;
}
.nc-header__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nc-header__logo img { height: 48px; width: auto; }

.nc-nav { display: flex; align-items: center; gap: 4px; }
.nc-nav__link {
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 500;
  color: #64748b;
  border-radius: 6px;
  transition: color 0.2s;
}
.nc-nav__link:hover { color: #0d9488; }
.nc-nav__cta {
  margin-left: 8px;
  padding: 9px 22px;
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(135deg, #0d9488, #14b8a6);
  border-radius: 8px;
  transition: opacity 0.2s;
  box-shadow: 0 2px 8px rgba(13,148,136,0.3);
}
.nc-nav__cta:hover { opacity: 0.88; color: #fff; }

.nc-menu-btn {
  display: none;
  background: none;
  border: none;
  padding: 8px;
  color: #0f172a;
}
.nc-mobile-menu {
  display: none;
  background: #fff;
  border-top: 1px solid #e2e8f0;
  padding: 16px 24px 24px;
}
.nc-mobile-menu.open { display: block; }
.nc-mobile-menu a {
  display: block;
  padding: 14px 0;
  font-size: 16px;
  font-weight: 500;
  color: #374151;
  border-bottom: 1px solid #f1f5f9;
}
.nc-mobile-menu__cta {
  display: block;
  margin-top: 16px;
  padding: 14px;
  text-align: center;
  font-size: 15px;
  font-weight: 600;
  color: #fff !important;
  background: linear-gradient(135deg, #0d9488, #14b8a6);
  border-radius: 8px;
  border-bottom: none !important;
}

@media (max-width: 768px) {
  .nc-nav { display: none; }
  .nc-menu-btn { display: block; }
}

/* ============================================================
   Buttons
   ============================================================ */
.btn-primary {
  display: inline-block;
  padding: 14px 32px;
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(135deg, #0d9488, #14b8a6);
  border-radius: 10px;
  transition: opacity 0.2s;
  box-shadow: 0 4px 16px rgba(13,148,136,0.3);
  border: none;
}
.btn-primary:hover { opacity: 0.88; color: #fff; }
.btn-secondary {
  display: inline-block;
  padding: 14px 32px;
  font-size: 15px;
  font-weight: 600;
  color: #0f172a;
  background: #fff;
  border: 1.5px solid #e2e8f0;
  border-radius: 10px;
  transition: background 0.2s;
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}
.btn-secondary:hover { background: #f8fafc; }

/* ============================================================
   Hero
   ============================================================ */
.nc-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #e8f4fd;
}
.nc-hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center right;
  background-repeat: no-repeat;
}
.nc-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(255,255,255,0.97) 0%, rgba(255,255,255,0.92) 38%, rgba(255,255,255,0.5) 60%, rgba(255,255,255,0.05) 100%);
}
.nc-hero__inner {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding: 120px 24px 80px;
  width: 100%;
}
.nc-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 100px;
  background: rgba(13,148,136,0.08);
  border: 1px solid rgba(13,148,136,0.2);
  margin-bottom: 28px;
}
.nc-hero__badge-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #0d9488;
  display: inline-block;
}
.nc-hero__badge span { font-size: 13px; color: #0d9488; font-weight: 600; }
.nc-hero__title {
  font-size: clamp(2rem, 4.5vw, 3.6rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: #0f172a;
  margin-bottom: 24px;
}
.nc-hero__title em { font-style: normal; color: #0d9488; }
.nc-hero__desc {
  font-size: 1.05rem;
  color: #475569;
  line-height: 1.85;
  margin-bottom: 40px;
  max-width: 480px;
}
.nc-hero__btns { display: flex; gap: 14px; flex-wrap: wrap; }
.nc-hero__stats {
  margin-top: 56px;
  display: flex;
  gap: 36px;
  flex-wrap: wrap;
}
.nc-hero__stat-value {
  font-size: 2rem;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.03em;
  line-height: 1;
}
.nc-hero__stat-unit { font-size: 13px; font-weight: 600; color: #0d9488; }
.nc-hero__stat-label { font-size: 12px; color: #94a3b8; font-weight: 500; display: block; }

/* ============================================================
   Photo Strip
   ============================================================ */
.nc-strip {
  padding: 0 24px 80px;
  background: #fff;
}
.nc-strip__grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.nc-strip__card {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  aspect-ratio: 4/3;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}
.nc-strip__card img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.nc-strip__card:hover img { transform: scale(1.05); }
.nc-strip__label {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 32px 14px 14px;
  background: linear-gradient(to top, rgba(15,23,42,0.72) 0%, transparent 100%);
}
.nc-strip__label-sub {
  font-size: 10px;
  font-weight: 600;
  color: rgba(255,255,255,0.65);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 3px;
}
.nc-strip__label-main {
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  line-height: 1.4;
}

@media (max-width: 768px) { .nc-strip__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .nc-strip__grid { grid-template-columns: 1fr; } }

/* ============================================================
   Section Common
   ============================================================ */
.nc-section-label {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.15em;
  color: #0d9488;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.nc-section-title {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #0f172a;
  margin-bottom: 16px;
}
.nc-section-desc {
  font-size: 1.05rem;
  color: #64748b;
  line-height: 1.8;
}

/* ============================================================
   Services
   ============================================================ */
.nc-services {
  padding: 100px 24px;
  background: #f8fafc;
  border-top: 1px solid #e2e8f0;
}
.nc-services__inner { max-width: 1200px; margin: 0 auto; }
.nc-services__header { text-align: center; margin-bottom: 64px; }
.nc-services__header .nc-section-desc { max-width: 500px; margin: 0 auto; }
.nc-services__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 18px;
}
.nc-service-card {
  padding: 28px;
  background: #fff;
  border: 1.5px solid #e2e8f0;
  border-radius: 14px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
  transition: box-shadow 0.2s, transform 0.2s;
}
.nc-service-card:hover {
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
  transform: translateY(-2px);
}
.nc-service-card__top {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}
.nc-service-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  border-radius: 10px;
  flex-shrink: 0;
}
.nc-service-card__tag {
  font-size: 11px;
  font-weight: 600;
  padding: 3px 9px;
  border-radius: 100px;
  letter-spacing: 0.04em;
}
.nc-service-card__title {
  font-size: 14.5px;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.5;
  margin-bottom: 10px;
}
.nc-service-card__desc {
  font-size: 13px;
  color: #64748b;
  line-height: 1.75;
}

/* ============================================================
   About
   ============================================================ */
.nc-about { padding: 100px 24px; background: #fff; }
.nc-about__inner { max-width: 1200px; margin: 0 auto; }
.nc-about__main {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
  margin-bottom: 72px;
}
.nc-about__photo-wrap {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.12);
}
.nc-about__photo-wrap img { width: 100%; height: auto; display: block; }
.nc-about__badge {
  position: absolute;
  top: 20px; left: -16px;
  background: #fff;
  border: 1.5px solid #e2e8f0;
  border-radius: 14px;
  padding: 14px 18px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}
.nc-about__badge-value {
  font-size: 22px;
  font-weight: 800;
  color: #0f172a;
  line-height: 1;
}
.nc-about__badge-value span { font-size: 13px; color: #0d9488; margin-left: 3px; }
.nc-about__badge-label { font-size: 11px; color: #94a3b8; font-weight: 500; margin-top: 2px; }
.nc-about__badge2 {
  position: absolute;
  bottom: 20px; right: -16px;
  background: linear-gradient(135deg, #0d9488, #14b8a6);
  border-radius: 14px;
  padding: 14px 20px;
  box-shadow: 0 8px 24px rgba(13,148,136,0.3);
  color: #fff;
}
.nc-about__badge2-title { font-size: 13px; font-weight: 700; margin-bottom: 2px; }
.nc-about__badge2-sub { font-size: 11px; opacity: 0.8; }
.nc-about__text p { font-size: 1rem; color: #64748b; line-height: 1.9; margin-bottom: 20px; }
.nc-about__text p:last-of-type { margin-bottom: 36px; }
.nc-about__table {
  border: 1.5px solid #e2e8f0;
  border-radius: 12px;
  overflow: hidden;
}
.nc-about__row {
  display: flex;
  padding: 12px 18px;
  font-size: 14px;
}
.nc-about__row:not(:last-child) { border-bottom: 1px solid #f1f5f9; }
.nc-about__row:nth-child(odd) { background: #fff; }
.nc-about__row:nth-child(even) { background: #fafbfc; }
.nc-about__row-label { width: 100px; color: #94a3b8; font-weight: 500; flex-shrink: 0; }
.nc-about__row-value { color: #0f172a; font-weight: 500; }

.nc-values__title {
  font-size: 13px;
  font-weight: 600;
  color: #94a3b8;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-align: center;
  margin-bottom: 28px;
}
.nc-values__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 16px;
}
.nc-value-card {
  padding: 24px;
  background: #f8fafc;
  border: 1.5px solid #e2e8f0;
  border-radius: 12px;
}
.nc-value-card__no { font-size: 11px; font-weight: 700; color: #0d9488; letter-spacing: 0.1em; margin-bottom: 10px; }
.nc-value-card__title { font-size: 16px; font-weight: 700; color: #0f172a; margin-bottom: 8px; }
.nc-value-card__desc { font-size: 13.5px; color: #64748b; line-height: 1.7; }

@media (max-width: 768px) {
  .nc-about__main { grid-template-columns: 1fr; gap: 40px; }
  .nc-about__badge { left: 0; }
  .nc-about__badge2 { right: 0; }
}

/* ============================================================
   Contact
   ============================================================ */
.nc-contact {
  padding: 100px 24px;
  background: #f8fafc;
  border-top: 1px solid #e2e8f0;
}
.nc-contact__inner { max-width: 1200px; margin: 0 auto; }
.nc-contact__header { text-align: center; margin-bottom: 64px; }
.nc-contact__grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 48px;
  align-items: start;
}
.nc-contact__photo-wrap {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 4/3;
  margin-bottom: 24px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.1);
}
.nc-contact__photo-wrap img { width: 100%; height: 100%; object-fit: cover; }
.nc-contact__photo-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(13,148,136,0.5) 0%, transparent 55%);
}
.nc-contact__photo-text {
  position: absolute;
  bottom: 20px; left: 20px;
}
.nc-contact__photo-text p { color: #fff; font-size: 15px; font-weight: 700; margin-bottom: 3px; }
.nc-contact__photo-text span { color: rgba(255,255,255,0.8); font-size: 12px; }
.nc-contact__info { display: flex; flex-direction: column; gap: 12px; }
.nc-contact__info-card {
  display: flex;
  gap: 14px;
  align-items: center;
  padding: 14px 16px;
  background: #fff;
  border: 1.5px solid #e2e8f0;
  border-radius: 10px;
}
.nc-contact__info-icon {
  width: 38px; height: 38px;
  border-radius: 9px;
  background: #f0fdfa;
  color: #0d9488;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.nc-contact__info-label {
  font-size: 11px;
  color: #94a3b8;
  font-weight: 600;
  margin-bottom: 1px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.nc-contact__info-value { font-size: 14px; color: #0f172a; font-weight: 500; }

.nc-contact__form-wrap {
  padding: 36px;
  background: #fff;
  border: 1.5px solid #e2e8f0;
  border-radius: 16px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.06);
}
.nc-form__title { font-size: 17px; font-weight: 700; color: #0f172a; margin-bottom: 26px; }
.nc-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 14px; }
.nc-form__field { margin-bottom: 14px; }
.nc-form__label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #374151;
  margin-bottom: 7px;
}
.nc-form__label span { color: #0d9488; }
.nc-form__input,
.nc-form__select,
.nc-form__textarea {
  width: 100%;
  padding: 11px 14px;
  background: #fff;
  border: 1.5px solid #e2e8f0;
  border-radius: 8px;
  color: #0f172a;
  font-size: 14px;
  font-family: inherit;
  outline: none;
  transition: border-color 0.2s;
  box-sizing: border-box;
}
.nc-form__input:focus,
.nc-form__select:focus,
.nc-form__textarea:focus { border-color: #14b8a6; }
.nc-form__textarea { resize: vertical; min-height: 110px; }
.nc-form__select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L6 7L11 1' stroke='%2394a3b8' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
}
.nc-form__submit {
  width: 100%;
  padding: 14px;
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(135deg, #0d9488, #14b8a6);
  border: none;
  border-radius: 10px;
  transition: opacity 0.2s;
  box-shadow: 0 4px 12px rgba(13,148,136,0.3);
  margin-bottom: 12px;
}
.nc-form__submit:hover { opacity: 0.88; }
.nc-form__note { font-size: 12px; color: #94a3b8; text-align: center; }
.nc-form__thanks { text-align: center; padding: 40px 0; }
.nc-form__thanks-icon {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: #f0fdfa;
  color: #0d9488;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}
.nc-form__thanks h3 { font-size: 18px; font-weight: 700; color: #0f172a; margin-bottom: 10px; }
.nc-form__thanks p { font-size: 14px; color: #64748b; line-height: 1.7; }
.nc-form__back {
  margin-top: 24px;
  padding: 10px 24px;
  background: #f8fafc;
  border: 1.5px solid #e2e8f0;
  border-radius: 8px;
  color: #64748b;
  font-size: 14px;
}

@media (max-width: 768px) {
  .nc-contact__grid { grid-template-columns: 1fr; gap: 32px; }
  .nc-form__row { grid-template-columns: 1fr; }
}

/* ============================================================
   Footer
   ============================================================ */
.nc-footer { background: #0f172a; color: #fff; padding: 60px 24px 36px; }
.nc-footer__inner { max-width: 1200px; margin: 0 auto; }
.nc-footer__top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 40px;
  margin-bottom: 48px;
}
.nc-footer__logo img { height: 32px; width: auto; filter: brightness(0) invert(1); margin-bottom: 14px; }
.nc-footer__tagline { font-size: 13px; color: #64748b; max-width: 260px; line-height: 1.7; }
.nc-footer__links { display: flex; gap: 48px; flex-wrap: wrap; }
.nc-footer__col h4 {
  font-size: 11px;
  font-weight: 600;
  color: #475569;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.nc-footer__col a,
.nc-footer__col span {
  display: block;
  font-size: 14px;
  color: #64748b;
  margin-bottom: 10px;
  transition: color 0.2s;
}
.nc-footer__col a:hover { color: #94a3b8; }
.nc-footer__bottom {
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.06);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.nc-footer__bottom p { font-size: 13px; color: #334155; }
