html {
    height: 100%;
}
body {
    background-color: #ffffeb;
    color: #3D3D3D;
    font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
    margin: 0;
    padding: 0;
    height: 100%;
}
header {
    background-color: #ffebb5;
    text-align: center;
    padding: 1rem;
}
.title {
    font-size: 1rem;
}
.wrap {
    max-width: 900px;
    margin: 0 auto;
    overflow: hidden;
}

.wrap a:hover {
    opacity: 0.5;
}

@media (max-width: 768px) {
.wrap {
    max-width: 96%;
}}

h2 {
    text-align: left;
    padding: 0.7rem 1.4rem;
    border: 3px double #3D3D3D;
    margin: 0;
}
h3 {
    padding: 0.4em 1em 0.4em 1em; /*上下 左右の余白*/
    color: #40241A; /*文字色*/
    background: transparent; /*背景透明に*/
    border-left: solid 5px #abc470; /*左線*/
    font-size: 1.2rem;
    text-align: left;
    margin-bottom: 0;
}

.text{
    max-width: 90%;
    margin: 0 auto;
    text-align: left;
}

main {
    padding: 1rem 2rem 2rem 2rem;
}
.comment {
    margin-bottom: 1rem;
}

.attention {
    color: red;
}

.container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
}
.column {
    flex: 0 1 40%;
    min-height: 400px;
    margin: 1.6rem auto; /* ボックスの余白 */
    background-color: #fafafa; /* ボックス背景色 */
    align-items: center;
    padding: 2rem; /* ボックス内側余白 */
    position: relative; /* 配置(ここを基準に)*/
    border: 1px solid #CCCCCC;
    border-radius: 5px;
    box-shadow: 0 5px 5px rgb(0 0 0 / 5%), 0 2px 3px -2px rgba(0 0 0 / 5%);
}

.caption {
    background-color: #807a66; /* タイトル背景色 */
    font-size: 1.2rem; /* タイトル文字の大きさ */
    color: #fafafa; /* タイトル文字色 */
    padding: 0.6rem 1rem; /*タイトルの余白*/
    line-height: 1; /*タイトルの行の高さ*/
    position: absolute; /* 配置(ここを動かす) */
    top: -10px; /*上から（0px）移動*/
    left: 10px; /*左から(0px)移動*/
    border-radius: 5px;
}

.note{
    padding-top: 0.6rem;
}
.note p{
    font-size: 0.9rem;
    line-height: 1.2;
}


.dl-image {
    max-width: 90%;
    height: auto;
    margin: 1rem 0;
    display: block;
    background: repeating-linear-gradient(-45deg, #f2f2f2, #f2f2f2 5px, #fff 0, #fff 10px);
    position: absolute;
    top: 56%;
    left: 50%;
    transform: translate(-50%, -50%);
}
.pre-link {
    width: 300px;
    text-align: center;
    padding: 0 2rem;
    margin: 0 auto;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

@media (max-width: 768px) {
    .container {
    justify-content: center;
}
    .column {
        flex: 0 1 90%;
        aspect-ratio: 4 / 5;
        padding: 1rem;
    }
    .dl-image {
    top: 50%;
}
}
.button {
    margin-top: 1rem;
    text-align: center;
}
a.nav-btn {
    display: inline-block;
    text-align: center;
    vertical-align: middle;
    width: 120px;
    margin-bottom: 1rem;
    font-weight: bold;
    background: #ffebb5;
    color: #3D3D3D;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, .1);
    -webkit-box-shadow: inset 0 1px 2px rgba(0, 0, 0, .1);
    transition: 0.5s;
    padding: 6px 10px;
    text-decoration: none;
}
@media (max-width: 768px) {
    a.nav-btn {
        display: block;
        width: 200px;
        margin: 0 auto;
    }
}
.link-button {
    max-width: 100%;
    text-align: center;
    padding: 1rem 1rem 2rem 1rem;
    margin: 1rem auto;
    background-color: #ffffff;
    border: 1px solid #CCCCCC; /* ボックスの線 (太さ　種類　色)*/
    border-radius: 5px;
}
.shadow_btn {
    display: inline-block;
    max-width: 200px; /* ボタン幅 */
    margin: 0 auto;
    border: 2px solid #abc470; /* 線幅・種類・色 */
    border-radius: 0;
    color: #fff; /* 文字色 */
    background: #abc470; /* 背景色 */
    -webkit-box-shadow: 4px 4px 0 #84975F; /* 影の距離・色 */
    box-shadow: 4px 4px 0 #849757; /* 影の距離・色 */
    padding: 0.8em 1.6em;
    text-decoration: none;
    text-align: center;
    transition: 0.3s;
    font-weight: nomal;
}
/* マウスオーバーした際のデザイン */
.shadow_btn:hover {
    -webkit-box-shadow: -4px -4px 0 #849757; /* 影の距離・色 */
    box-shadow: -4px -4px 0 #849757; /* 影の距離・色 */
}
.dl-table {
    width: 90%;
    margin: 0 auto;
    table-layout: fixed;
    text-align: center;
    border-collapse: collapse;
    position: absolute;
    top: 58%;
    left: 50%;
    transform: translate(-50%, -50%);
}
.dl-table tr {
    border-bottom: solid 1px #E6E6E6;
}
.border-top {
    border-top: solid 1px #E6E6E6;
}
.dl-table img {
    width: 30px;
    margin: 5px 0;
    height: auto;
}
.dl-table th {
    width: 80%;
    font-weight: normal;
    text-align: left;
    padding-left: 10px;
}
.dl-table td {
    align-items: center;
}
.pc {
    display: block;
}
.sp {
    display: none;
}
@media (max-width: 768px) {
    .pc {
        display: none;
    }
    .sp {
        display: block;
    }
}
.footer {
    background-color: #ffebb5;
    color: #3D3D3D;
    padding: 1.6rem;
    text-align: center;
}
.footer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    max-width: 800px;
    margin: 0 auto;
}
.footer-section {
    flex: 1;
    justify-content: space-evenly;
    display: flex;
    align-items: center;
    margin-bottom: 1.6rem;
}
.footer-bottom {
    text-align: center;
    padding-top: 1.6rem;
    border-top: 1px solid #A9A9A9;
    font-size: 1.4rem;
}
.facebook-link {
    align-items: center;
}
.facebook-link img {
    width: 90px;
    height: auto;
    gap: 5%;
}
.title-logo {
    max-width: 300px;
    height: auto;
}
.footer a {
    text-decoration: none;
    color: #3D3D3D;
}
.footer a:hover {
    opacity: 0.5;
}
.tsukuba img {
	max-width: 80px;
	height: auto;
}
.tsukuba-text {
	margin-top: 0;
	color: #614b37;
}
@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        text-align: center;
    }
}
