@charset "utf-8";


/* =Display options (ルビ表示切替) ============================= */
html.no-ruby rt,
html.no-ruby rp { display: none; }

/* ルビ非表示時は line-height をルビ前提の値から通常値に戻す */
html.no-ruby .definition .definition-contents-inner,
html.no-ruby .definition .usage {
  line-height: 1.80em;
}
html.no-ruby .content .example {
  margin-bottom: 6px;
}

#display-options {
  display: flex;
  justify-content: flex-end;
  padding: 6px 16px 10px;
}
#display-options #ruby-toggle {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: transparent;
  border: 1px solid #115da6;
  padding: 2px 9px;
  margin: 0;
  cursor: pointer;
  color: #115da6;
  font: inherit;
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  user-select: none;
}
#display-options #ruby-toggle svg {
  width: 17px;
  height: 17px;
  vertical-align: top;
  position: relative;
  top: 0px;
}
#display-options #ruby-toggle .ruby-toggle-label {
  display: inline-block;
  vertical-align: middle;
}


/* =Reset default browser CSS.
Based on work by Eric Meyer: http://meyerweb.com/eric/tools/css/reset/index.html
-------------------------------------------------------------- */
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, font, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table.table, caption, tbody, tfoot, thead, tr, th, td {border: 0;font-family: inherit;font-size: 100%;font-style: inherit;font-weight: inherit;margin: 0;outline: 0;padding: 0;vertical-align: baseline;}
:focus {outline: 0;}

ol, ul {list-style: none;}
table.table {border-collapse: separate;border-spacing: 0;}
caption, th, td {font-weight: normal;text-align: left;}
blockquote:before, blockquote:after,q:before, q:after {content: "";}
blockquote, q {quotes: "" "";}
a img{border: 0;}
figure{margin:0}
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {display: block;}
/* -------------------------------------------------------------- */

body {
margin: 0;
padding: 0;
color:#333;
font-size:small;
font-family:"Noto Sans JP", Sans-Serif;
line-height:1.5;
background:#ededed;
}
* {
    box-sizing: border-box;
}

/* リンク設定
------------------------------------------------------------*/
a{color:#fff;text-decoration:none;}
a:active, a:focus {outline:0;}


/* 全体
------------------------------------------------------------*/
#wrapper{
margin:0 auto;
padding:0;
width:100%;
height: 100%;
min-height:100vh;
position:relative;
background:#fff;
border-left: 1px solid #e8e8e8;
border-right: 1px solid #e8e8e8;
border-bottom: 1px solid #e8e8e8;
}

.inner{
margin:0 auto;
width:100%;
}

.content {
margin: 30px 0 40px;
}
.content input {
	font-size: 14px;
	font-family: 'Noto Sans JP', sans-serif;
	margin: 10px 10px 5px 0;
	padding: 5px;
	border:2px solid #c3e2fc;
}
.content #index-buttons {
	width:480px;
	display:flex;
	margin: 0 auto;
}
.content button {
    color: white;
    width: 70px;
    font-size: 90%;
    font-family: "Noto Sans JP", Sans-Serif;
    font-weight: 400;
    padding: 4px 10px;
    background-color: #036eb8;
    border: 1px solid #036eb8;
    cursor: pointer;
    margin-left: 6px;
}
.content button.index {
    color: #036eb8;
    font-weight: 600;
    width: 35px;
    background-color: white;
}
.content button.active {
    color: white;
    background-color: #036eb8;
}
.content button.disabled {
    color: #9dcff1;
    background-color: white;
    border: 1px solid #9dcff1;
	cursor: default;
}
.content .section {
    width: 70%;
    font-size: 110%;
    margin: 8px auto;
    line-height: 2.0em;
    padding: 10px 15px;
    margin-bottom: 30px;
}
.content .section.index {
	border-left: 9px solid #cad5ff;
    border-right: 9px solid #cad5ff;
}
.content .section p {
	margin: 0;
	font-size: 14px;
	line-height: 2.0em;
}
.content .section .subsection {
	margin: 15px 0 5px;
	font-size: 15px;
	font-weight: 600;
}
.content .section .subsection:before{
	font-family: "FontAwesome";
	content: '\f1b2';
	font-weight: 400;
	margin-right: 0.5em;
	color:#0461a1;
	display: inline-block;
}
.content .section ul li {
	margin-left: 1.5em;
	font-size: 13px;
}
.content .section p {
	font-size: 13px;
	margin-left: 1.5em;
	line-height: 1.8em;
}
.connection-table-wrapper {
	overflow-x: auto;
	margin-top: 20px;
	margin-bottom: 30px;
}
.connection-table {
	width: 100%;
	border-collapse: collapse;
	border: 1px solid #999;
	font-size: 13px;
	line-height: 1.8em;
}
.connection-table th,
.connection-table td {
	border: 1px solid #999;
	padding: 8px 10px;
	vertical-align: top;
}
.connection-table th {
	background: #eef3ff;
	font-weight: 700;
}
.connection-table td:first-child {
	font-weight: 700;
	white-space: nowrap;
}
.connection-examples p {
	margin-top: 10px !important;
	margin-bottom: 20px !important;
	font-size: 13px;
	line-height: 1.8em !important;
}
.connection-example-line {
	display: inline-block;
	background: #f3f3f3;
	padding: 2px 8px;
	font-size: 13px;
	margin: 8px 0;
}
.content .example {
margin-bottom: 10px;
letter-spacing: 0.06em;
text-indent: -1.00em;    /* 1文字分左にずらす */
padding-left: 1.00em;    /* 1文字分の余白を左に作る */
}
/********************************/
.content h1 {
    text-align: center;
    color: #0461a1;
    font-size: 22px;
    font-weight: 500;
    letter-spacing: 0.05em;
    margin-top: 10px;
}
.content h1 .total-count {
    font-size: 70%;
    font-weight: 400;
}
.content h1 rt {
	font-weight: 300;
	font-size: 65%;
	position: relative;
	top: -0.20em;
	transform: translateY(-.5em);
}
.content .example-label {
	font-size: 90%;
    border: 1px solid gray;
    padding: 0 4px 1px;
    border-radius: 3px;
    font-weight: 600;
}
.definition .sense-number {
padding: 1px 6px;
border: 1px solid black;
background-color: #424242;
font-weight: 600;
font-size: 115%;
color: white;
scroll-margin-top: 10px;
}
.definition .category {
font-size: 115%;
font-weight: 600;
}
.definition .category rt {
	font-weight: 300;
	font-size: 70%;
	position: relative;
	top: -0.1em;
	transform: translateY(-.5em);
}
.definition .level {
font-size: 120%;
color:#8fc31f;
}
.definition .category.single-sense,
.definition .level.single-sense {
position: relative;
left: -12px;
}
.definition .definition-contents {
margin-top: 0.5em;
margin-left: 0.2em;
padding-left: 1.1em;
padding-top: 0.8em;
padding-bottom: 0.3em;
border-left: 6px solid #acd6ff;
position: relative;
}
.definition .definition-contents::before,
.definition .definition-contents::after {
  content: "";
  position: absolute;
  left: 0;
  width: 6px;
  border-top: 4px solid #acd6ff;
}
.definition .definition-contents::before {
  top: 0;
}
.definition .definition-contents::after {
  bottom: 0;
  border-top: none;
  width: 6px;
  border-bottom: 5px solid #acd6ff;
}
.definition .definition-contents-inner {
margin-bottom: 0.8em;
line-height: 3.00em;
}
.definition .definition-contents-inner rt {
position: relative;
top: -0.4em;
font-size: 0.8em;
}
.definition .definition-contents-inner a {
	color: #333;
	padding-bottom: 0.1em;
	border-bottom: 0.2em dotted #333;
}
.definition .definition-label {
font-size: 95%;
font-weight: 600;
letter-spacing: 0.07em;
border: 1px solid gray;
padding: 3px 7px;
border-radius: 3px;
margin-right: 0.7em;
}
.definition .usage {
padding: 6px 10px;
font-weight: 600;
border: 1px dotted black;
background-color: aliceblue;
line-height: 3.00em;
}
.definition .usage rt {
position: relative;
top: -0.4em;
font-size: 0.8em;
}
.example-section {
  margin-left: 1.70em;
}
.connection-type-div {
font-size: 100%;
padding-bottom: 3px;
border-bottom: 3px solid #8FC31F;
margin-top: 30px;
margin-bottom: 15px;
}
.connection-type .label {
font-size: 100%;
font-weight:600;
padding: 7px 15px 7px 10px;
}
.connection-type {
font-weight: 600;
font-size: 115%;
line-height: 2.40em;
}
.connection-symbol-tooltip {
  position: relative;
  display: inline;
  cursor: help;
  border-bottom: 3px dotted #8fc31f;
}
.connection-symbol-popup {
  display: block;
  position: absolute;
  left: 50%;
  bottom: calc(100% + 8px);
  transform: translateX(-50%);
  background: #424242;
  color: #fff;
  padding: 10px 14px;
  border-radius: 4px;
  text-align: left;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.5;
  width: max-content;
  max-width: min(560px, 90vw);
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  border-bottom: none;
  transition: opacity 0.15s ease-in-out;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}
.connection-symbol-popup::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 100%;
  transform: translateX(-50%);
  border: 5px solid transparent;
  border-top-color: #424242;
}
.connection-symbol-popup-block {
  display: block;
}
.connection-symbol-popup-block + .connection-symbol-popup-block {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid #6a6a6a;
}
.connection-symbol-popup-title {
  display: block;
  font-weight: 600;
  margin-bottom: 8px;
}
.connection-symbol-popup-example {
  display: block;
  font-size: 80%;
  font-weight: 400;
  white-space: pre-wrap;
}
.connection-symbol-tooltip:hover .connection-symbol-popup,
.connection-symbol-tooltip:focus .connection-symbol-popup,
.connection-symbol-tooltip:focus-within .connection-symbol-popup {
  opacity: 1;
}
.pos {
	padding: 0px 7px 1px;
    border: 1px solid #333;
    background: #333;
    color: white;
    font-weight: 600;
    margin-left: 2px;
    font-size: 85%;
    position: relative;
    top: -1px;
    border-radius: 5px;
}
/********************************/

h1 a {
color: #0461a173;
}
h1 i.right {
font-size:80%;
}
.content #error {
	display: none;
	font-size: 13px;
	color: red;
}
.content .result-wrapper {
width: 70%;
margin: 10px auto;
}
.result-wrapper #noun-note {
	color:#6d6d6d;
	margin-bottom:10px;
	font-weight:600;
}
.result-wrapper #hit-count {
color:#6d6d6d;
margin-left: auto;
margin-bottom:10px;
font-weight:600;
}
.result-wrapper #results {
	width: 100%;
}
.result-wrapper .headword {
	letter-spacing: 0.08em;
}
.result-wrapper .headword rt {
	font-size: 70%;
	position: relative;
	top: -0.3em;
}
.result-wrapper .noun {
	font-size: 90%;
	color: white;
	background-color: #696969;
	padding: 1px 6px;
	margin-left: 0.25em;
	border-radius: 5px;
}
.result-wrapper .count {
	font-size: 70%;
	color: white;
	background-color: #115da6;
	padding: 2px 5px;
	margin-left: 1.00em;
	border-radius: 5px;
}
.result-wrapper .paging-control {
    color:#115da6;
    font-size:18px;
    text-align:center;
    margin-top:20px;
    margin-bottom:20px;
    font-weight:600;
}
.paging-control .current-page,
.paging-control .total-pages {
    position:relative;
    top:-3px;
}
.paging-control .slash {
    margin: 0 3px;
    position:relative;
    top:-3px;
}
.paging-control .fa-solid {
    font-size:26px;
    cursor:pointer;	
}

fieldset {
    border: solid 1px #0056ac;
    margin: 15px 5px;
    position: relative;
}
legend {
    color: white;
    font-size: 80%;
    font-weight: 600;
    margin-left: 10px;
    padding: 2px 10px;
    background: #0056ac;
    line-height: 2.0em;
}
f
#results{
border-collapse: collapse;
border-spacing: 0;
width: 100%;
}
#results tr{
border: solid 1px #c3e2fc;
cursor: pointer;
}
#results td{
color:#115da6;
padding: 10px;
font-size: 15px;
font-weight: bold;
letter-spacing: 0.06em;
}
#results td:hover {
background-color:#f5faff;
}
#results .category {
font-size: 90%;
font-weight: 400;
margin-left: 1.0em;
}
#results .sense-number {
	font-size: 80%;
	color: white;
	background-color: #115DA6;
	padding: 0px 5px 1px;
	margin-left: 0.5em;
}
#results .level {
	font-size: 95%;
	color:#8fc31f;
}
.definition {
    font-size:14px;
    margin-top:20px;
    margin-bottom:40px;
    }
.section .definition:last-child{
margin-bottom:0;
} 
.section .definition:last-child .examples{
padding-bottom:0;
}
    .definition rt {
    font-weight:300;
    position: relative;
    top: -.1em;
    font-size: 70%;
    transform: translateY(-.5em);
    }
    .definition .definition-number {
    padding: 2px 7px;
    color:white;
    font-weight: 600;
    background-color: #115da6;
    margin-right: 1.0em;
    }
	.definition .additional-info {
	border:1px solid #c6c6c6;
	padding:10px 15px;
	padding-bottom:10px;
	}
    .definition .small {
    font-size:90%;
	line-height:2.80em;
    }
    .definition .examples {
    margin-bottom:15px;
    padding-bottom:15px;
    }
    .examples .label {
    background-color:#115da6;
    }
    .usage div {
	font-size:100%;
	letter-spacing:0.03em;
	margin-left:1.0em;
	line-height:2.8em;
	margin-bottom:0.30em;
	padding-left: 0.5em;
	text-indent: -0.5em;
    }
    .usage .fas {
    width: 0.5em;
    height: 0.5em;
    border-radius: 50%;
    position:relative;
    top:-0.1em;
    margin-right:0.50em;
    }
    
    .bullet {
    background-color:#6da611;
    width: 0.5em;
    height: 0.5em;
    display: inline-block;
    border-radius: 50%;
    position:relative;
    top:-0.1em;
    margin-right:0.30em;
    }

#header{
height:80px;
text-align: center;
}
.title{
width: 100%;
padding-top: 21px;
}
.title img{
width:auto;
}
.title span{display:block;}

i.fa-solid.left,
i.fas.left  {
margin-right:0.5em;
}
i.fa-solid.right {
margin-left:0.5em;
cursor:pointer;
}
	
.link-button {
	display: block;
	text-align: center;
	font-size:13px;
	width:160px;
	height:30px;
	line-height: 30px;
	color: #fff;
	background-color: #8ac43c;
	cursor: pointer;
}
.big-button-wrapper {
    padding: 0px 0 30px;
    text-align: center;
}
.big-button {
    font-size: 20px;
    font-weight: normal;
    letter-spacing: 0.05em;
    background-color: #7ba81a;
    padding: 10px 30px;
    color: white;
    text-align: center;
    cursor: pointer;
    line-height: 66px;
}

#footer{
position: absolute;
bottom: 0;
text-align: center;
width: 95%;
height:2.5em;
}

@media only screen and (min-width: 960px){
  nav#main-menu{
	padding:0;
	clear:both;
	overflow:hidden;
	position:relative;
	background-color: white;
    border-top: 3px dotted #a0c1e3;
    border-bottom: 3px dotted #a0c1e3;
	}

    nav#main-menu ul {
    padding-left:0;
    margin:auto;
    width:693px;
    }

	nav#main-menu ul li{
	float: left;
	margin: 10px 0 10px 10px;
	position: relative;
	cursor: pointer;
	}

	nav#main-menu ul li.active .right{
	display:none;
	}

    nav#menu-items{
    height: 48px;
    }

	nav#main-menu li.last{border-right:1px solid #ebebeb;}

	nav#main-menu ul li{
	display: block;
	text-align: center;
	font-size:13px;
	width:160px;
	line-height: 28px;
	color: #fff;
	background-color: #115da6;
	}
    #about nav#main-menu ul li{
    width:127px;
    }

	nav#main-menu ul li a span,nav#main-menu ul li a strong{
	display:block;
	}

	nav#main-menu ul li a span{
	color:#006699;
	font-size:10px;
	}

	nav div#menu-items{
	display:block !important;
	float:left;
	width: 100%;
	}

	a#menu{display:none;}

	nav#main-menu li.active{
	background-color:#7ba81a;
	}
	
	#mainBanner{margin-left:15px;}
	#subpage #mainBanner{margin:15px auto;}

	#wrapper,.inner{
	width:960px;
	padding:0;
	}
	
	#wrapper{padding-bottom:20px;}
	
	#main{
	float:right;
	width:717px;
	padding-right:15px;
	}
	
	#sidebar{
	float:left;
	width:195px;
	padding:15px 0 0 15px;
	overflow:hidden;
	}
	
	#sidebar article{
	padding:7px;
	margin-bottom:20px;
	border:1px solid #ebebeb;
	overflow:hidden;
	}
	
	/* グリッド全体 */
	.gridWrapper{
	width:960px;
	margin:0 0 0 -10px;
	}
	
	#gallery article{padding:10px 0 10px 10px;}
	
	/* グリッド */
	.grid{
	float:left;
	width:300px;
	margin-left:20px;
	}
	
	#subpage .grid{width:auto;}
	
  #gallery .grid{
	width:auto;
	margin:10px 0 2px 10px;
	}
}


@media only screen and (max-width:959px){
	*{
    -webkit-box-sizing: border-box;
       -moz-box-sizing: border-box;
         -o-box-sizing: border-box;
        -ms-box-sizing: border-box;
            box-sizing: border-box;
	}
	
	nav#main-menu{
	clear:both;
	margin:0 15%;
	padding:0;
	background-color: #fff;
    border:3px solid #c3e2fc;
	}

	#display-options{
	margin:0 15%;
	padding:6px 0 10px;
	}

	nav#main-menu a.menu{
	width:100%;
    display:block;
	height:36px;
	font-size:14px;
	line-height:36px;
	font-weight: bold;
	text-align:left;
	color:#036EB8;
    background-color:#c3e2fc;
	}

	nav#main-menu a#menu span{padding-left:10px;}
	nav#main-menu a#menu:hover{cursor:pointer;}

	nav #menu-items{
	display:block;
	width:100%;
	position:relative;
	right:0;
	top:0;
	z-index:1;
	}

	nav#main-menu ul li{
	float: none;
	clear:both;
	width:100%;
	line-height:1.0em;
	padding: 10px 10px;
	color:#036EB8;
	font-weight:600; 
    border-bottom: 1px dotted#abe3fc;
    letter-spacing: 0.05em;
	}

	nav#main-menu ul li a,nav#main-menu ul li.current-menu-item li a{
	display: block;
	font-size:14px;
	padding:15px 10px 15px 1.5em;
	text-align:left;
	}
	
	nav#main-menu ul li a span{padding-left:10px;}
	
	nav#main-menu ul li.active a{background-color:#c3e2fc;}

	nav div#menu-items{float:none;}
	
	#subpage #mainBanner{max-width:720px;}
	
	#sidebar article{padding:7px 8px;}
	
	ul.footnav li{float:none;display:inline-block;}
	
	.grid{
	width:32%;
	margin:10px 0 0 1%;
	}
	
	#gallery .grid{
	float:left;
	width:31%;
	margin:0 0 0 1%;
	}
}


/* スマートフォン 横(ランドスケープ) */
@media only screen and (max-width:640px){
	#header{
	height:80px;
	}
	
	#header h1,.logo,.info{text-align:center;}

	nav#main-menu{margin:0 7.5%;}

	#display-options{margin:0 7.5%;}

	.content .section{width: 85%;}

	.content .result-wrapper {
	width: 85%;
	margin: 10px auto;
	}

    #footer {
    font-size:90%;
    }

	.logo,.info{
	clear:both;
	width:100%;
	float:none;
	}
	
	.logo p{float:none;display:block;}
	.logo img{float:none;padding:0;}
	
	.box img{
	max-width:180px;
	float:left;
	margin-right:5px;
	}
	
	.box h3{padding-top:0;}

  .alignleft,.alignright{
	float:none;
	display:block;
	margin:0 auto 10px;
	}
	
	#gallery .grid{float:left;}
    .link-button {display:none;}

	.content #index-buttons {
		width: auto;
		max-width: 240px;
		flex-direction: column;
		align-items: center;
	}
	.content #index-buttons > div {
		width: 240px !important;
	}
}


/* スマートフォン 縦(ポートレート) */
@media only screen and (max-width:480px){
	.grid{width:100%;}
	.box img{max-width:100px;}
	#mainBanner h2,#mainBanner p{font-size:80%;}
}
