@charset "UTF-8";
#startStopBtn {
	display: block;
	margin: 0 10px;
	text-align: center;
	color: #fff;
	font-weight: 700;
	background: linear-gradient(135deg,#F99D42 0%,#f7820e 100%);
	padding: 1.5em 0;
	transition: all .2s;
	box-sizing: border-box;
	width: 20em;
	max-width: 400px;
	line-height: 1;
	cursor: pointer;
	border-bottom: solid 3px #c96502;
	box-shadow: 0px 2px 2px rgba(0,0,0,.3);
	overflow: hidden;
	position: relative;
	border-radius: 10px;
}
#startStopBtn:hover,
#startStopBtn:focus {
	transform: scale(1.1);
	box-shadow: 0 13px 20px -3px rgba(0,0,0,.24);
}
#startStopBtn.running {
	transform: scale(1);
	box-shadow: 0 13px 20px -3px rgba(0,0,0,.24);
	opacity: 0.5;
	pointer-events: none;
}
#startStopBtn:before{
	content:"計測スタート";
}
#startStopBtn.running:before{
	content:"計測中...";
}
.st-wrap .swell-block-accordion__title {
	background: #ffbe7f !important;
	padding: 0.5em 1em !important;
	font-weight: bold;
	height: 40px;
	display: flex!important;
	margin: 0 0 20px auto!important;
	border-radius: 5px;
	transition: 0.2s ease;
}
.st-wrap span.swell-block-accordion__label {
	text-align: center;
	padding: 0;
}
.st-wrap .swell-block-accordion__title:hover {
	background: #f99d42!important;
}
.st-wrap .swell-block-accordion__body {
	border-radius: 5px;
	background: initial;
	padding: 0;
}
.st-wrap .swell-block-accordion__body .wp-block-flexible-table-block-table {
	margin-bottom: 1em!important;
}
.st-wrap .swell-block-accordion__body .c-tabBody {
	border: none!important;
	border-radius: 0 10px 10px 10px;
	padding: 1em 2em 2em!important;
}
@media screen and (max-width: 640px) {
	.st-wrap .swell-block-accordion__body .c-tabBody {
		padding: 1em!important;
	}
}
.page-id-23893.page:not(.home) .c-pageTitle {
	/*font-family: 'Noto Sans JP', sans-serif;*/
	font-weight: 900;
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
	align-items: flex-start;
	font-size: clamp(18px, 6vw, 40px);
	line-height: 1.6;
}
.page-id-23893 .c-pageTitle:after {
	content: "【約10秒】インターネットの通信速度を測定してみよう！";
	display: block;
	font-size: clamp(11px, 2.5vw, 20px);
	visibility: initial;
	/*font-family: 'Noto Sans JP', sans-serif;*/
	font-weight: 700;
}
@media screen and (max-width: 810px) {
	.page-id-23893 .c-pageTitle:after {
		width: 64%;
	}
}
@media screen and (max-width: 1230px) {
	.page-id-23893 h1.c-pageTitle {
		padding-bottom: clamp(40px,13vw,150px);
	}
}
#entry h2.speedtest-title {
	margin-bottom: 0;
	text-align: center;
}
#entry h2.speedtest-title::before {
	content: none;
}

#SpeedTest{
	text-align: center;
	padding: 2em 0 70px;
	background: #ffffff;
	border-radius: 10px;
	margin: 50px 0!important;
}
@media screen and (max-width: 640px) {
	#SpeedTest {
		padding: 2em 0 40px;
		margin: 50px 0 70px!important;
	}
}

div.testArea{
	display:inline-block;
	width:10em;
	height:8.5em;
	position:relative;
	box-sizing:border-box;
	margin: 1em .5em;
}
div.testName{
	position:absolute;
	top:-0.5em; left:0;
	width:100%;
	font-size:1.4em;
	z-index:9;
	font-weight: bold;
}
div.meterText{
	position:absolute;
	bottom:1.55em; left:0;
	width:100%;
	font-size:1.8em;
	z-index:9;
	font-weight: bold;
}
div.meterText:empty:before{
	content:"0.00";
}
div.unit{
	position:absolute;
	bottom:2em; left:0;
	width:100%;
	z-index:9;
}
div.testArea canvas{
	position:absolute;
	top:0; left:0; width:100%; height:100%;
	z-index:1;
}
div.testGroup{
	display:inline-block;
}
.st-btn-area {
	position: relative;
	display: flex;
	justify-content: center;
	align-items: center;
	align-content: center;
	top: -90px;
}
div#ipArea {
	font-size: 80%;
	color: #999;
}
#shareArea {
	/*display: none;*/
	margin-bottom: 2em;
	padding-top: 1em;
	max-width: 840px;
	transition: .3s;
}
#shareArea:not(.results) {
	margin: 0 !important;
	padding: 0 !important;
	height: 0 !important;
	display: none;
}
#shareArea.results {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	margin: 0 20px;
	padding: 0;
	height: auto;
	flex-direction: column;
	align-items: center;
	/*position: absolute;
	top: calc(50% - 8px - 90px);
	transform: translateY(-50%);
	right: calc(50% - 13px - 13em);*/
}

#shareArea a {
	display: flex;
	margin: 5px 0;
	width: 26px;
	height: 26px;
	padding: 0;
	color: #333;
	background: #fff;
	font-weight: bold;
	transition: all .2s;
	position: relative;
	border-radius: 30px;
	max-width: 280px;
	opacity: 0;
	justify-content: center;
	align-items: center;
}

#shareArea.results a{
	opacity: 1;
}

#shareArea a#SpeefTestTwitterBtn {
	background: #fff;
	border: #333 1px solid;
}
a#SpeefTestTwitterBtn:after {
	content: "SHARE";
	font-size: 12px;
	font-weight: 500;
	color: #888;
	position: absolute;
	bottom: -18px;
}
#SpeefTestTwitterBtn .c-iconList__icon:before {
	color: #333;
}
/*#shareArea a#SpeefTestFacebookBtn {
	background: #1877f2;
	border-bottom: solid 3px #1167D7;
}
#shareArea a#SpeefTestLineBtn {
	background:#06c755;
	border-bottom: solid 3px #16A34F;
}
#shareArea a#SpeefTestCopyBtn {
	background: #984fc1;
	border-bottom: solid 3px #76369A;
	cursor: pointer;
	position: relative;
}*/
#shareArea a:hover {
	text-decoration: none;
	transform: scale(1.03);
	-webkit-animation: flash 1s;
	animation: flash 1s;
}
#CopyBox {
	position: absolute;
	left: -9999px;
	opacity: 0;
}
#shareArea a#SpeefTestCopyBtn #CopySuccess {
	position: absolute;
	display: none;
	width: 11em;
	background: rgba(0,0,0,.7);
	font-size: 14px;
	padding: .5em;
	margin: auto;
	left: 0;
	right: 0;
	top: 50%;
	border: 1px solid #fff;
	transform: translateY(-50%);
}

@media all and (max-width:65em){
	body{
		/*font-size:1.5vw;*/
	}
}
@media all and (max-width:40em){
	body{
		/*font-size:0.8em;*/
	}
	div.testGroup{
		display:block;
		margin: 0 auto;
	}
	#shareArea.results {
		justify-content: center;
	}
}
.post_content{
	margin-top: 0 !important;
}

/*結果テーブル*/
#speedtest_result_table_alt {
	top: clamp(-60px,-5vw,-55px);
	height: clamp(50px,5vw,70px);
	position: absolute;
	z-index: 2;
}
#speedtest_result_table_alt td {
	border: none;
}
#speedtest_result_table_alt td img {
	width: clamp(50px,5vw,70px);
}
#speedtest_result_table {
	margin-top: 30px;
	margin-bottom: 30px;
}
#speedtest_result_table th{
	text-align: center;
}
#speedtest_result_table .judge{
	display: flex;
	justify-content: center;
	align-items: center;
	font-size: clamp(12px,4vw,15px);
}
#speedtest_result_table img{
	height: 24px;
	width: 24px;
	margin-left: clamp(1px,1vw,10px);
	object-fit: contain;
}
span.judge_text {
	width: 70%;
}
span.judge_img {
	display: flex;
}
#result_text{
	display: none;
}
#result_text.visible{
	width: fit-content;
	margin-left: auto;
	margin-right: auto;
	display: block;
}

/************************************************/
/*全体
/************************************************/
.st-wrap {
	position: relative;
	padding: 50px 0 0;
	margin-top: -80px!important;
	margin-bottom: 100px!important;
}
@media screen and (max-width: 640px) {
	.st-wrap {
		margin-top: -90px!important;
	}
}
.st-wrap:before {
	position: absolute;
	content: "";
	width: 120%;
	max-width: 1200px;
	height: 100%;
	background: #f7a34f47;
	left: 50%;
	transform: translateX(-50%);
	z-index: -1;
	border-radius: 20px;
}


/************************************************/
/*結果表示
/************************************************/
span#result_text {
	margin-top: -40px;
	margin-bottom: 50px;
}
@media screen and (max-width: 640px) {
	span#result_text {
		margin-top: -50px;
		margin-bottom: 50px;
	}
}
#result_text.result1,#result_text.result2,#result_text.result3,#result_text.result4 {
	background-repeat: no-repeat;
	background-position: bottom center;
	background-size: cover;
	width: 100%;
	max-width: 1050px;
	height: 85px;
	position: relative;
}
@media screen and (max-width: 640px) {
	#result_text.result1, #result_text.result2, #result_text.result3, #result_text.result4 {
		height: 15vw;
		max-height: 60px;
	}
}

#result_text.result1:after,#result_text.result2:after,#result_text.result3:after,#result_text.result4:after {
	position: absolute;
	content: "";
	background-repeat: no-repeat;
	background-size: contain;
}
@media screen and (max-width: 640px) {
	#result_text.result1:after,#result_text.result2:after,#result_text.result3:after,#result_text.result4:after {
		right: 5%;
		top: -30%;
	}
}

.st-wrap .c-tabList__button {
	border-radius: 5px 5px 0 0;
	background: #fffaf5!important;
}
.st-wrap .is-style-default>.c-tabList .c-tabList__button:hover,
.st-wrap .is-style-default>.c-tabList .c-tabList__button[aria-selected=true] {
	background-color: #f99d42!important;
}

/*結果1 とても速い*********************************************/
#result_text.result1 {
	background-image: url(https://www.next-company.co.jp/internet/wp-content/themes/swell_child/img/st-result1.png);
}
#result_text.result1:after {
	background-image: url(https://www.next-company.co.jp/internet/wp-content/themes/swell_child/img/st-result1-img.png);
	width: clamp(90px,20vw,172px);
	height: clamp(90px,18vw,164px);
	right: 10%;
	top: -50%;
}
@media screen and (max-width: 640px) {
	#result_text.result1:after {
		right: 0;
		top: -58%;
	}
}
@media screen and (max-width: 415px) {
	#result_text.result1:after {
		right: -3%;
	}
}

/*結果2 速い*********************************************/
#result_text.result2 {
	background-image: url(https://www.next-company.co.jp/internet/wp-content/themes/swell_child/img/st-result2.png);
}
#result_text.result2:after {
	background-image: url(https://www.next-company.co.jp/internet/wp-content/themes/swell_child/img/st-result2-img.png);
	width: clamp(100px,20vw,167px);
	height: clamp(70px,12vw,99px);
	right: 10%;
	top: -10%;
}
@media screen and (max-width: 640px) {
	#result_text.result2:after {
		right: 5%;
		top: -10%;
	}
}
@media screen and (max-width: 415px) {
	#result_text.result2:after {
		right: 0;
	}
}

/*結果3 ちょっと遅い*********************************************/
#result_text.result3 {
	background-image: url(https://www.next-company.co.jp/internet/wp-content/themes/swell_child/img/st-result3.png);
}
#result_text.result3:after {
	background-image: url(https://www.next-company.co.jp/internet/wp-content/themes/swell_child/img/st-result3-img.png);
	width: clamp(90px,29vw,152px);
	height: clamp(44px,14vw,76px);
	right: 10%;
	top: 2%;
}
@media screen and (max-width: 640px) {
	#result_text.result3:after {
		right: 5%;
		top: -12%;
	}
}
@media screen and (max-width: 415px) {
	#result_text.result3:after {
		right: 0;
	}
}

/*結果4 遅い*********************************************/
#result_text.result4 {
	background-image: url(https://www.next-company.co.jp/internet/wp-content/themes/swell_child/img/st-result4.png);
}
#result_text.result4:after {
	background-image: url(https://www.next-company.co.jp/internet/wp-content/themes/swell_child/img/st-result4-img.png);
	width: clamp(80px,21vw,129px);
	height: clamp(50px,12vw,73px);
	right: 10%;
	top: 3%;
}
@media screen and (max-width: 640px) {
	#result_text.result4:after {
		right: 3%;
		top: 3%;
	}
}


#JudgeArea {
	position: relative;
}
#JudgeArea .post_content table {
	border: none;
}
#speedtest_result_table {
	position: relative;
}
#JudgeArea .wp-block-flexible-table-block-table.wp-block-flexible-table-block-table>table tr th {
	background-color: #f99d42;
	height: 50px;
}
#JudgeArea .wp-block-flexible-table-block-table.wp-block-flexible-table-block-table>table tr th,
#JudgeArea .wp-block-flexible-table-block-table.wp-block-flexible-table-block-table>table tr td {
	border-width: 2px;
	border-color: #fde8d3;
	padding: 14px;
}
#speedtest_result_table th.top-left-radius {
	border-radius: 10px 0 0 0;
}
#speedtest_result_table th.top-right-radius {
	border-radius: 0 10px 0 0;
}
#speedtest_result_table td.bottom-left-radius {
	border-radius: 0 0 0 10px;
}
#speedtest_result_table td.bottom-right-radius {
	border-radius: 0 0 10px 0;
}


#speedtest_result_table.st-flat_table {
	position: absolute;
	text-align: right;
	bottom: 68%;
	border: none!important;
	z-index: 2;
}
@media screen and (min-width: 1000px) {
	#speedtest_result_table.st-flat_table {
		bottom: 60%;
	}
}
@media screen and (max-width: 640px) {
	#speedtest_result_table.st-flat_table {
		bottom: 72%;
		right: -3%;
	}
}
@media screen and (min-width: 500px) and (max-width: 640px) {
	#speedtest_result_table.st-flat_table {
		bottom: 60%;
	}
}
#speedtest_result_table.st-flat_table td {
	border: none!important;
}
#speedtest_result_table img.st-flat {
	width: clamp(48px,9vw,78px);
	height: clamp(56px,10vw,88px);
	object-fit: contain;
}

/* アニメーション 下から */

#result_text.visible{
animation-name:fadeUpAnime;
animation-duration:0.3s;
animation-fill-mode:forwards;
opacity:0;
}

@keyframes fadeUpAnime{
  from {
    opacity: 0;
	transform: translateY(100px);
  }

  to {
    opacity: 1;
	transform: translateY(0);
  }
}

/* アニメーション 右から1 */
#result_text.visible.result1:after,
#result_text.visible.result2:after{
animation-name:fadeRightAnime;
animation-duration: 0.3s;
animation-delay: 0.3s;
animation-fill-mode:forwards;
opacity:0;
}

@keyframes fadeRightAnime{
  from {
    opacity: 0;
	transform: translateX(100px);
  }

  to {
    opacity: 1;
	transform: translateX(0);
  }
}

/* アニメーション 右から2 */
#result_text.visible.result3:after,
#result_text.visible.result4:after{
animation-name:fadeRightAnime;
animation-duration: 2s;
animation-delay: 0.3s;
animation-fill-mode:forwards;
opacity:0;
}

@keyframes fadeRightAnime{
  from {
    opacity: 0;
	transform: translateX(100px);
  }

  to {
    opacity: 1;
	transform: translateX(0);
  }
}

/************************************************/
/*記事ページ内
/************************************************/
.single #main_content .p-blogParts.post_content {
	margin: 3em auto!important;
}
.single .st-wrap:before {
	background: initial;
}
.single .blogparts-st-wrap {
	border-radius: 10px;
	background: #fff4e7;
	padding: 0 1em 1em;
	border: solid 1px #ffc891;
}
.single .post_content h2.parts-head {
	border-radius: 10px 10px 0 0;
	background: initial !important;
	color: #222 !important;
	font-size: clamp(1.5rem, 6vw, 36px);
	font-weight: 900;
	text-align: center;
	margin: 0 !important;
}
.single .post_content h2.parts-head small {
	font-size: clamp(1rem, 3vw, 20px);
}
.single .st-btn-area {
	top: -70px;
}
.single #SpeedTest {
	margin: 30px 0!important;
}
.single div.testArea {
	margin: 0 0.5em!important;
	margin-bottom: 1em !important;
}
.single .post_content div>:last-child.testArea {
	margin-bottom: 1em!important;
}
.single #result_text.result1:after,.single #result_text.result2:after,
.single #result_text.result3:after,.single #result_text.result4:after {
	right: 0;
}
.single #speedtest_result_table img.st-flat {
	width: clamp(48px,8vw,70px);
	height: clamp(56px,9vw,80px);
	top: -5px;
}
#main_content #JudgeArea.post_content {
	margin: 0 auto 3em !important;
}
@media screen and (max-width: 640px) {
	.single #SpeedTest {
		margin: 40px 0!important;
	}
	.post_content .blogparts-st-wrap h2:before {
		content: none;
	}
	.single #result_text.result1, .single #result_text.result2, 
	.single #result_text.result3, .single #result_text.result4 {
		height: 13vw;
	}
	.single #result_text.result1:after {
		width: clamp(70px,20vw,172px);
		height: clamp(70px,18vw,164px);
	}
	.single div.testName {
		top: -0.8em;
	}
	.single div.meterText {
		bottom: 1.1em;
	}
	.single div.unit {
		bottom: 1em;
	}
	.single .st-btn-area {
		align-items: flex-start;
	}
	.single #JudgeArea table tr th {
		font-size: 80%;
	}
	.single #result_text.result3:after {
		right: -2%;
	}
}
@media screen and (max-width: 600px) {
	.single div.testArea {
		width: 34vw;
		height: 30vw;
	}
}