.page {
  overflow-x: hidden;
  overflow-y: scroll;
  width: 100vw;
  height: var(--full-height);
}
.text {
  margin-block-end: 16px;
  font-size: clamp(13px, 2vw, 16px);
}
.is-en {
  line-height: 120%;
}
.title {
  font-size: clamp(48px, 25vw, 56px);
  line-height: 100%;
  margin-block-end: 8px;
}

/* ヘッダー */
.header {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translate3d(-50%, 0, 0);
  width: 100%;
  max-width: 800px;
  height: 48px;
  padding: 0 clamp(16px, 4vmin, 32px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 999;
}
.header h1 {
  top: 12px;
  left: 12px;
  display: flex;
  font-size: 24px;
  line-height: 1;
  z-index: 999;
}
.preferences {
  top: 12px;
  right: 12px;
  display: flex;
  z-index: 999;
}
.preferences label {
  margin-left: 12px;
  display: flex;
  align-items: center;
}
.preferences label p {
  line-height: 100%;
  font-size: 15px;
}
.preferences .color-theme-icon {
  height: 18px;
  aspect-ratio: 1 / 1;
  border-radius: 100%;
  border: solid 1px var(--color-text);
  background-image: linear-gradient(
    to right,
    var(--color-text) 50%,
    #00000000 50%
  );
}

/* メイン */
@media only screen and (max-width: 844px) {
  .header-picture {
    margin-top: 48px;
    width: 100%;
    display: flex;
    z-index: 0;
  }
  .header-picture img {
    width: 100%;
    aspect-ratio: 1500 / 500;
    display: block;
  }
  .section {
    margin-top: 24px;
  }
}
@media only screen and (min-width: 844px) {
  .header-picture {
    margin-top: 72px;
    width: 100%;
    max-width: 800px;
    display: flex;
    z-index: 0;
  }
  .header-picture img {
    width: 100%;
    aspect-ratio: 1500 / 500;
    border-radius: 24px;
    display: block;
  }
  .section {
    margin-top: 48px;
  }
}
.main {
  width: 100vw;
  display: flex;
  align-items: center;
  flex-direction: column;
}

.main .section {
  display: flex;
  flex-direction: column;
  max-width: 800px;
  width: 100%;
  /*padding: 0 4vmin;*/
  padding: 0 clamp(16px, 4vmin, 32px);
}

.main .footer {
  width: 100%;
  max-width: 800px;
  margin-top: 48px;
  margin-bottom: 16px;
  padding: 0 24px;
}
.main .footer p {
  line-height: 100%;
}

a .btn-mask {
  opacity: 0;
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.2);
  cursor: pointer;
}

a p {
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
}

.buttons {
  display: flex;
  flex-wrap: wrap;
}
.buttons a {
  position: relative;
  margin-right: 6px;
  margin-bottom: 6px;
  border: none;
  border-radius: 4px;
  padding: 6px 32px;
}

/* ガジェットのタブのボタン */
.tab-buttons {
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 8px;
}
.tab-buttons button {
  position: relative;
  font-size: 13.5px;
  font-weight: 600;
  margin-right: 3px;
  margin-bottom: 3px;
  border: none;
  border-radius: 4px;
  background: rgba(0, 0, 0, 0);
  padding: 6px 32px;
}
.tab-buttons button.active {
  background: var(--color-text);
  color: var(--color-fill);
}

.tab-content li {
  display: flex;
  border-top: dotted 1px var(--color-text);
}
.tab-content li:last-child {
  border-bottom: dotted 1px var(--color-text);
}
.tab-content li a {
  width: 100%;
  height: 100%;
  padding: 8px 6px;
  font-weight: 600;
}
