* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI",
    "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  color: #1b2638;
  background: #ffffff;
  line-height: 1.8;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.narrow {
  width: min(780px, calc(100% - 40px));
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.95);
  border-bottom: 1px solid #e5eaf0;
  backdrop-filter: blur(10px);
}

.header-inner {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #0b2748;
}

.global-nav {
  display: flex;
  gap: 28px;
  font-size: 0.94rem;
  font-weight: 600;
}

.global-nav a:hover {
  color: #e17925;
}

.menu-button {
  display: none;
  border: 0;
  background: none;
  font-size: 1.7rem;
}

.hero {
  padding: 96px 0 88px;
  color: #ffffff;
  background:
    radial-gradient(circle at top right, rgba(230, 132, 42, 0.3), transparent 32%),
    linear-gradient(135deg, #071c32, #12385f);
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.6fr 0.8fr;
  align-items: center;
  gap: 56px;
}

.eyebrow,
.section-label {
  margin: 0 0 12px;
  color: #e88937;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.18em;
}

.hero h1 {
  margin: 0;
  font-size: clamp(2.2rem, 5vw, 4.4rem);
  line-height: 1.25;
  letter-spacing: 0.02em;
}

.hero-text {
  max-width: 720px;
  margin: 28px 0 0;
  color: #dce8f3;
  font-size: 1.08rem;
}

.hero-tags,
.tech-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-tags {
  margin-top: 28px;
}

.hero-tags span {
  padding: 7px 12px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 999px;
  font-size: 0.85rem;
}

.hero-actions {
  display: flex;
  gap: 14px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 48px;
  padding: 0 24px;
  border: 0;
  border-radius: 8px;
  font-weight: 700;
  cursor: pointer;
}

.primary {
  color: #ffffff;
  background: #df7724;
}

.primary:hover {
  background: #c9661b;
}

.secondary {
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.5);
  background: transparent;
}

.hero-card {
  padding: 30px;
  color: #1b2638;
  background: #ffffff;
  border-radius: 18px;
  box-shadow: 0 20px 55px rgba(0, 0, 0, 0.22);
}

.status-label {
  margin: 0;
  color: #df7724;
  font-weight: 800;
}

.hero-card h2 {
  margin: 8px 0 20px;
  font-size: 1.55rem;
}

.hero-card dl {
  margin: 0;
}

.hero-card dl div {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 14px;
  padding: 12px 0;
  border-top: 1px solid #e5eaf0;
}

.hero-card dt {
  color: #687586;
  font-size: 0.9rem;
}

.hero-card dd {
  margin: 0;
  font-weight: 700;
}

.section {
  padding: 88px 0;
}

.alt {
  background: #f4f7fa;
}

.section-title {
  margin: 0 0 28px;
  color: #0b2748;
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  line-height: 1.35;
}

.lead {
  color: #163c66;
  font-size: 1.2rem;
  font-weight: 700;
}

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

.info-card {
  padding: 28px;
  background: #ffffff;
  border: 1px solid #dde4ec;
  border-radius: 14px;
}

.icon {
  margin-bottom: 18px;
  color: #df7724;
  font-weight: 900;
}

.info-card h3 {
  margin: 0 0 12px;
  color: #0b2748;
  font-size: 1.15rem;
}

.info-card p {
  margin: 0;
  color: #526174;
  font-size: 0.94rem;
}

.project-list {
  display: grid;
  gap: 28px;
}

.project-card {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 30px;
  padding: 34px;
  border: 1px solid #dfe5ec;
  border-radius: 14px;
  background: #ffffff;
  box-shadow: 0 10px 28px rgba(15, 42, 72, 0.06);
}

.project-number {
  color: #df7724;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.project-content h3 {
  margin: 0 0 12px;
  color: #0b2748;
  font-size: 1.35rem;
}

.project-content p {
  color: #526174;
}

.project-content ul {
  padding-left: 1.2rem;
}

.tech-tags span {
  padding: 6px 10px;
  color: #264763;
  background: #edf2f6;
  border-radius: 999px;
  font-size: 0.8rem;
}

.skills-layout {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.skill-box {
  padding: 26px;
  background: #ffffff;
  border-left: 5px solid #df7724;
  border-radius: 8px;
}

.skill-box h3 {
  margin: 0 0 8px;
  color: #0b2748;
}

.skill-box p {
  margin: 0;
  color: #526174;
}

.contact-section {
  background: #0b2748;
}

.contact-box {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 60px;
  color: #ffffff;
}

.contact-section .section-title {
  color: #ffffff;
}

.contact-form {
  display: grid;
  gap: 18px;
  padding: 30px;
  color: #1b2638;
  background: #ffffff;
  border-radius: 14px;
}

.contact-form label {
  display: grid;
  gap: 7px;
  font-weight: 700;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #cfd8e2;
  border-radius: 7px;
  font: inherit;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: 3px solid rgba(223, 119, 36, 0.18);
  border-color: #df7724;
}

.form-note {
  margin: 0;
  color: #687586;
  font-size: 0.86rem;
}

.site-footer {
  padding: 24px 0;
  color: #cdd9e5;
  background: #071c32;
  text-align: center;
}

@media (max-width: 900px) {
  .hero-inner,
  .contact-box {
    grid-template-columns: 1fr;
  }

  .card-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .project-card {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .container,
  .narrow {
    width: min(100% - 28px, 1120px);
  }

  .menu-button {
    display: block;
  }

  .global-nav {
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    gap: 0;
    padding: 10px 20px 20px;
    background: #ffffff;
    border-bottom: 1px solid #e5eaf0;
  }

  .global-nav.open {
    display: flex;
  }

  .global-nav a {
    padding: 12px 0;
  }

  .hero {
    padding-top: 64px;
  }

  .hero-actions {
    flex-direction: column;
  }

  .card-grid,
  .skills-layout {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 68px 0;
  }

  .project-card,
  .hero-card,
  .contact-form {
    padding: 24px;
  }
}
.confirm-list {
  margin: 40px 0;
  border-top: 1px solid #d8dee8;
}

.confirm-item {
  display: grid;
  grid-template-columns: 180px 1fr;
  border-bottom: 1px solid #d8dee8;
}

.confirm-item dt,
.confirm-item dd {
  margin: 0;
  padding: 20px;
}

.confirm-item dt {
  font-weight: bold;
  background-color: #f4f7fb;
}

.confirm-item dd {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  color: #222;
  background-color: #fff;
}

.confirm-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 32px;
}

.confirm-actions button:disabled {
  cursor: wait;
  opacity: 0.6;
}

@media (max-width: 600px) {
  .confirm-item {
    grid-template-columns: 1fr;
  }

  .confirm-item dt {
    padding-bottom: 8px;
  }

  .confirm-item dd {
    padding-top: 8px;
  }

  .confirm-actions {
    flex-direction: column-reverse;
  }

  .confirm-actions .button {
    width: 100%;
  }
}