@charset "utf-8";

.cse-tabs {
    display: flex;
    margin-bottom: 20px;
    border-bottom: 2px solid #e0e0e0;
}
.cse-tab {
    padding: 10px 20px;
    cursor: pointer;
    font-weight: bold;
    margin-right: 5px;
    border-radius: 5px 5px 0 0;
    background-color: #f5f5f5;
    border: 1px solid #e0e0e0;
    border-bottom: none;
    position: relative;
    transition: all 0.2s ease;
}
.cse-tab:hover {
    background-color: #f0f0f0;
}
.cse-tab.active {
    background-color: #ffffff;
    color: #333;
    border-bottom: 2px solid #ffffff;
    margin-bottom: -2px;
    box-shadow: 0 -2px 5px rgba(0,0,0,0.05);
}
.cse-tab.active:after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background-color: #3498db;
    border-radius: 3px 3px 0 0;
}
.cse-tab-content {
    display: none;
    background-color: #ffffff;
    padding: 20px;
    border-radius: 0 0 5px 5px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}
.cse-tab-content.active {
    display: block;
}
.ai-search-container {
    margin-top: 15px;
}
.ai-search-result {
    margin-top: 20px;
    padding: 18px;
    background-color: #fafafa;
    border-radius: 5px;
    border: 1px solid #e6e6e6;
    box-shadow: 0 1px 3px rgba(0,0,0,0.03);
}
.ai-search-result h3 {
    color: #3498db;
    margin-top: 0;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}
.ai-search-loading {
    display: none;
    text-align: center;
    margin: 20px 0;
}

/* CSSローディングインジケーター */
.ai-loader {
    display: inline-block;
    position: relative;
    width: 50px;
    height: 50px;
    margin: 15px auto;
}

.ai-loader div {
    position: absolute;
    border: 4px solid #3498db;
    opacity: 1;
    border-radius: 50%;
    animation: ai-loader 1.5s cubic-bezier(0, 0.2, 0.8, 1) infinite;
}

.ai-loader div:nth-child(2) {
    animation-delay: -0.5s;
}

.nhb-ai-search-container .wppost h3{
	margin: 0 !important;
}

@keyframes ai-loader {
    0% {
        top: 24px;
        left: 24px;
        width: 0;
        height: 0;
        opacity: 1;
    }
    100% {
        top: 0px;
        left: 0px;
        width: 48px;
        height: 48px;
        opacity: 0;
    }
}

/***************************************************************
Page Abuse Checker
****************************************************************/

.cse {
	border: solid 1px #e0e0e0;
	background: #f7f7f7;
	border-radius: 5px;
	padding: 30px;
	box-sizing: border-box;
	box-shadow: 0 2px 5px rgba(0,0,0,0.03);
}
.cse-title {
	margin-bottom: 25px;
	font-size: 24px;
	display: flex;
	align-items: center;
}

.cse-title__img {
	margin: 0 15px 0 0;
}

.cse-content-word {
	margin-bottom: 15px;
}

.cse-content-word,
.cse-content-site {
	display: flex;
	align-items: center;
}
.cse-content-word__title,
.cse-content-site__title {
	font-weight: bold;
	min-width: 120px;
	margin-right: 0.5em;
	text-align: right;
}
.cse-content-word__input {
	border: solid 1px #dfdfdf;
	height: 40px;
	width: 100%;
	font-size: 16px;
	box-sizing: border-box;
	border-radius: 3px;
	padding: 5px 10px;
}
.cse-content-site-select_wrap-select {
	padding: 5px 10px;
	margin-right: 1em;
	border-radius: 3px;
	border: solid 1px #dfdfdf;
	height: 40px;
	width: 220px;
	font-weight: bold;
	background: #fff;
}
.cse-content-site-select_wrap::after {
	width: 6px;
	height: 6px;
	border-top: 2px solid #000;
	border-right: 2px solid #000;
	-webkit-transform: rotate(135deg);
	transform: rotate(135deg);
	content: "";
	position: absolute;
	right: 32px;
	top: 16px;
	pointer-events: none;
}
.cse-content-site-select_wrap {
	position: relative;
}
.cse-content-site__button {
	display: inline-block;
	width: 100%;
	height: 40px;
	font-size: 17px;
	transition: all 0.2s ease;
	border-radius: 4px;
}
.cse-content-result {
	margin-top: 30px;
}

.csedomain-content-word__title {
	font-weight: bold;
	min-width: 120px;
	margin-right: .5em;
	text-align: left;
}

.csedomain-content-word__input {
	border: solid 1px #dfdfdf;
	height: 40px;
	width: 100%;
	font-size: 16px;
	box-sizing: border-box;
	border-radius: 3px;
	margin: 0 10px;
	padding: 5px 10px;
}

.csedomain {
	margin-top: 40px;
	margin-bottom: 30px;
}

.csedomain-content-site__button {
	width: 75%;
	height: 40px;
	font-size: 17px;
	margin-right: 12px;
	margin-bottom: 40px;
}
.csedomain-content-result {
	font-size: 24px;
	font-weight: bold;
	color: #da9d09;
	border-bottom: solid 1px #dfdfdf;
	border-top: solid 1px #dfdfdf;
	margin-bottom: 16px;
}
@media screen and (max-width: 767px) {
	.cse {
		padding: 15px;
	}
	.cse-title {
		align-items: flex-start;
	}
	.cse-content-word,
	.cse-content-site {
		display: block;
	}
	.cse-content-word__title,
	.cse-content-site__title {
		text-align: left;
		margin-bottom: 10px;
	}
	.cse-content-site-select_wrap::after {
		right: 5%;
	}
	.cse-content-site-select_wrap-select {
		width: 100%;
	}
	.cse-content-site__button {
		margin-top: 20px;
	}
}