:root{
    --color-aqua: #D6E6F2;
    --color-yellowgreen: #B8D767;
    --color-gray: #9ca3af;
    --color-link: #3EAA78;
    --color-font-black: #0f172a;
    --color-sitemap: #64748b;
    --color-img: #d1d5db;
    --color-aqua-rgb: 214, 230, 242;
    --color-yellow: #E8D4A5;
    --color-font-white: #EDF5F9;
}

*{
    font-family: HelveticaNeue, "Hiragino Sans", "Hiragino Kaku Gothic ProN", "ヒラギノ角ゴ ProN W3", "Hiragino Sans", 游ゴシック体, YuGothic, ヒラギノ角ゴシック, "Yu Gothic M", "Yu Gothic Medium", 游ゴシック, メイリオ, Meiryo, sans-serif;
}
*, *:before, *:after {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}
html {
    height: 100%;
}

body{
    margin: 0;
    padding: 0;
    width: 100vw;
    min-height: 100%;
    color: var(--color-font-black);
    display: grid;
    grid-template-rows: 1fr auto;
}

body > .content > section{
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0.875rem 0.625rem 5rem;
}

main {
    margin: 2rem auto;
}

a{
    cursor: pointer;
    text-decoration: none;
    color: var(--color-font-black);
    font-weight: bold;
}
p{
    margin: 0;
}
ul{
    padding: 0;
    margin: 0;
}
ol, li{
    list-style: none;
}
h2{
    margin: 0;
    text-align: center;
    font-size: 1.25rem;
    line-height: 1.75rem;
}
h3{
    margin: 0;
    font-size: 1rem;
    line-height: 1.5rem;
    font-weight: normal;
}
section{
    margin-top: .8rem;
    margin-bottom: 0.5rem;
}
img {
    font-weight: normal;
    object-fit: contain;
}
.br-gf {
    display: none;
}
.logos {
    display: grid;
    justify-content: center;
    justify-items: center;
    margin: 0 auto;
    text-align: center;
}
.logo {
    aspect-ratio: 1 / 1;
}
journal .img-back {
    background-color: var(--color-img);
}
.img-journal {
    aspect-ratio: 1 / 1.41;
    border: 1px var(--color-gray) solid;
}
.link{
    color: var(--color-link);
    border-bottom: solid 0.17rem var(--color-link);
}
.underline{
    border-bottom: double 3px var(--color-yellowgreen);
}
.long-sentence{
    letter-spacing: 0.03em;
}
.no-spam {
    display: none;
}

/* ヘッダー */
header{
    background-color: var(--color-aqua);
    width: 100%;
    z-index: 100;
    position: sticky;
    top: 0;
    height: 3.8rem;
}
header > div {
    height: 100%;
    width: fit-content;
    margin: 0 auto;
    justify-items: center;
    font-size: 1rem;
}
header .logo {
    font-size: 0.75rem;
    line-height: 1rem;
    width: 3.8rem;
    padding: 6px 2px;
}

/* パンくず */
.breadcrumb{
	font-size: 0.75rem;
    line-height: 1rem;
    font-weight: normal;
    vertical-align: middle;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: center;
    align-content: space-around;
    margin-left: 0.5rem;
}
.breadcrumb a {
    color: var(--color-link);
    font-weight: normal;
}
.breadcrumb li::before{
    content: ">";
    color: var(--color-link);
    margin-left: 0.5rem;
    margin-right: 0.5rem;
}
.breadcrumb img{
    width: 1rem;
    height: 1rem;
    aspect-ratio: 1 / 1;
}
.breadcrumb-start::before{
    display: none;
}



/* フッター */
footer {
    background-color: #e5e7eb;
    width: 100vw;
    padding-top: 2rem;
    padding-bottom: 0.75rem;
}
.footer-wrap {
    /* padding: 0 2rem; */
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    justify-content: center;
    align-content: center;
    align-items: center;
}
footer img {
    width: 6rem;
    margin-bottom: 2rem;
    /* min-width: min-content; */
}
.sitemap {
    font-size: 1rem;
    display: grid;
    align-items: stretch;
    width: 100%;
    row-gap: .63rem;
    justify-items: stretch;
    /* max-width: 100px; */
}
.sitemap > li > a {
    display: block;
    padding: 0.5rem;
    width: fit-content;
    height: 100%;
}
.sitemap > li > .sub {
    font-size: 0.95rem;
    margin-bottom: 0;
    margin-top: 0.25rem;
    margin-left: 0.5rem;
    line-height: 1.25rem;
}
footer .inquiry {
    margin-top: 2rem;
    margin-bottom: 1rem;
}
.inquiry > p {
    line-height: 1.4rem;
}
small {
    display: block;
    margin-top: 2rem;
    font-size: 0.875rem;
    line-height: 1rem;
    line-height: 1rem;
    text-align: center;
    width: 100%;
}

/* Galaxy Fold (280x653) */
@media (max-width: 330px) {
    .br-gf {
        display: block;
    }
    .footer-wrap {
        padding: 0 0.5rem;
    }

}

/* sm :iphone-tate */
@media (min-width: 550px) {
    .br-sp {
        display: none;
    }
    main{
        width: 100%;
    }
/* フッター */
    footer .logos {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        column-gap: 0.75rem;
        align-items: center;
    }
}
/* md :tablet-tate */
@media (min-width: 768px) {
    main{
        width: 100%;
    }
/* フッター */
    .footer-wrap {
        flex-direction: row;
        flex-wrap: wrap;
    }
    .footer-wrap .logos {
        /* flex-shrink: ; */
        margin:  0;
    }
    .footer-wrap .sitemap {
        margin: 0 5rem;
    }
    .footer-wrap .inquiry {
        margin: 0;
    }
}

/* PC like size */
/* lg :tablet-yoko */
@media (min-width: 1010px) {
    header {
        height: 5rem;
    }
    header .logo {
        padding: 0;
    }
    main{
        width: 91.666667%;
    }
}
/* xl :PC */
@media (min-width: 1280px) {
    main{
        width: 91.666667%;
    }
}
/* 2xl :pc-wide */
@media (min-width: 1536px) {
    main{
        width: 91.666667%;
    }
}