* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: #f5f6f7;
  color: #23333f;
  font:
    14px/1.8 "Hiragino Kaku Gothic ProN",
    "Yu Gothic",
    sans-serif;
}
a {
  color: inherit;
}
header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 28px;
  border-bottom: 1px solid #d5dde2;
  background: #fff;
}
header a {
  text-decoration: none;
  font-size: 21px;
  font-weight: 600;
}
header span {
  font-size: 12px;
  color: #65717b;
}
main {
  display: grid;
  grid-template-columns: 230px minmax(350px, 1fr) 280px;
  min-height: calc(100dvh - 80px);
}
aside {
  padding: 26px 20px;
  background: white;
}
h1 {
  font-size: 20px;
  font-weight: 550;
  line-height: 1.5;
  margin: 0 0 10px;
}
aside > p {
  font-size: 12px;
  color: #61717c;
}
nav {
  display: grid;
  gap: 6px;
  margin-top: 24px;
}
nav button {
  display: flex;
  align-items: center;
  text-align: left;
  gap: 10px;
  background: none;
  border: 1px solid transparent;
  border-radius: 3px;
  padding: 6px;
  cursor: pointer;
  color: inherit;
  font-family: inherit;
  font-size: 12px;
  line-height: 1.5;
}
nav button[aria-pressed="true"] {
  background: #e9f0f4;
  border-color: #627d90;
}
nav img {
  width: 46px;
  height: 46px;
  object-fit: contain;
  background: #102024;
  border-radius: 2px;
}
.display {
  padding: 24px;
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.display iframe {
  width: 100%;
  min-height: 580px;
  height: calc(100dvh - 170px);
  border: 0;
  border-radius: 4px;
  background: #0e1720;
}
.display p {
  font-size: 12px;
  color: #607381;
  margin-bottom: 0;
}
.detail {
  border-left: 1px solid #d5dde2;
}
h2 {
  font-size: 24px;
  line-height: 1.5;
  font-weight: 550;
  margin: 15px 0 0;
}
#subtitle {
  font-size: 12px;
  color: #677c88;
  margin-top: 5px;
}
#description {
  margin: 30px 0;
  font-size: 13px;
}
dl {
  font-size: 12px;
}
dt {
  color: #677c88;
}
dd {
  margin: 0 0 16px;
}
h3 {
  font-size: 14px;
  margin-top: 32px;
}
.detail .usage {
  color: #536874;
  font-size: 12px;
}
.notice {
  margin-top: 30px;
  border-top: 1px solid #d5dde2;
  padding-top: 16px;
  font-size: 11px;
  color: #74828c;
}
.detail a {
  font-size: 12px;
}
button:focus-visible,
a:focus-visible {
  outline: 3px solid #5286aa;
  outline-offset: 3px;
}
[data-industry="fashion"] {
  background: #f3f3f4;
}
[data-industry="fashion"] h1,
[data-industry="fashion"] h2 {
  font-family: "Hiragino Mincho ProN", serif;
}
[data-industry="crafts"] {
  background: #f1f1ed;
}
[data-industry="crafts"] h1,
[data-industry="crafts"] h2 {
  font-family: "Hiragino Mincho ProN", serif;
}
[data-industry="furniture"] {
  background: #f3f2f0;
}
@media (min-width: 1101px) {
  body {
    height: 100dvh;
    display: grid;
    grid-template-rows: auto minmax(0, 1fr);
    overflow: hidden;
  }
  main,
  .display {
    min-height: 0;
  }
  aside {
    min-height: 0;
    overflow-y: auto;
  }
  .display iframe {
    min-height: 0;
    height: auto;
    flex: 1;
  }
  .display p {
    flex-shrink: 0;
  }
}
@media (max-width: 1100px) {
  main {
    grid-template-columns: 200px 1fr;
  }
  .detail {
    grid-column: 1/-1;
    border: 0;
    border-top: 1px solid #ccd6dc;
  }
  .display iframe {
    height: 620px;
  }
  .detail h2 {
    margin-top: 0;
  }
}
@media (max-width: 660px) {
  header {
    padding: 15px;
  }
  header span {
    font-size: 10px;
  }
  main {
    display: block;
  }
  aside {
    padding: 20px 15px;
  }
  aside > p {
    margin-bottom: 0;
  }
  nav {
    display: flex;
    overflow: auto;
    margin-top: 16px;
  }
  nav button {
    min-width: 125px;
    flex-direction: column;
    gap: 6px;
    padding: 8px;
  }
  nav img {
    width: 56px;
    height: 56px;
  }
  .display {
    padding: 0 12px 15px;
  }
  .display iframe {
    min-height: 490px;
    height: 62dvh;
  }
  .detail {
    padding: 22px;
  }
  .display p {
    font-size: 10px;
  }
}

.detail h2 {
  font-size: 22px;
  text-wrap: balance;
  overflow-wrap: anywhere;
}
