* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Noto Sans JP", sans-serif;
  color: #333;
  background: #f8f6f2;
  line-height: 1.8;
}

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

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

.pc-only {
  display: inline;
}

.header {
  padding: 24px 0;
  background: #fff;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 28px;
  color: #333;
  text-decoration: none;
}

.logo-mark {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: #9b7349;
  color: #fff;
  font-family: "Manrope", sans-serif;
  font-size: 21px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1;
}

.logo-name {
  font-family: "Manrope", sans-serif;
  font-size: 22px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: #333;
  margin-bottom: 4px;
}

.logo-text{
  display:flex;
  flex-direction:column;
}

.logo-sub{
  font-size: 13px;
  letter-spacing: 0.18em;
  font-weight: 500;
  color: #9b7349;
  text-transform: uppercase;
}

.header-left{
    display:flex;
    align-items:center;
    gap:20px;
}

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

.header-nav {
  display: flex;
  gap: 40px;
  padding-right:20px;
}

.header-nav a {
  font-family: "Manrope", sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: #555;
  transition: color .3s ease;
}

.header-nav a:hover {
  color: #8b6f47;
}

/* Hero Section */
.hero {
  padding: 50px 0;
  background: #efe7dc;
}

.hero-label {
  margin: 0 0 16px;
  color: #8b6f47;
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 0.2em;
}

.hero h1 {
  margin: 0;
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1.35;
  margin-bottom: 40px;
}

.hero-result {
  margin: 48px 0 0;
  font-size: clamp(32px, 4vw, 54px);
  line-height: 1.4;
  font-weight: 700;
}

.hero-text {
  max-width: 600px;
  margin-top: 48px;
  font-size: 20px;
}

.section {
  padding: 80px 0;
}

.section-title {
  margin: 0 0 32px;
  font-size: 32px;
  text-align: center;
}

.about p,
.contact p {
  margin: 0 auto;
}

.about p{
  max-width:720px;
  line-height:2;
}

.contact p{
  max-width:710px;
  font-size: 20px;
}

.about-text {
  max-width: 780px;
  margin: 0 auto;
  font-size: 18px;
  line-height: 2;
}

.about.section {
  padding-bottom: 56px;
}

.strength.section {
  padding-top: 56px;
}

/* Strength Section */
.strength-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:30px;
}

.strength-card{
  background:#fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding:36px 28px;
  border-radius:20px;
  box-shadow:0 10px 30px rgba(0,0,0,.05);
  transition:.3s ease;
}

.strength-card:hover{
  transform:translateY(-6px);
  box-shadow:0 18px 40px rgba(0,0,0,.10);
}

.strength-icon{
  font-size:42px;
  margin-bottom:24px;
}

.strength-icon svg{
  width:54px;
  height:54px;
  stroke:#9b7645;
  stroke-width:1.8;
}

.strength-card h3{
  min-height:72px;
  display:flex;
  justify-content:center;
  align-items:center;
  line-height:1.5;
  margin:0 0 16px;
}

.strength-card p{
  margin:0;
  line-height:1.9;
  color:#666;
  text-align: center;
}

/* Works Section */
.work-title {
  min-height: 60px;
}

.works-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.work-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease;
}

.work-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
}

.work-image {
  padding: 10px;
  background: #f8f8f8;
  display: flex;
  justify-content: center;
  align-items: center;
}

.work-image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
}

.work-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 18px 24px 24px;
}

.work-category {
  margin: 0 0 14px;
  font-size:15px;
  color:#666;
  font-weight:500;
  letter-spacing:.03em;
}

.work-body h3 {
  margin: 0 0 12px;
  font-size: 20px;
  line-height: 1.5;
}

.work-description {
  margin: 0 0 16px;
}

.work-meta {
  margin: 0 0 20px;
  color: #8b6f47;
  font-size: 14px;
  font-weight: 700;
}

.btn {
  display: inline-flex;
  align-items: center;
  width:160px;
  justify-content: center;
  align-self: center;
  margin-top: auto;
  padding: 12px 24px;
  border-radius: 999px;
  background: #8b6f47;
  color: #fff;
  font-weight: 700;
  transition:
  transform 0.3s ease,
  background-color 0.3s ease;
}

.btn:hover {
  transform: translateY(-2px);
  background: #7d623d;
}

/* Skills Section */
.skills-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.skills-list li {
  padding: 10px 20px;
  background: #fff;
  border: 1px solid rgba(139, 111, 71, 0.14);
  border-radius: 999px;
  font-weight: 700;
}

.skills.section {
  padding-top: 64px;
  padding-bottom: 64px;
}

/* Contact Section */
.contact {
  background: #efe6da;
  text-align: center;
}

.contact-inner {
  max-width: 760px;
}

.contact-text {
  margin: 0 auto 32px;
  line-height: 2;
}

.contact-btn {
  margin-top: 32px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-width: 240px;
  padding: 14px 28px;
  border-radius: 999px;
  background: #8b6f47;
  color: #fff;
  font-weight: 700;
  transition: background-color .3s ease, transform .3s ease;
}

.contact-btn:hover {
  background: #7d623d;
  transform: translateY(-2px);
}

/*footer Section */
.footer {
  text-align: center;
  background: #333;
  padding: 28px 0;
  background: #333;
  color: rgba(255, 255, 255, 0.8);
  font-family: "Manrope", sans-serif;
  font-size: 14px;
}

.footer p {
  margin: 0;
}

@media (max-width: 900px) {
  .works-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding: 80px 0;
  }

  .section {
    padding: 64px 0;
  }
}

@media (max-width: 768px) {
  .header {
  padding: 12px 0;
}

  .hero h1{
  font-size:32px;
  line-height:1.25;
}

.hero-result{
  font-size:28px;
}

  .strength-grid{
  grid-template-columns: 1fr;
  gap:20px;
  }

  .strength-card{
  max-width:380px;
  width:100%;
  margin:0 auto;
  }
  
  .pc-only {
    display: none;
  }

  .logo {
    gap: 16px;
  }

  .logo-mark {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    font-size: 18px;
  }

  .logo-name {
    font-size: 18px;
  }

  .header-nav {
    display: none;
  }
}