@charset "UTF-8";

/*********************************
preset variables
*********************************/
:root {
    --fontSize: 15px;
    --linkColor: #4b85ee;
    --textColor: #333;
    /* color preset */
    --mainColor: #afdaf9;
    --mainDarkColor: #327cd3;
    --mainLightColor: #dae9f4;
    --subColor: #666666;
    --subDarkColor: #333;
    --subLightColor: #d9d9d9;
    /* width preset */
    --gutter: 1.3rem;
    --gap: 3rem;
    --spacing: 1rem;
    --contentWidth: 960px;
    /* height preset */
    --headerHeight: 60px;
}

/* OVERWRITE RADIX */
body {
    background-color: var(--mainLightColor);
}

.layout-wrapper {
    background-color: #fff;
    box-shadow: 0px 0px 10px rgb(73, 73, 73, 31%);
    padding: 0 2rem 1rem;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/*
固定ページ化用
body {min-width: var(--contentWidth)}
*/

/* OVERWRITE end */
/*************************************
* START header
*************************************/
header {
    width: 100%;
    height: var(--headerHeight);
    background-color: #fff;
    color: #000;
}

header a {
    color: inherit;
    transition: all .2s;
}

header a:hover {
    text-decoration: none;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    height: 100%;
}

header h1 {
    font-size: 1.25rem;
}

header .lang-switcher {
    padding-left: 12px;
}

header .lang_arrow {
    width: 11px;
    height: 11px;
    margin-right: 0.5rem;
}

header .lang-switcher span {
  vertical-align: top;
  height: 10px;
}


/*************************************
* END header START main
*************************************/
/* eyecatch */
.eyecatch img {
    vertical-align: middle;
    width: 100%;
}

.page-header {
    position: relative;
    margin-top: 2px;
}

.page-header img {
    vertical-align: middle;
}

.page-header h1 {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translateX(-50%)translateY(-50%);
    margin: 0;
    font-size: 1.5rem;
    color: #fff;
}


/* main */
main {
    background-repeat: repeat-x;
}

main#index {
    margin-top: 2rem;
}

.main-inner {
    display: flex;
    width: 100%;
    margin: 0 auto;
    gap: 2rem;
}

/* aside */
aside {
    width: 240px;
    min-width: 240px;
}

aside h2 {
    padding: .9rem 1rem;
    margin-bottom: 0;
    background-color: var(--mainColor);
    color: #ffffff;
}

/* nav */
#global-nav {
    display: flex;
    justify-content: space-between;
    width: 100%;
    gap: 2px;
    margin-top: 2px;
}

#global-nav a {
    flex-basis: calc(100%/6);
    align-items: center;
    color: var(--textColor);
    padding: .375rem 0;
    color: #fff;
    background-color: var(--subColor);
    text-align: center;
    border-bottom: 3px solid var(--subDarkColor);
    transition: 0.2s;
}

#global-nav a:hover {
    text-decoration: none;
    background-color: var(--subDarkColor);
}

#en #global-nav a {
    flex-basis: calc(100%/4);
}


/* banners */
.banners {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.banners a {
    color: var(--textColor);
    background-color: var(--mainColor);
    border-left: 3px solid var(--mainDarkColor);
    height: 54px;
    display: flex;
    align-items: center;
    font-weight: 500;
    font-size: 0.95rem;
    padding: 0.5rem;
    transition: 0.2s;
}

.banners a:hover {
    text-decoration: none;
    background-color: #cfebff;
}

/* article */
article {
     flex-grow: 1;
}
article h2 {
    position: relative;
    padding: .55rem 1rem;
    font-size: 1.2rem;
    font-weight: 500;
    background: var(--subLightColor);
    background: linear-gradient(180deg, rgba(217,217,217,1) 0%, rgba(255,255,255,1) 100%);
    max-width: calc(100% - 4px);
    margin: 2px auto 2rem;
    color: #000;
}

article h2::before {
    position: absolute;
    top: -2px;
    left: -2px;
    display: block;
    content: '';
    width: calc(100% + 4px);
    height: calc(100% + 4px);
    border: 1px solid var(--subLightColor);
}

article h2::after {
    position: absolute;
    top: 0px;
    left: 0px;
    display: block;
    content: '';
    width: 3px;
    height: 100%;
    background-color: var(--mainDarkColor);
}

article h3 {
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--mainDarkColor);
    border-bottom: 2px solid var(--mainDarkColor);
    padding-bottom: 0.5rem;
    margin-top: 2rem;
}

article h4 {
    font-size: 1.1rem;
    font-weight: 700;
    padding-left: 0.5rem;
    border-left: 10px solid #4fb0f5;
    margin-top: 2rem;
}

article figure {
    padding: 0 2rem;
}


/* news */
.news h2 a {
  font-size: 0.8em;
  float: right;
  color: var(--textColor);
  position: relative;
  z-index: 2;
}

dl.news {
    padding: 0 0.75rem;
}

dl.news dt {
    font-weight: 500;
    margin-bottom: 1rem;
}

dl.news dt,
dl.news dd {
    position: relative;
    padding-left: 1rem;
}

dl.news dt:before {
    content: "";
    position: absolute;
    display: block;
    width: 10px;
    height: 10px;
    /*top: 50%;*/
    top: 11px;
    left: 0;
    transform: translateY(-50%);
    background-image: url(../content/images/template/arrow.png);
    background-size: contain;
    background-repeat: no-repeat;
}

dl.news dd {
    margin-bottom: 1rem;
}

.img-right {
    display: flex;
    justify-content: space-between;
    gap: 2rem;
}

.img-right p {
    flex-basis: 50%;
}

.img-right figure {
    flex-basis: 50%;
    padding: 0;
}

.breadcrumb {
    list-style: none;
    padding: 0.5rem 0;
}

.breadcrumb li {
    display: inline-block;
}

.breadcrumb li:not(:last-child)::after {
    content: ">";
    display: inline-block;
    margin: 0 0.5rem;
}

details {
    margin-bottom: 1em;
    padding: 0.5em;
}

summary {
    font-weight: bold;
    cursor: pointer;
    list-style: revert;
    margin-bottom: 0.5em;
    font-size:13pt;
}

.news-list dd {
    margin-left: 1.2em;
    margin-bottom: 12px;
}


/*************************************
* END main START footer
*************************************/
/* pagetop */
a#pagetop {
    position: -webkit-sticky;
    position: sticky;
    bottom: 16px;
    left: calc(100vw - 82px);
    margin-right: 46px;
    margin-bottom: 16px;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 36px;
    height: 36px;
    font-size: 48px;
    background-color: var(--subColor);
    color: #ffffff;
    transition: all .2s;
}

a#pagetop.hidden {
    opacity: 0;
    bottom: 0px;
}

a#pagetop.visible {
    opacity: 1;
}

@media only screen and (max-width: 700px) {
    a#pagetop {
        bottom: 12px;
        left: calc(100vw - 63px);
        margin-right: 15px;
        height: 48px;
        width: 48px;
        font-size: 64px;
    }
}

#footer-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 1rem;
}

#footer-nav a {
    position: relative;
    margin-right: 1rem;
    font-size: 0.9rem;
}

#footer-nav a::before {
    content: "|";
    margin-right: 1rem;
    color: #dbdbdb;
}

#footer-nav a:last-of-type::after {
    content: "|";
    margin-left: 1rem;
    color: #dbdbdb;
}

/* footer */
footer {
    position: relative;
    background-color: var(--textColor);
    color: #ffffff;
    padding: 3px 0 5px;
}

footer .copyright {
    font-size: .9rem;
    text-align: center;
    padding: 0 1rem;
}

/*************************************
* END footer START only for sp
*************************************/
@media only screen and (max-width: 700px) {
    :root {
        font-size: 14px;
    }

    .sp-hide {
        visibility: hidden;
        opacity: 0
    }

    .sp-visible {
        visibility: visible;
        opacity: 1
    }

    .sp-none {
        display: none !important
    }

    .rdx-btn {
        display: block
    }
}

/*************************************
* END only for sp START only for pc
*************************************/
@media print,
screen and (min-width: 700px) {
    .pc-hide {
        visibility: hidden;
        opacity: 0
    }

    .pc-visible {
        visibility: visible;
        opacity: 1
    }

    .pc-none {
        display: none !important
    }

}