@charset "UTF-8";
/* CSS Document */
/* 日本語類語・言い換え辞典 */
/* みんなの知識 ちょっと便利帳 */
/* 2026.07.02 */

.dictionary-wrap {
	width: 100%;
	font-family: "BIZ UDPMincho", "Hiragino Sans", "Yu Gothic", sans-serif;
	color: #333;
	background: #f2fbf5;
	border: green 3px solid;
	border-radius: 10px;
	margin: 30px auto;	
	padding: 30px 10px 15px 10px;
	box-sizing: border-box;
}
.container {
    max-width: 750px;
    margin: 0 auto 20px auto;
    background: #fff;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    box-sizing: border-box;
}
.dictionary-title{
	font-size:30px;
	font-weight:700;
	text-align:center;
	margin-bottom:8px;
	letter-spacing:.5px;
}
.dictionary-subtitle{
	text-align:center;
	color:#666;
	margin-bottom:20px;
	font-size:16px;
	line-height:1.7;
}
.input-area {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 20px;
}
.input-row {
    display: flex;
    gap: 10px;
}
.word-label {
    font-size: 16px;
    font-weight: bold;
    color: #444;
}
input[type="text"] {
    flex: 1;
    min-width: 0;
    padding: 12px;
    font-size: 18px;
    border: 1px solid #ccc;
    border-radius: 6px;
    outline: none;
}
input[type="text"]:focus {
    border-color: green;
}

button {
    padding: 10px 24px;
    font-size: 18px;
    cursor: pointer;
    border: none;
    border-radius: 6px;
    transition: background 0.2s;
    white-space: nowrap;
}
#searchBtn {
    background-color: green;
    color: white;
}
#searchBtn:hover {
    background-color: darkgreen;
}
#resetBtn {
    background-color: #e0e0e0;
    color: #333;
}
#resetBtn:hover {
    background-color: #ccc;
}

.result-area {
    margin-top: 20px;
    padding: 20px;
    background: #fafafa;
    border-radius: 8px;
    border: 1px solid #ddd;
    display: none;
}
.word-title {
    font-size: 22px;
    font-weight: bold;
    border-bottom: 2px solid green;
    padding-bottom: 8px;
    margin-bottom: 15px;
}

.meaning-section {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px dashed #ccc;
}
.meaning-section:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}
.meaning-title {
    font-size: 14px;
    font-weight: bold;
    color: #2e7d32;
    margin-bottom: 10px;
    background: #e8f5e9;
    padding: 4px 8px;
    border-radius: 4px;
    display: inline-block;
}

.dictionary-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 10px;
}
.dictionary-table tr {
    border-bottom: 1px solid #eee;
}
.dictionary-table tr:last-child {
    border-bottom: none;
}
.dictionary-th {
    width: 160px;
    padding: 12px 8px;
    text-align: left;
    vertical-align: top;
    font-weight: bold;
    color: #2e7d32;
    font-size: 15px;
}
.dictionary-td {
    padding: 12px 8px;
    vertical-align: top;
    line-height: 1.6;
    font-size: 16px;
}

.keyword-link {
    color: #0066cc;
    text-decoration: none;
    cursor: pointer;
    margin-right: 5px;
    display: inline-block;
}
.keyword-link:hover {
    text-decoration: underline;
    color: #0033aa;
}
.no-link {
    margin-right: 5px;
    display: inline-block;
}
.definition-text {
    font-style: italic;
    color: #444;
}

.action-area {
    margin-top: 15px;
    text-align: right;
    display: none;
}
#copyBtn {
    background-color: #fafafa;
    color: #2e7d32;
    border: 1px solid #2e7d32;
    font-size: 14px;
    padding: 6px 16px;
}
#copyBtn:hover {
    background-color: #e8f5e9;
}

.wordnet-license-container {
    max-width: 750px;
    margin: 25px auto 0 auto;
    border-top: 1px dashed #c8e6c9;
    padding-top: 15px;
    font-family: "Hiragino Sans", "Yu Gothic", sans-serif;
    font-size: 13px;
    color: #444;
}
.wordnet-license-container .license-box {
    background: #f9fbf9;
    border: 1px solid #e0ebd3;
    border-radius: 6px;
    padding: 15px;
}
.wordnet-license-container .license-title-bar {
    font-weight: bold;
    color: #2e7d32;
    margin-bottom: 10px;
    font-size: 14px;
}
.wordnet-license-container .license-content {
    line-height: 1.7;
}
.wordnet-license-container .license-raw-text {
    background: #f5f5f5;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 10px;
    margin: 10px 0;
    font-family: "Courier New", Courier, monospace;
    font-size: 11px;
    color: #555;
    white-space: pre-wrap;
    word-break: break-all;
}
.wordnet-license-container .notice-text {
    margin-top: 10px;
    font-size: 12px;
    color: #666;
    border-left: 3px solid #ccc;
    padding-left: 8px;
}