.studio-home, .studio-contact {
  color: #242424;
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  letter-spacing: .055em;
  line-height: 1.95;
}
.studio-home { margin: 0; background: #fff; }
.studio-home *, .studio-contact * { box-sizing: border-box; }
.studio-home a, .studio-contact a { color: inherit; }
.studio-header, .studio-footer { text-align: center; padding: 24px 16px 12px; }
.studio-brand { display: inline-flex; background: white; padding: 7px 14px; }
.studio-brand img { width: clamp(154px, 20vw, 228px); height: auto; }
.studio-header nav, .studio-footer nav {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 8px clamp(14px, 3vw, 46px);
  margin: 9px auto 0; font-weight: 700; font-size: .9rem;
}
.studio-header nav a, .studio-footer nav a { text-decoration: none; }
.studio-home a:hover, .studio-contact a:hover { text-decoration: underline; }
.studio-hero {
  display: grid; place-items: center; aspect-ratio: 16 / 9; min-height: 310px;
  margin: 0 3.2%; text-align: center; color: #fff;
  background: linear-gradient(#00101e55, #00101e55), url('/assets/studio-hero.jpg') center / cover;
}
.studio-hero h1 { margin: 0; font-size: clamp(1.65rem, 4.3vw, 3.6rem); line-height: 1.35; letter-spacing: .055em; }
.studio-section {
  width: min(82%, 1080px); margin: 0 auto; padding: clamp(70px, 12vw, 176px) 0;
  display: grid; grid-template-columns: clamp(50px, 10.5vw, 130px) minmax(0, 1fr);
}
.studio-label {
  writing-mode: vertical-rl; justify-self: start; align-self: start;
  border-right: 2px solid; padding: 0 9px; font-weight: 700; font-size: .85rem;
}
.studio-section h2 { margin: 0 0 1rem; font-size: clamp(1.15rem, 2.5vw, 1.8rem); line-height: 1.55; }
.studio-section p { margin: 0 0 1.4rem; font-size: 1rem; }
.studio-section img { display: block; width: 100%; }
#message img { margin-top: 3rem; aspect-ratio: 4 / 3; object-fit: cover; }
.studio-banner { display: block; width: 94%; aspect-ratio: 2.45; object-fit: cover; }
.studio-banner.office { filter: grayscale(1); border-radius: 0 6px 6px 0; }
.studio-banner.wood { margin-left: auto; }
.studio-number { font-size: 1.3rem; font-weight: 800; }
#works h2 a { text-decoration: none; }
#works h2 a:hover { text-decoration: underline; }
#works article + article { margin-top: 3.5rem; }
.studio-gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px; }
.studio-gallery img { aspect-ratio: 1.6; object-fit: cover; }
.studio-news-area { background: #f6f6f6; }
.studio-news { display: block; border-block: 1px solid #37834d; text-decoration: none; padding: 1.1rem 1.4rem; }
.studio-news time { font-size: .8rem; }
.studio-news h2 { font-size: 1.1rem; margin-bottom: .15rem; }
.studio-news p { margin: 0; }
.studio-signature { text-align: right; }
.studio-details { margin-top: 2rem; }
.studio-details div { display: grid; grid-template-columns: minmax(6rem, 25%) 1fr; gap: 1rem; border-bottom: 1px solid #d8d8d8; padding: .55rem 0; }
.studio-details dt { font-weight: 700; }
.studio-details dd { margin: 0; overflow-wrap: anywhere; }
.studio-contact { margin: 0 auto clamp(32px, 6vw, 80px); width: min(93%, 1200px); border-radius: 12px; padding: clamp(40px, 10vw, 150px) 16px; background: #f6f6f6; text-align: center; }
.studio-contact h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin: 0 0 .8rem; }
.studio-form { max-width: 660px; margin: 2.5rem auto 0; }
.studio-form label { display: block; text-align: left; font-weight: 650; margin-bottom: 1.5rem; }
.studio-form small { display: inline-block; background: #166319; color: white; margin-left: .45rem; padding: 0 .4rem; font-size: .75rem; }
.studio-form input:not([type=checkbox]), .studio-form textarea { display: block; width: 100%; padding: .65rem; margin-top: .3rem; border: 1px solid #d1d1d1; border-radius: 4px; background: white; color: #242424; font: inherit; }
.studio-form textarea { resize: vertical; }
.studio-form .studio-agree { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: .35rem; }
.studio-form p { font-size: .9rem; overflow-wrap: anywhere; }
.studio-form button { border: 0; border-radius: 2rem; padding: .65rem 2.5rem; background: #116a13; color: white; font: inherit; font-weight: 700; cursor: pointer; }
.studio-form button:disabled { display: none; }
.studio-footer { background: #303030; color: #fff; padding: 45px 16px 22px; }
.studio-footer .studio-brand { margin-top: 24px; }
.studio-footer p { margin: 2.5rem 0 .4rem; font-size: .85rem; }
@media (max-width: 600px) {
  .studio-section { width: 88%; grid-template-columns: 1fr; gap: .8rem; }
  .studio-label { writing-mode: horizontal-tb; border-right: 0; border-left: 2px solid; }
  .studio-header nav, .studio-footer nav { font-size: .8rem; gap: 6px 14px; }
  .studio-banner { width: 97%; aspect-ratio: 1.85; }
  .studio-hero { min-height: 250px; }
}
