@charset "UTF-8";

/*-- Reset CSS --*/
*, *::before, *::after {
    box-sizing: border-box;
}

/*body,h1,h2,h3,h4,p,figure,blockquote,dl,dd {margin:0}*/
html {
    box-sizing: border-box;
    -webkit-overflow-scrolling: touch;
    -ms-overflow-style: scrollbar;
    scroll-behavior: smooth;
}

body {
    line-height: 1.5;
    margin: 0;;
    min-height: 100vh;
}

h1, h2, h3, h4, h5, h6, p, ol, ul, li, dl, dt, dd, blockquote, td, th, figure {
    letter-spacing: .05em;
    line-height: 1.6em;
    margin: 0;
    padding: 0;
}

ul[role="list"], ol[role="list"], li {
    list-style: none;
}

img, picture {
    border: none;
    height: auto;
    max-width: 100%;
}

input, button, textarea, select {
    font: inherit;
}

a {
    text-decoration: none;
}

:target {
    scroll-margin-block: 100px; /*6.5em*/
}

/*-- Font --*/
@font-face {
    font-display: swap;
    font-family: "MPLUS1RegularSubset";
    font-style: normal;
    font-weight: 400;
    src: url("../fonts/MPLUS1-Regular-Subset.woff2") format("woff2"),
    url("../fonts/MPLUS1-Regular-Subset.woff") format("woff");
}

@font-face {
    font-display: swap;
    font-family: "HinaMinchoRegularSubset";
    font-style: normal;
    font-weight: 400;
    src: url("../fonts/HinaMincho-Regular-Subset.woff2") format("woff2"),
    url("../fonts/HinaMincho-Regular-Subset.woff") format("woff");
}

/* Elements */
p {
    margin: 0.5em 0 1em 0;
}

a {
    color: #0b62e5;
    transition: transform .2s;
    &:active{
        transform: scale(.95);
    }
}

a:visited {
    color: #118b59;
}

a:hover {
    border-bottom: 1px solid #0579bd;
}

h2 {
    font-family: "HinaMinchoRegularSubset", serif;
    font-size: 34px;
    font-weight: normal;
    padding-bottom: 25px;
    padding-top: 40px;
    text-align: center;
}

h2::after {
    background: #544639;
    content: "";
    display: block;
    height: 1px;
    margin: 5px auto 30px;
    width: 74px;
}

h3 {
    background-image: linear-gradient(0deg, rgba(84, 70, 57, 1) 15%, rgba(84, 70, 57, .5));
    border: 3px double #f7e4ca;
    color: #f7e4ca;
    font-size: 18px;
    margin: 1.2em 0 .3em 0;
    padding: 3px 0 5px;
    text-align: center;
    text-shadow: -1px -1px 3px #333333;
    font-weight: normal;
}

h4 {
    background: url("../svg/bird.svg") no-repeat;
    background-position: left 0 bottom -4px;
    border-bottom: 2px solid #99cc33;
    font-size: 16px;
    padding: 13px 0 0 58px;
    position: relative;
}

h5 {
    border-bottom: 3px double #ccc;
    font-size: 16px;
    padding: 0 0 0 3px;
}

h6 {
    border-left: 5px solid #acacac;
    font-size: 16px;
    margin-bottom: .3em;
    padding-left: 7px;
}

strong {
    background: linear-gradient(transparent 75%, #ffd188 0%);
    margin: 0 3px;
}

b {
    color: #cc4646;
    font-weight: bold;
    margin: 0 3px;
}

hr {
    background: url("../svg/ornament.svg") no-repeat center center;
    border: none;
    height: 40px;
}

address {
    font-style: normal;
}

details {
    position: relative;
    cursor: pointer;
    margin: .3em 0;
}

ul ul {
    margin-left: .8em;
}

/* Table */
table {
    border: 1px solid #544639;
    border-collapse: collapse;
    font-size: 15px;
    text-align: center;
    width: 100%;
}

table caption {
    font-size: 14px;
    text-align: left;
}

tr:nth-child(odd) {
    background: #f7e4ca;
}

th {
    background-color: #e7e1d5;
    border-bottom: solid 1px #544639;
    border-right: dashed 1px #544639;
    padding: 7px 5px;
} 

td {
    border-bottom: solid 1px #544639;
    border-right: dashed 1px #544639;
		font-size: 14px;
    padding: 7px 5px;
}

/* Image Caption */
figure {
    margin: auto;
    padding: 2px;
}
figure img {
    border: 1px #c0c0c0 solid;
    padding: 5px;
}
figcaption {
    font-size: 13px;
    margin: -5px 0 10px;
    padding: 0;
    text-align: center;
}
