@charset "UTF-8";

* {
    transition: none;
}
html {
    font-size: 16px;
}

body.tot {
    color: #0f346b;
    font-family: "Century","Cambria","Hiragino Mincho ProN", serif;
    min-width: 0;
}

a:hover {
    opacity: 1;
}

.tot p {
    margin-top: 0;
}

.container {
    max-width: 1230px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 15px;
    padding-right: 15px;
    background: none;
}

.container.container--tot-header {
    background: url(./img/bg01.jpg) no-repeat;
    background-size: cover;
    background-position: bottom center;
    height: 70vh;
    height: 760px;
    position: relative;
    max-width: 100%;
}

.header__title.header__title--tot {
    margin: 0;
    position: absolute;
    top: 40%;
    left: 50%;
    transform: translate(-50%,-50%);
    width: 90%;
    max-width: 1200px;
    text-align: center;
    font-size: 3.4em;
    font-weight: normal;
    line-height: 1.13;
    text-shadow: 0 1px 3px #fff;
}

.header__title.header__title--tot strong {
    font-size: 1.4em;
    font-weight: normal;
}

.header__title.header__title--tot strong:last-child {
    font-size: 1.8em;
}

.header__title.header__title--tot-child {
    color: inherit;
    transition: all 0.5s ease;
}

.header__title.header__title--tot-child:hover {
    opacity: 0.7;
}

.select-lang {
    margin-top: 20px;
    position: relative;
}

button[name="open-lang"] {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    border: none;
    background: none;
    outline: none;
    width: fit-content;
    height: 50px;
    padding: 0;
    padding-left: 45px;
    background: url(./img/icon-translate.png) no-repeat;
    background-size: 40px auto;
    background-position: left center;
    cursor: pointer;
    display: block;
    margin-left: auto;
	color: inherit;
}

button[name="open-lang"]:focus {
    outline: none;
}

button[name="open-lang"]:hover {
    opacity: 0.7;
}

.description {
    text-align: center;
    max-width: 780px;
    font-size: 1.2em;
    margin: 0px auto 30px;
    padding: 40px 60px;
    background: url(./img/bg11.png) no-repeat;
    background-size: 100% auto;
    background-position: center;
}

.word-wrap {
    margin-bottom: 100px;
}

.word-items {
    display: flex;
    align-items: flex-start;
    justify-content: space-around;
    flex-wrap: wrap;
    width: 100%;
    padding: 0;
    list-style: none;
}

.word-items > li {
    width: 15%;
    margin: 0 2.5% 20px;
    height: 0px;
    padding-bottom: 15%;
    line-height: 1.25;
    position: relative;
}

.word-items > li > a {
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    background: url(./img/bg21.png) no-repeat;
    background-position: center;
    background-size: contain;
    width: 100%;
    height: 100%;
    text-align: center;
    color: inherit;
    font-size: 1.56em;
    position: absolute;
    transition: all 0.3s ease;
}

.word-items > li:nth-child(odd) > a {
    background-image: url(./img/bg22.png);
}

.word-items > li > a:hover {
    transform: scale(1.16);
}

.header.header--tot-child {
    background: #fff;
    font-size: 1.68em;
    padding: 5px 10px;
    border-bottom: solid 2px #b2c4d5;
}

.container.container--tot-child-header {
    max-width: 1400px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.select-lang.select-lang--child {
    position: relative;
    top: -7px;
    z-index: unset;
    height: 50px;
    font-size: 0.84em;
}

.container.container--select-lang-child button[name="open-lang"] {
    width: auto;
    height: auto;
    text-indent: 0;
    padding: 10px 0 10px 55px;
    color: inherit;
    position: unset;
    top: unset;
    left: unset;
    white-space: nowrap;
}

.container.container--select-lang-child button[name="open-lang"]:after {
    content: "";
    display: inline-block;
    border: solid 12px;
    border-bottom-width: 0;
    border-left-color: transparent;
    border-right-color: transparent;
    margin-left: 10px;
    position: relative;
}

.container.container--select-lang-child.active button[name="open-lang"]:after {
    transform: rotate(180deg);
    top: -4px;
}

.container.container--tot-main {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
    background: url(./img/bg12b.png) no-repeat;
    background-size: 100% 100%;
    background-position: center;
    min-height: 400px;
}

.mainVisual.mainVisual--tot-child {
    padding: 60px 0 180px;
    margin: 0;
    background-color: rgba(255,255,255,0.35);
    background-blend-mode: lighten;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
    position: relative;
    z-index: 1;
}

.mainVisual.mainVisual--tot-child:after {
    content: "";
    display: block;
    width: 100%;
    height: 200px;
    background: linear-gradient(0deg, #fff 0%, #fff 50%, transparent);
    z-index: 9;
    bottom: -2px;
    left: 0;
    position: absolute;
}

.page-title.page-title--tot {
    margin: 0;
    font-size: 4.4em;
    width: 50%;
    text-align: center;
}

.page-description {
    width: 50%;
    font-size: 1.56em;
    padding: 0 30px;
}

.page-description p {
    margin: 0 auto;
}

.page-caption {
    margin-top: 20px;
	font-size: 60%;
}

.page-caption p {
    text-align: right;
}

body.tot p {
    margin-top: 0;
}

.container.container--tot-qa {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    width: 100%;
    margin-top: -120px;
    position: relative;
    z-index: 2;
}

.fixed-title {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 99;
    background: #fff;
    width: 100%;
    text-align: center;
    padding: 8px 10px;
    font-size: 1.56em;
    font-weight: bold;
    border-bottom: solid 1px #b1c4d4;
    display: none;
    transition: none;
}

.qaWrap {
    width: calc(100% - 320px);
    max-width: 740px;
}

.sidebar-word-wrap {
    flex-basis: 280px;
    border-left: solid 3px #b2c4d5;
}

.sidebar-word-items {
    margin: 20px;
    padding: 0px;
    list-style: none;
    text-align: center;
    width: auto;
    display: block;
}

.sidebar-word-items > li {
    margin-bottom: 40px;
}

.sidebar-word-items > li.current {
    background: url(./img/bg23.png) no-repeat;
    background-size: contain;
    background-position: center;
    padding: 1.5em 0;
    font-weight: bold;
}

.sidebar-word-items > li > a {
    text-decoration: none;
    color: inherit;
    font-size: 1.4em;
}

.sidebar-word-items > li > a:hover {
    opacity: 0.7;
}

.sidebar-word-items > li.current > a {
    pointer-events: none;
}

.qaWrap a {
	color: #009632;
}

.qaWrap a:hover {
    opacity: 0.7;
}

.qaWrap>dl {
    margin: 0 auto 100px;
    font-size: 1.32em;
}

.qaWrap>dl>dt {
    padding: 25px 0 0 60px;
    background: url(./img/icon-q.png) no-repeat;
    background-size: 60px;
    background-position: top left;
    min-height: 80px;
    margin-bottom: 10px;
    font-weight: bold;
}

.qaWrap>dl>dd {
    position: relative;
    background: #c8e4ff;
    box-shadow: 10px 20px #ffcf9c;
    border-radius: 15px;
    padding: 0.75em 1.25em;
    margin: 40px 0 0 65px;
}

.qaWrap>dl>dd:before {
    content: "";
    width: 76px;
    height: 76px;
    background: url("./img/icon-light.png") no-repeat;
    background-size: contain;
    display: block;
    position: absolute;
    top: -30px;
    left: -38px;
    z-index: 2;
}

.qaWrap>dl>dd>*:last-child {
    margin-bottom: 0;
}
.container.container--select-lang {
    position: relative;
    height: 50px;
}
#lang-menu {
    position: absolute;
    top: 0;
    right: 15px;
}
#lang-menu.active > .language-list,
.container.container--select-lang-child.active > .language-list {
    display: block;
}

.language-list {
    display: none;
    width: auto;
    min-width: 140px;
    position: relative;
    z-index: 9;
    padding: 20px;
    margin: 15px 0 0;
    list-style: none;
    border-radius: 15px;
    background: #10346a;
}
.language-list:before {
    content: "";
    border-bottom: none;
    border-right: none;
    width: 14px;
    height: 14px;
    display: block;
    position: absolute;
    top: -6px;
    right: 15px;
    transform: rotate(45deg);
    background: #10346a;
}

.language-list.language-list--child {
    font-size: 0.76em;
    min-width: 160px;
    margin-top: 5px;
}

.language-list.language-list--child:before {
    display: none;
}

.language-list a {
    color: #fff;
    text-decoration: none;
    transition: all 0.35s;
}

.language-list a:hover {
    opacity: 0.7;
}

.language-list>li {
    margin-bottom: 10px;
    text-align: center;
}

.language-list>li:last-child {
    margin-bottom: 0;
}

.tot .footer {
	background: #fff;
	border-top: solid 2px #b2c4d5;
	padding: 10px;
	color: #b2c4d5;
	opacity: 1;
}

.tot .footerMenu > li > a {
	color: inherit;
}

.footer {
    font-family: 'Roboto', 'PT Sans', 'Arial', 'MS Gothic', sans-serif;
}

.footer a:hover {
    text-decoration: underline;
}
.footer__siteTitle {
	color: #0f346b;
	text-decoration: none;
	font-size: 1.4em;
	margin: 10px auto 20px;
	display: block;
	width: fit-content;
}

.footer__copyright a {
	color: inherit;
	text-decoration: none;
	pointer-events: none;
}

@media all and (min-width: 769px){
    .word-items > *:nth-child(9n+6) { margin-left: 12%; }
    .word-items > *:nth-child(9n+9) { margin-right: 12%; }
}
@media all and (min-width: 481px){
    .word-items > *:nth-child(9n+6) { margin-left: 10%; }
    .word-items > *:nth-child(9n+9) { margin-right: 10%; }
}
@media all and (max-width: 1024px){
    .word-items > li {
        width: 18%;
        padding-bottom: 18%;
        margin: 0 1% 30px;
    }
    .container.container--tot-main {
        display: block;
        max-width: 900px;
    }
    .page-title.page-title--tot {
        width: 100%;
        margin-bottom: 10px;
    }
    .page-description {
        width: 100%;
        padding: 0 30px;
    }
    .qaWrap>dl>dd:before {
        width: 75px;
        height: 75px;
        left: -40px;
    }
    .qaWrap>dl>dd {
        margin-left: 40px;
    }
    .container.container--tot-header {
        height: 70vh;
    }
    .description {
        padding: 20px 40px;
    }
    .word-items > li {
        font-size: 1.48vw;
        margin-bottom: 10px;
    }
    .page-description {
        font-weight: normal;
    }
}
@media all and (max-width: 821px){
    nobr { white-space: normal; }

    nobr:before {
    	content: "";
    	display: block;
    }
    .header.header--tot-child {
        font-size: 1.6em;
    }

    .select-lang.select-lang--child {
        height: 36px;
    }
    .container.container--tot-child-header {
        padding-right: 0;
    }
    .container.container--select-lang-child button[name="open-lang"] {
        padding: 5px 0 5px 45px;
        font-size: 0.84em;
    }
    .container.container--select-lang-child button[name="open-lang"]:after {
        border-width: 10px;
        border-bottom-width: 0;
        margin-left: 5px;
    }
    .language-list.language-list--child {
        position: absolute;
        width: 100%;
        right: 0;
    }

    .page-title.page-title--tot {
        font-size: 2.8em;
        margin-bottom: 30px;
    }
    .page-description {
        padding: 0;
        font-size: 1.3em;
    }
    .container.container--tot-main {
        min-height: unset;
    }
    .container.container--tot-qa {
        display: block;
    }
    .qaWrap {
        width: 100%;
    }
    .qaWrap>dl {
        font-size: 1.24em;
    }
    .qaWrap>dl>dt {
        padding: 20px 0 0 50px;
        background-size: 44px;
        min-height: 52px;
        margin-bottom: 30px;
    }
    .qaWrap>dl>dd {
        margin-left: 50px;
        margin-right: 15px;
    }
    .qaWrap>dl>dd:before {
        width: 60px;
        height: 60px;
        top: -25px;
        left: -30px;
    }

    .sidebar-word-wrap {
        width: 100%;
        flex-basis: unset;
        border-left: none;
        border-top: solid 2px #b2c4d5;
        padding-top: 20px;
    }
    .sidebar-word-items > li {
        margin-bottom: 30px;
    }
}
@media all and (max-width: 640px) and (min-width: 481px){
    .mainVisual.mainVisual--tot-child {
        padding: 80px 0 220px;
        height: auto;
    }
    .word-items > li {
        font-size: 1.64vw;
        margin-bottom: 10px;
    }
    .word-items > li:nth-child(7n+5) {
        margin-left: 14.5%;
    }
    .word-items > li:nth-child(7n+7) {
        margin-right: 14.5%;
    }
}
@media all and (max-width: 480px){
    /* body.tot {
        font-size: 16px;
    } */
    .container {
        padding-left: 10px;
        padding-right: 10px;
    }

    .container.container--tot-header {
        height: 55vh;
    }

    .header__title.header__title--tot {
        font-size: 2em;
        top: 50%;
        text-shadow: 0px 2px 8px #fff;
    }

    .select-lang {
        margin-top: 10px;
    }

    .description {
        padding: 0px;
        font-size: 1em;
    }

    .fixed-title {
        font-size: 1.32em;
    }

    .word-wrap {
        margin-top: 80px;
    }

    .word-items {
        display: grid;
        grid-template-columns: 33.33% 33.33% 33.33%;
        grid-row: 10;
    }

    .word-items > li {
        width: 100%;
        padding-bottom: 100%;
        margin: -50% 0 0;
        font-size: 2.4vw;
        line-height: 1.3;
    }

    .word-items > li:nth-child(3n+1) { grid-column: 2; }
    .word-items > li:nth-child(3n+2) { grid-column: 1; }
    .word-items > li:nth-child(3n+3) { grid-column: 3; }

    .word-items > li > a {
        background-size: 96% auto;
    }

    button[name="open-lang"] {
        height: 40px;
        top: 0;
    }

    .header.header--tot-child {
        padding: 3px 5px;
        font-size: 1.32em;
    }

    .container.container--select-lang-child button[name="open-lang"] {
        text-indent: 200%;
        white-space: nowrap;
        overflow: hidden;
        padding: 0;
        width: 40px;
        height: 40px;
        background-size: 80%;
        background-position: center;
    }

    .container.container--select-lang-child {
        padding: 0;
    }

    .mainVisual.mainVisual--tot-child {
        padding-top: 50px;
        height: auto;
    }

    .page-title.page-title--tot {
        font-size: 2em;
    }

    .page-description {
        font-size: 1.12em;
        margin-top: 40px;
    }

    .mainVisual.mainVisual--tot-child:after {
        height: 140px;
    }

    .container.container--tot-qa {
        margin-top: -50px;
    }

    .qaWrap>dl {
        font-size: 1em;
        margin-bottom: 60px;
    }

    .qaWrap>dl>dt {
        padding: 15px 0 0 40px;
    }

    .qaWrap>dl>dd {
        margin: 20px 4px 0 25px;
        padding: 14px;
        box-shadow: 5px 5px #ffcf9c;
    }

    .qaWrap>dl>dd:before {
        width: 50px;
        height: 50px;
        top: -20px;
        left: -26px;
    }

    .sidebar-word-items>li>a {
        font-size: 1.16em;
    }

}

@media all and (max-width: 320px){
    .word-items > li {
        min-width: 90px;
        font-size: 10px;
        height: 90px;
        padding-bottom: 0;
    }

    .word-items > li:nth-child(3n+2) {
        top: 0;
    }
}
