@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: #daecf3;
}

#box {
  height: 100%;
  overflow: auto;
  background-image: url(../img/bg/mainbg4.png);
  background-size: 330px;
  padding: 0 40px;
}

.main {
  margin: 40px 0;
  padding: 2em;
  border-radius: 1px;
  background-color: rgba(247, 251, 254, 1);
  box-shadow: 1px 1px 4px var(--shadow-color);
}

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_top section a:hover {
  opacity: 0.8;
}

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

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

.main img {
  margin: auto 2rem;
}


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

#box::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.7);
  border-radius: 0px;
}

::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.2);
  border-radius: 0px;
  box-shadow: rgba(95, 185, 205, 1);
}

/* ボタンレイアウト */
.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;
  color: dimgray;
  font-family: sans-serif;
  font-weight: bold;
  background-color: var(--nano-white);
  transition: ease .1s;
}

.link-btn-area:hover {
  background: #FBF3F5;
}

.link-btn-area2 {
  padding: 2em 1em;
  width: 3em;
  height: max-content;
  border-radius: 1.5em;
  color: dimgray;
  font-family: sans-serif;
  font-weight: bold;
  background-color: var(--nano-white);
  transition: ease .1s;
  background: rgba(206, 195, 222, 0.6);
}

.link-btn-area2:hover {
  opacity: 0.9;
}

.urabox {
  margin-right: 7rem;
  text-align: end;
  background-color: rgba(0, 0, 0, 0.02);
}

.urabox a {
  cursor: help;
}

.ura {
  color: transparent;
  padding: 1rem;
}

@media (max-width: 800px) {
  #box {
    background-size: 220px;
  }
}