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;
    margin-bottom: 1rem;
}
a:hover {
    opacity: 0.5;
}
.title {
    font-size: 1rem;
}
.container {
    max-width: 750px;
    margin: 0 auto;
    overflow: hidden;
}
@media (max-width: 768px) {
    .container {
        padding: 0 1rem;
    }
}
.contents {
    padding: 1rem 1.6rem;
    border: 2px solid #E6E6E6;
    border-radius: 5px;
    box-shadow: 0 4px 4px rgb(0 0 0 / 2%), 0 2px 3px -2px rgba(0 0 0 / 5%);
    margin-bottom: 1rem;
}

a.mail-link{
    color: #0095F6;
    font-weight: bold;
}

@media (max-width: 768px) {
    .contents {
        padding: 1rem;
    }
}
h2 {
    text-align: left;
    padding: 0.7rem 1.4rem;
    border: 3px double #3D3D3D;
}
h4 {
    padding: 0.4em 1em 0.4em 1em; /*上下 左右の余白*/
    color: #40241A; /*文字色*/
    background: transparent; /*背景透明に*/
    border-left: solid 5px #10E6C5; /*左線*/
    font-size: 1.2rem;
    text-align: left;
    margin-bottom: 0;
}

.column-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
}

.column {
    flex: 0 1 40%;
    min-height: 280px;
    margin: 1.6rem auto; /* ボックスの余白 */
    background-color: #fafafa; /* ボックス背景色 */
    align-items: center;
    padding: 1rem; /* ボックス内側余白 */
    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;
}

.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: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

@media (max-width: 768px) {
    .container {
    justify-content: center;
}
    .column {
        flex: 0 1 90%;
        max-width: 250px;
        aspect-ratio: 1 / 1;
        padding: 1rem;
    }
    .dl-image {
    top: 50%;
}
}

.application-table {
    width: 90%;
    margin: 0 auto;
    table-layout: fixed;
    text-align: center;
    border-collapse: collapse;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
.application-table tr {
    border-bottom: solid 1px #E6E6E6;
}
.border-top {
    border-top: solid 1px #E6E6E6;
}
.application-table img {
    width: 40px;
    margin: 5px 0;
    height: auto;
}
.application-table th {
    width: 80%;
    font-weight: normal;
    text-align: left;
    padding-left: 10px;
}
.application-table td {
    align-items: center;
}

.inner-contents {
    width: 90%;
    margin: 1rem auto;
    padding: 1rem;
    border: 1px solid #CCCCCC;
    border-radius: 10px;
    background-color: #fafafa;
}

.dl-table {
    table-layout: fixed;
    width: 80%;
    margin: 0 auto;
}
/* ヘッダー */
.dl-table thead th {
    background: #A9BFCC;
    font-weight: bold;
    color: #f2f2f2;
    padding: 0.4rem 0;
}
/* ボディデータ・フッターデータ */
.dl-table tbody th {
    text-align: center;
    border-left: solid 1px #E6E6E6;
    border-bottom: solid 1px #E6E6E6;
}
.dl-table tbody td {
    text-align: left;
    background: #fff;
    padding: 0 0.8rem;
    display: flex;
    height: 2rem;
    align-items: center;
}
.overseas {
    background-color: #807a66;
    color: #f2f2f2;
}
.comment {
    font-size: 0.8em;
    line-height: 1.5;
    margin: 0.4rem 1rem 0 1rem;
    padding: 0;
}
.attention {
    color: red;
}
.icon {
    width: 2.4rem;
    height: 2.4rem;
}
.link-icon {
    width: 1.2rem;
    height: auto;
    padding: 0 5px;
}
.format {
    padding: 0 1rem 0 0;
    margin: 0;
    min-width: 210px;
}
.period {
}
.inner-wrapper {
    max-width: 80%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
}
.inner {
    display: flex;
    flex-direction: row;
    text-align: center;
}
.inner-header {
    flex-grow: 1;
    min-width: 40%;
    margin: 0;
    padding: 10px;
    background-color: #f0f0f0;
    font-weight: bold;
    border: 1px solid #ccc;
}
.inner-content {
    flex-grow: 2;
    margin: 0;
    padding: 10px;
    background-color: #fff;
    border: 1px solid #ccc;
}
@media (max-width: 768px) {
    .dl-table {
    width: 100%;
}
    .period {
        border: none;
    }
    .inner-wrapper {
        max-width: 90%;
        margin: 10px auto;
        border: 1px solid #ccc;
    }
    .inner {
        flex-direction: column;
    }
    .inner-header {
        border-right: none;
        border: none;
    }
    .inner-content {
    border: none;
    }
}
.button {
    text-align: center;
}
a.nav-btn {
    display: inline-block;
    text-align: center;
    vertical-align: middle;
    width: 100px;
    margin-bottom: 1rem;
    font-weight: bold;
    background: linear-gradient(to top, #BED7E6, #C7E0F0);
    color: #3D3D3D;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, .1);
    -webkit-box-shadow: inset 0 2px 5px rgba(0, 0, 0, .2);
    transition: 0.5s;
    padding: 6px 10px;
    text-decoration: none;
}
.link-button {
    width: 300px;
    margin: 0 auto;
    margin-bottom: 1rem;
}
.link-button2 {
    width: 90%;
    text-align: center;
    margin-top: 1rem;
    padding: 0 2rem 2rem 1rem;
}

.shadow_btn-wrap  {
    max-width: 90%;
    text-align: center;
    margin: 0 auto;
    padding: 0.6rem 0.6rem 1rem 0.6rem;
}

.shadow_btn {
    display: inline-block;
    min-width: 280px; /* ボタン幅 */
    color: #3D3D3D;
    border: 2px solid #A9BFCC; /* 線幅・種類・色 */
    border-radius: 0;
    background: #C7E0F0; /* 背景色 */
    -webkit-box-shadow: 4px 4px 0 #A9BFCC; /* 影の距離・色 */
    box-shadow: 4px 4px 0 #A9BFCC; /* 影の距離・色 */
    padding: 0.8em 1.6em;
    text-decoration: none;
    text-align: center;
    transition: 0.3s;
    font-weight: bold;
}

/* マウスオーバーした際のデザイン */
.shadow_btn:hover {
    -webkit-box-shadow: -4px -4px 0 #A9BFCC; /* 影の距離・色 */
    box-shadow: -4px -4px 0 #A9BFCC; /* 影の距離・色 */
}

@media (max-width: 768px) {
    .shadow_btn {
    max-width: 90%;
        margin: 0 auto;
}
}

.shadow_btn2 {
    display: inline-block;
    width: 60%; /* ボタン幅 */
    margin: 0 auto;
    border: 2px solid #A9BFCC; /* 線幅・種類・色 */
    border-radius: 0;
    color: #3D3D3D; /* 文字色 */
    background: #C7E0F0; /* 背景色 */
    -webkit-box-shadow: 4px 4px 0 #A9BFCC; /* 影の距離・色 */
    box-shadow: 4px 4px 0 #A9BFCC; /* 影の距離・色 */
    padding: 0.8em 1.6em;
    text-decoration: none;
    text-align: center;
    transition: 0.3s;
    font-weight: bold;
}
@media (max-width: 768px) {
    .shadow_btn2 {
        width: 80%;
    }
}
/* マウスオーバーした際のデザイン */
.shadow_btn2:hover {
    -webkit-box-shadow: -4px -4px 0 #A9BFCC; /* 影の距離・色 */
    box-shadow: -4px -4px 0 #A9BFCC; /* 影の距離・色 */
}

.red{
    color: red;
    margin-left: 0.4rem;
}

.footer {
    background-color: #ffebb5;
    color: #3D3D3D;
    padding: 1rem 0;
    text-align: center;
    position: sticky;
    top: 100vh;
}
.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: 1rem;
}
.footer-bottom {
    text-align: center;
    padding: 1rem 0;
    border-top: 1px solid #A9A9A9;
    font-size: 1.2rem;
}
.facebook-link {
    align-items: center;
}
.facebook-link img {
    width: 90px;
    height: auto;
    gap: 5%;
}
.title-logo {
    max-width: 300px;
    height: auto;
}
.tsukuba img {
	max-width: 80px;
	height: auto;
}
.tsukuba-text {
	margin-top: 0;
	color: #614b37;
}
.footer a {
    color: #3D3D3D;
    text-decoration: none;
}
img.mail {
    width: 20px;
    height: auto;
}
@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        text-align: center;
    }
}
@media (max-width: 500px) {
    .button {
        margin-bottom: 1rem;
    }
    a.nav-btn {
        display: block;
        width: 200px;
        margin: 0 auto;
    }
    .dl-table {
        font-size: 0.8em;
    }
    .dl-table tbody th {
        padding: 0 0.6rem;
    }
    .format {
        min-width: 160px;
    }
}