@charset "utf-8";

:root {
  --shadow-color: gray;
  --nano-white: rgba(247, 251, 254, 1);
  --bg-color: rgba(218, 236, 243, 1);
  --bg-color2: #B8928B;
  --frame-color: #DBC0D9;
  --h2-color: #D788AF;
  --font-color: #927EAF;
  --font-zen: 'Zen Maru Gothic', sans-serif;
}

*,
::after,
::before {
  box-sizing: inherit;
  padding: 0;
  margin: 0;
}

html {
  font-size: 16px;
  line-height: 1.15;
  box-sizing: border-box;
  font-family: sans-serif;
}

ul,
ol {
  list-style: none;
}

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

img {
  max-height: 100%;
}

button,
input,
select,
textarea {
  background-color: transparent;
  border-style: none;
  color: inherit;
}

/* -----------------------------------テスト----------------------------------- */
#article {
  display: flex;
  position: absolute;
  writing-mode: vertical-rl;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: black;
}

#box {
  overflow: auto;
  height: 100%;
  padding: 0 40px;
}

.main {
  margin: 40px 0;
  padding: 2em;
  border-radius: 1px;
  color: var(--nano-white);
  outline: 2px dashed var(--nano-white);
}

hgroup {
  margin-right: 50px;
  line-height: 2rem;
  letter-spacing: 0.1em;
}

.main h1 {
  font-size: 2rem;
  font-family: var(--font-zen);
  font-weight: 700;
  margin-left: 1rem;
}

.main h2 {
  font-size: 1.8rem;
  font-family: var(--font-zen);
  font-weight: 700;
  margin-left: 1rem;
}

.main h3 {
  font-size: 1.2rem;
  font-family: var(--font-zen);
  font-weight: 700;
  line-height: 2rem;
  letter-spacing: 0.1em;
}

.main section a {
  display: block;
  height: fit-content;
}

.main section a:hover {
  opacity: 0.8;
}

.main section {
  padding-left: 2rem;
  padding-right: 4rem;
}

.main p {
  line-height: 2rem;
  letter-spacing: 0.1em;
}

.main img {
  height: 450px;
  margin: auto 2rem;
}


/* スクロールバー */
::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

#box::-webkit-scrollbar-track {
  background: transparent;
  border-radius: 0px;
}

::-webkit-scrollbar-thumb {
  background: transparent;
  border-radius: 0px;
}

/* ボタンレイアウト */
.btn {
  margin-top: auto;
  margin-bottom: auto;
  margin-right: 3rem;
  height: fit-content;
}

.link-btn-area {
  padding: 2em 1em;
  width: 3em;
  height: max-content;
  border-radius: 1.5em;
  transition: ease .1s;
  outline: 2px dashed var(--nano-white);
}

figure {
  display: flex;
  column-gap: 1rem;
  margin-right: 1rem;
  margin-left: 1rem;
}

figure input[type=button] {
  font-size: 0.9rem;
  font-family: var(--font-zen);
  font-weight: 500;
  padding: 0.8rem 0.2rem;
  outline: 2px dashed var(--nano-white);
  border-radius: 1.3rem;
  user-select: none;
  transition: 0.1s;
}

figure input[type=button]:active {
  transform: translateY(2px);
}