@charset "UTF-8";


/* ==================================
基本の設定
================================== */

body {
    background-image: url("../images/bg.jpg");
}
/* ==================================
各ボックスの設定
================================== */
/* 大枠 */

.wrapper {
    width: 960px;
    margin: 1rem auto;
    padding: 20px;
    background-color: white;
    border-radius: 1rem;
    box-shadow: 0 0 10px gray;
}

/* ヘッダーエリア */

.header {

    margin-bottom: 3rem;
    background-color: white;
    text-align: center;
}
.header h1 {
    padding: 1rem;
    border-top: double 4px black;
    border-bottom: double 4px black ;
    color: black;
    font-size: 2rem;
    font-family: "Zen Kurenaido", sans-serif;
    font-weight: 400;
    font-style: normal;
}
.gnav {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin: 0;
    padding: 1rem 0;
    list-style: none;
}
.gnav-item a {
    display: block;
    width: 10rem;
    padding: 0.5rem;
    border-radius: 1rem;
    background-color: palevioletred;
    color: white;
    text-decoration: none;
    transition: 0.3s ease-in;
}
.gnav-item a:hover {
    background-color: cyan;
    color: gray
}

/* コンテンツエリア */

.contents-wrapper {
    display: flex;
    justify-content: space-between;
    margin-bottom: 3rem;
    background-color: white;
}


/* メインエリア */

.main-contents {
    width: 600px;
    background-color: white;
}
.content {
    margin-bottom: 4rem;
}
.content h2 {
    margin-bottom: 1rem;
    padding: 0.5rem;
    border-bottom: dashed 1px black;
    border-left: solid 8px palevioletred;
    font-size: 1.5rem;
    line-height: 1;
}
.content ul {
    margin-bottom: 2rem;
}
.content ul li {
    margin-bottom: 0.5rem;
}
.content ul li a {
    display: block;
    width: 14rem;
    padding: 0.5rem;
    border-radius: 1rem;
    background-color: palevioletred;
    color: white;
    text-decoration: none;
    transition: 0.3s ease-in;
}
.content ul li a:hover {
    background-color: cyan;
    color: gray
}
.content h3 {
    margin-bottom: 1rem;
    color: palevioletred;
    font-size: 1.25rem;
}
.content img {
    margin-bottom: 1rem;
}
.content p {
    margin-bottom: 2rem;
    font-size: 1rem;
}
.return-button {
    color: green;
}
.return-button:hover {
    color: cyan;
}
/* サイドエリア */

.aside-contents {
    width: 280px;
    padding: 1.5rem;
    background-image: url(../images/sbg.jpg);
    border-radius: 1rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.6);
    position: relative;
    border: 2px solid #ffffff;
   
   
}
.aside-contents::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  border-radius: 1rem;
}
.aside-contents * {
  position: relative;
  z-index: 1;
  }
.aside-contents h2 {
    border-bottom: solid 2px black;
    font-size: 1.2rem;
    margin-bottom: 1rem;
    overflow: hidden;
    color: black;
}
.aside-contents ol,
.aside-contents ul {
    margin-bottom: 4rem;
    color: black;
}
.aside-contents li {
    margin-bottom: 0.5rem;
}


/* フッターエリア */

.footer {
    padding: 2rem;
    background-image: url(../images/footer-bg.jpg);
    color: white;
    text-align: center;
}