/* =========================================================
   BASE
========================================================= */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

html,
body {
    margin: 0;
    padding: 0;
}
html {
    overflow-y: scroll;
}
body {
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.7;
    color: #333;
    background: #fff;
}

img {
    max-width: 100%;
    height: auto;
    vertical-align: middle;
}

a {
    color: inherit;
}

.container {
    width: min(960px, calc(100% - 48px));
    margin: 0 auto;
}

main {
    min-height: 400px;
}

h1,
h2,
h3 {
    line-height: 1.3;
}

h1 {
    font-size: 32px;
    margin: 0 0 24px;
}

h2 {
    font-size: 24px;
    margin: 0 0 14px;
}

p {
    margin: 0 0 18px;
}
        
hr{
    border: none;  
    border-top: 1px #d9e2e8 solid;
}
/* =========================================================
   FIGCAPTION
========================================================= */

figcaption {
    margin-top: 8px;
    text-align: center;
    font-size: 13px;
    line-height: 1.5;
}
/* =========================================================
   DEFINITION LIST
========================================================= */

dl {
    display: grid;
    grid-template-columns: 120px minmax(0, 1fr);
    column-gap: 20px;
    row-gap: 12px;
    margin: 20px 0;
    padding: 0;
}

dt {
    margin: 0;
    font-weight: 700;
}

dd {
    margin: 0;
    line-height: 1.7;
}

/* Smartphone */
@media screen and (max-width: 480px) {
    dl {
        grid-template-columns: 1fr;
        row-gap: 4px;
    }

    dd {
        margin-bottom: 12px;
    }

    dl > :last-child {
        margin-bottom: 0;
    }
}
/* =========================================================
   PAGE TOP BUTTON
========================================================= */

.page-top {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 1000;

    width: 45px;
    height: 45px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: rgba(255, 255, 255, 0.9);
    border: 1px solid #ccc;

    text-decoration: none;
    font-size: 20px;
    line-height: 1;
}

.page-top:hover {
    background: #fff;
}

/* =========================================================
   SMARTPHONE
========================================================= */

@media screen and (max-width: 480px) {

    .container {
        width: calc(100% - 32px);
    }

    h1 {
        font-size: 27px;
    }

    h2 {
        font-size: 21px;
    }

    .page-top {
        right: 15px;
        bottom: 15px;

        width: 40px;
        height: 40px;
    }

}
/* =========================================================
   DISPLAY UTILITIES
========================================================= */

/* Smartphone only */
.pc-only {
    display: block;
}

.sp-only {
    display: none;
}


/* Smartphone */
@media screen and (max-width: 480px) {

    .pc-only {
        display: none;
    }

    .sp-only {
        display: block;
    }
}
/* =========================================================
   TEXT-STYLE
========================================================= */

/* Text alignment */
.text-right {
    text-align: right;
}

.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

/* Font size */
.text-larger {
    font-size: 21px;
    line-height: 1.4
}
.text-large {
    font-size: 18px;
}

.text-small {
    font-size: 13px;
}

/* Font weight */
.text-bold {
    font-weight: 700;
}
.text-mincho{
    font-family: "Noto Serif JP", serif;
    font-weight: 800; /* 最も太い「Black」は900を指定 */
    letter-spacing: 1px;
}

/* =========================================================
   Background color
========================================================= */

.bg-box {
    background-color: #f2f6f8;
    padding:  10px 20px 0px;
    border-radius: 10px
}