﻿html:not(.responsive) {
	min-width: 1000px;
	/* viewport */
}



@font-face {
    font-family: 'a-otf_futo_go_b101_probold';
    src: url('../fonts/a-otffutogob101probold-webfont.woff2') format('woff2'),
         url('../fonts/a-otffutogob101probold-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;

}

@font-face {
  font-display: swap;
  font-family: 'FutoGo';
  font-style: normal;
  font-weight: bold;
  src: url('../fonts/A-OTFFutoGoB101ProBold.otf') format('opentype');
}


@font-face {
  font-display: swap;
  font-family: 'MidashiGo';
  font-style: normal;
  font-weight: bold;
  src: url('../fonts/1738113972_A-OTF-MidashiGoPr5-MB31.otf') format('opentype');
}
@font-face {
  font-display: swap;
  font-family: 'gothic';
  font-style: normal;
  font-weight: 500;
  src: url('../fonts/A-OTFGothicBBBPr5Medium.otf') format('opentype');
}



:root {
  --primary-cl1: #005952; 
  --primary-cl2: #FEDF90; 
  --primary-cl3: #E2D69B; 
}

/*=============================================
 * body
 *=============================================*/

body {
	color: #000;
	font-family: 'FutoGo';
	  font-style: normal;
	  font-weight: 600;
	font-size: 35px;
	line-height: 1.3;
	letter-spacing: 0em;
	min-width: inherit;
	min-height: inherit;
	max-height: 100%;
}
@media only screen and (max-width: 767px) {
body {
        font-size: 3.6vw;
        line-height: 1.6;
}
}



/*=============================================
 * fonts - DON'T EDIT
 *=============================================*/

.fnt-mincho {
	font-family: "游明朝", YuMincho, "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN", "HG明朝E", "メイリオ", Meiryo, "ＭＳ Ｐ明朝", "ＭＳ 明朝", serif;
}

.fnt-meiryo {
	font-family: "メイリオ", Meiryo, "ヒラギノ角ゴシックPro", "ＭＳ ゴシック", "Hiragino Kaku Gothic Pro", Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
}

.fnt-gothic {
	font-family: "游ゴシック", YuGothic, "ヒラギノ角ゴ Pro", "Hiragino Kaku Gothic Pro", "メイリオ", "Meiryo", Osaka, 'ＭＳ Ｐゴシック', 'MS PGothic', sans-serif;
}

.fnt-udshigo {
	font-family: "a-otf-ud-shin-go-pr6n", sans-serif;
	font-weight: 600;
	font-style: normal;	
}

.fnt-fugo {
	font-family: 'FutoGo';	
}
.fnt-midashi {
	font-family: 'MidashiGo';
}
.fnt-din {
	font-family: "din-2014", sans-serif;
	font-weight: 600;
	font-style: normal;	
}

.fnt-gothic {
	 font-family: 'gothic';
  font-style: normal;
  font-weight: 500;
}



/*=============================================
 * <main>
 *=============================================*/

main {
	clear: both;
	width: 100%;
	position: relative;
	overflow: hidden;
}


/*=============================================
 * <header>
 *=============================================*/

header {
	position: relative;
	width: 100%;
	z-index: 100;
}


.sp {
	display: none;
}

.tb {
	display: none;
}


@media only screen and (max-width: 767px) {

	.sp {
		display: block;
	}

	.pc {
		display: none;
	}


	#head-top {
		flex-wrap: wrap;
	}



	.hamberger-btn {
		position: fixed;
		top: 20px;
		right: 0;
		width: 103px;
		height: 45px;
		display: block;
		z-index: 201;
		transition: all 0.4s ease;
		overflow: hidden;
		background: url(../img/shared/btn_h.jpg) no-repeat;
		background-size: cover;
	}

	.hamberger-btn span {
		width: 35px;
		height: 3px;
		position: absolute;
		top: 50%;
		transform: translateY(-50%);
		left: 0;
		background: #0092d2;
		display: none;
	}

	.hamberger-btn span::before,
	.hamberger-btn span::after {
		width: 35px;
		height: 3px;
		position: absolute;
		left: 0;
		background: #0092d2;
		content: "";
		display: none;
	}

	.hamberger-btn span::after {
		top: -10px;
	}

	.hamberger-btn span::before {
		top: 10px;
	}

	.nav-header .sub-nav::before {
		display: none;
	}

	.menu-open .hamberger-btn {
		background: url(../img/shared/close.jpg) no-repeat center center;
		background-size: cover;
	}

	.menu-open .hamberger-btn span {
		opacity: 0;
	}

	.nav-header {
		width: 100%;
		height: 100%;
		background: url(../img/shared/sp_bg_nav.jpg) repeat center center;
		position: fixed;
		top: 0;
		left: -100%;
		transition: left 0.5s ease;
		opacity: 1 !important;
		visibility: visible;
		z-index: 99;
		display: block;
		overflow: auto;
		padding: 50px 0 10px;
	}

	.nav-header .box,
	.nav-header .nav {
		width: 100%;
		margin: auto;
		display: flex;
		justify-content: space-between;
	}

	.nav-header .box {
		flex-wrap: wrap;
		box-sizing: border-box;
		padding: 30px 8% 5%;
		max-width: 500px;
		justify-content: center;
	}

	.nav-header .box .lg-box a,
	.nav-header .box .lg-box span {
		color: #FFF;

	}

	.nav-header .box p {
		margin-bottom: 20px;
	}

	.menu-open .nav-header {
		left: 0%;
		flex-direction: column-reverse;
	}

	.nav-header .nav {
        width: 280px;
        margin: auto;
        flex-wrap: wrap;
        justify-content: center;
        padding-top: 0;
        position: relative;
        margin-bottom: 52px;
	}

	.nav-header .nav li {
		margin: 25px 0 0 0;
	}

	.nav-header .nav li:last-child {
		margin-right: 0;
	}

	.nav-header a.nav-main {
        padding: 0px 10px;
        font-size: 17px;
        font-family: 'Noto Serif JP', serif;
        text-align: left;
        justify-content: center;
        width: 40px;
        height: 140px;
        letter-spacing: 0.2em;
        cursor: vertical-text;
        writing-mode: vertical-rl;
        -o-writing-mode: vertical-rl;
        -ms-writing-mode: vertical-rl;
        -ms-writing-mode: tb-rl;
        -moz-writing-mode: vertical-rl;
        -webkit-writing-mode: vertical-rl;
        text-orientation: upright;
        word-wrap: break-word;
	}

	.nav-header .sub-nav span {
		padding: 0 10px;
		font-size: 16px;
	}

	.nav-header li.active a.nav-main::before {
		width: 1px;
		height: 11px;
		background: #FFF;
		content: "";
		position: absolute;
		bottom: inherit;
		top: -30px;
		left: 54%;
		opacity: 1;
	}

	.nav-header li.active a.nav-main::after,
	.nav-header li:hover a.nav-main::after,
	.nav-header li.active.sub-nav::after {
		opacity: 0;
		display: none;
	}
}

@media only screen and (device-width : 375px) and (device-height : 812px) and (-webkit-device-pixel-ratio : 3) {
	.nav-header {
		width: 100%;
		height: 700px;
/*		background: url(../img/shared/sp_bg_nav.jpg) repeat center center;*/
		position: fixed;
		top: 0;
		left: -100%;
		transition: left 0.5s ease;
		opacity: 1 !important;
		visibility: visible;
		z-index: 99;
		display: flex;
		overflow: auto;
		padding: 50px 0 180px;
	}
}

@media only screen and (min-width: 999px) {
	body {

		position: static !important;
		top: 0 !important;
	}
}

.thanks-txt {
	text-align: center;
	padding: 50px 20px 50px;
}

/*=============================================
 * <footer>
 *=============================================*/


.txt_ft {
	text-align: center;
	font-size: 12px;
	color: #a7a7a7;
}

.txt_ft a {
	text-decoration: underline;
}

.txt_ft a:hover {
	text-decoration: none;
}

address {
	padding-top: 0;
	line-height: 1;
}

#pagetop {
	cursor: pointer;
	transition: opacity 0.1s ease;
	position: fixed;
	bottom: 10px;
	right: 10px;
	opacity: 0;
}

#socialbuttons {
	width: 350px;
	margin: inherit;
}

.lg-box {
	display: none;
}


/*=============================================
 * copyright
 *=============================================*/

@media only screen and (max-width: 999px) {

	#sns-box {
		padding: 15px 20px;
		line-height: 22px;
		font-size: 12px;
	}

	.btn-footer {
		background: #0092d2;
		position: fixed;
		width: 100%;
		bottom: 0;
		left: 0;
		z-index: 99;
	}

	.btn-footer a {
		display: block;
		padding: 5px 20px;
		color: #FFF;
		text-decoration: none;
		font-weight: bold;
		text-align: center;
	}

	.txt_ft {
		padding-top: 0px;
		text-align: center;
	}

	#pagetop {
		bottom: 55px;
		width: 50px;
		z-index: 99;
	}

	#fx-sp {
		position: fixed;
		bottom: 0;
		left: 0;
		width: 100%;
		height: 50px;
		background: #71ad9e;
		z-index: 99;
		opacity: 0;
		transition: opacity 0.3s ease;
	}

	.fixed-btn #fx-sp {
		opacity: 1;
	}

	#fx-sp ul {
		display: flex;
	}

	#fx-sp ul li {
		width: 33.33333%;
		height: 50px;
	}

	#fx-sp ul li:nth-child(2) {
		border-left: 1px solid #b3d1c9;
		border-right: 1px solid #b3d1c9;
	}

	#fx-sp ul li a {
		width: 100%;
		height: 100%;
		display: flex;
		justify-content: center;
		align-items: center;
		font-size: 13px;
		color: #FFF;
		font-family: 'Noto Serif JP', serif;
	}

	#fx-sp ul li a img {
		width: 16px;
	}

	#fx-sp ul li:nth-child(3) a img {
		width: 10px;
		margin-right: 5px;
	}

	address {

	}

	.lg-box {
		display: block;
	}

	.js-scroll-sp {
		height: 100vh;
		width: 100%;
		position: fixed;
		box-sizing: border-box;
		overflow: auto;
		top: 0;
		left: -100%;
		        z-index: 123;
	}


	.menu-open .js-scroll-sp {
		left: 0;
	}

}

@media only screen and (max-width: 374px) {
	#sns-box {
		font-size: 10px;
	}
}

@media only screen and (max-width: 767px) {
	.nav-header .box {
		padding: 48px 8% 15%;
	}

	.nav-header .box .lg-box a,
	.nav-header .box .lg-box span {
		color: #FFF;
		font-size: 12px;

	}
}

/* ==========================================================================
   css popup
   ========================================================================== */
/* Hide scroll bar */
html.remodal-is-locked {
	overflow: hidden;
	-ms-touch-action: none;
	touch-action: none;
}

/* Anti FOUC */
.remodal,
[data-remodal-id] {
	display: none;
}

/* Necessary styles of the overlay */
.remodal-overlay {
	position: fixed;
	z-index: 9999;
	top: -5000px;
	right: -5000px;
	bottom: -5000px;
	left: -5000px;
	display: none;
}

/* Necessary styles of the wrapper */
.remodal-wrapper {
	position: fixed;
	z-index: 10000;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	display: none;
	overflow: auto;
	text-align: center;
	-webkit-overflow-scrolling: touch;
}

.remodal-wrapper:after {
	display: inline-block;
	height: 100%;
	margin-left: -0.05em;
	content: "";
}

/* Fix iPad, iPhone glitches */
.remodal-overlay,
.remodal-wrapper {
	-webkit-backface-visibility: hidden;
	backface-visibility: hidden;
}

/* Necessary styles of the modal dialog */
.remodal {
	position: relative;
	outline: none;
	-webkit-text-size-adjust: 100%;
	-ms-text-size-adjust: 100%;
	text-size-adjust: 100%;
}

.remodal-is-initialized {
	/* Disable Anti-FOUC */
	display: inline-block;
}

/* Default theme styles for the background */
.remodal-bg.remodal-is-opening,
.remodal-bg.remodal-is-opened {
	-webkit-filter: blur(3px);
	filter: blur(3px);
}

/* Default theme styles of the overlay */
.remodal-overlay {
	background: rgba(0, 0, 0, 0.95);
}

.remodal-overlay.remodal-is-opening,
.remodal-overlay.remodal-is-closing {
	-webkit-animation-duration: 0.3s;
	animation-duration: 0.3s;
	-webkit-animation-fill-mode: forwards;
	animation-fill-mode: forwards;
}

.remodal-overlay.remodal-is-opening {
	-webkit-animation-name: remodal-overlay-opening-keyframes;
	animation-name: remodal-overlay-opening-keyframes;
}

.remodal-overlay.remodal-is-closing {
	-webkit-animation-name: remodal-overlay-closing-keyframes;
	animation-name: remodal-overlay-closing-keyframes;
}

/* Default theme styles of the wrapper */
.remodal-wrapper {
	padding: 10px 10px 0;
}

/* Default theme styles of the modal dialog */
.remodal {
	box-sizing: border-box;
	width: 100%;
	padding: 22px;
	margin-bottom: 10px;
	-webkit-transform: translate3d(0, 0, 0);
	transform: translate3d(0, 0, 0);
	color: #FFF;
}

.remodal.remodal-is-opening,
.remodal.remodal-is-closing {
	-webkit-animation-duration: 0.3s;
	animation-duration: 0.3s;
	-webkit-animation-fill-mode: forwards;
	animation-fill-mode: forwards;
}

.remodal.remodal-is-opening {
	-webkit-animation-name: remodal-opening-keyframes;
	animation-name: remodal-opening-keyframes;
}

.remodal.remodal-is-closing {
	-webkit-animation-name: remodal-closing-keyframes;
	animation-name: remodal-closing-keyframes;
}

/* Vertical align of the modal dialog */
.remodal,
.remodal-wrapper:after {
	vertical-align: middle;
}

/* Close button */
.remodal-close {
	position: absolute;
	bottom: 10px;
	right: 50%;
	display: block;
	overflow: visible;
	margin: 0 -207px 0 0;
	padding: 0;
	cursor: pointer;
	-webkit-transition: color 0.2s;
	transition: color 0.2s;
	text-decoration: none;
	color: #95979c;
	border: 0;
	outline: 0;
	background: url(../img/index/close_btn.png) no-repeat;
	width: 413px;
	height: 78px;
}

.remodal-close:before {
	display: none !important;
}

@media only screen and (max-width: 767px) {
	.remodal-wrapper {
		padding: 45px 2px 45px;
	}

	.remodal-close {
/*		background: url(../img/index/close_btn.png) no-repeat center bottom;*/
		background-size: 100% auto;
		width: 280px;
		height: 78px;
		margin: 0 -140px 0 0;
	}

	.remodal {
		padding: 50px 22px 30px;
	}

	.remodal-close:before {
		font-size: 35px !important;
	}

	/* .js-scroll-sp {
		overflow-y: auto;
		width: 100%;
		height: 100vh;
		padding-bottom: 100px;
		position: relative;
	} */
}
/* ==========================================================================
   end css popup
   ========================================================================== */
#popup1 h2 {
	font-size: 24px;
	position: relative;
	padding: 20px 0;
	line-height: 40px;
	overflow: hidden;
}

#popup1 h2 span {
	font-size: 32px;
	display: block;
}

#popup1 h3 {
	font-size: 24px;
	position: relative;
	padding: 0px 0;
	line-height: 40px;
	margin: 80px 0 30px;
}

#popup1 h3 span {
	font-size: 32px;
	display: block;
	position: relative;
}

#popup1 h3::before {
	background: #FFF;
	height: 1px;
	width: 30%;
	content: '';
	position: absolute;
	right: 0;
	top: 18px;
	z-index: -1;
}

.note-pp {
	padding: 50px 0 100px;
	text-align: center;
}

#popup1 h3::after {
	background: #FFF;
	height: 1px;
	width: 30%;
	content: '';
	position: absolute;
	left: 0;
	top: 18px;
	z-index: -1;
}

#popup1 h2::before {
/*	background: url(../img/index/bg_tbb.jpg) repeat top center;*/
	height: 100%;
	width: 200%;
	content: '';
	position: absolute;
	right: 0;
	top: 0;
	z-index: -1;
}

#popup1 h2.is-ttl-pp {
	margin: 20px 0 30px;
}

#popup1 h2.is-ttl-pp::before {
/*	background: url(../img/index/bg_tbb.jpg) repeat;*/
	height: 100%;
	width: 200%;
	content: '';
	position: absolute;
	right: inherit;
	left: 0;
	top: 0;
	z-index: -1;
}

#popup1 .list {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
}

#popup1 .list h4 {
	text-align: center;
	font-size: 22px;
	padding: 10px 0 30px;
}

#popup1 .list h4.top {
	margin-top: 40px;
}

#popup1 .list .item {
	width: 49%;
}

#popup1 .list dl {
	padding: 10px 0;
	border-bottom: 1px solid rgba(255, 255, 255, 0.5);
	font-size: 15px;
	line-height: 25px;
	display: flex;
	justify-content: space-between;
	letter-spacing: 0.05em;
}

#popup1 .list dl dd {
	width: 105px;
	text-align: right;
}

#popup1 .list dl dt {
	width: calc(100% - 105px);
	text-align: left;
}

.pp_box li {
	padding-left: 20px;
	position: relative;
	text-align: left;
}

.pp_box li::before {
	width: 12px;
	height: 12px;
	background: #7abcad;
	position: absolute;
	top: 10px;
	left: 0;
	content: "";
}

.pp_box li.none::before {
	display: none;
}

.pp_box .text-list li {
	line-height: 24px;
	margin-bottom: 25px;
}

.pp_box .text-list li::before {
	top: 6px;
}

@media only screen and (max-width: 767px) {
	#popup1 h2 {
		font-size: 20px;
		padding: 15px 0;
		line-height: 36px;
	}

	#popup1 h2 span {
		font-size: 28px;
		display: block;
	}

	#popup1 h3 {
		font-size: 18px;
		position: relative;
		padding: 0px 0;
		line-height: 36px;
		margin: 50px 0 20px;
	}

	#popup1 h3 span {
		font-size: 28px;
	}

	#popup1 h3::before,
	#popup1 h3::after {
		width: 15%;
	}

	#popup1 .list .item {
		width: 100%;
		margin-bottom: 40px;
	}

	#popup1 .list dl {
		font-size: 14px;
	}

	.note-pp {
		padding: 20px 0 70px;
		text-align: center;
	}
}


.remodal-close img {
	width: 100%;
	height: auto;
}

.remodal-close:hover,
.remodal-close:focus {
	color: #2b2e38;
}

.remodal-close:before {
	font-family: Arial, "Helvetica CY", "Nimbus Sans L", sans-serif !important;
	font-size: 25px;
	line-height: 35px;
	position: absolute;
	top: 0;
	left: 0;
	display: block;
	width: 35px;
	content: "\00d7";
	text-align: center;
}

/* Dialog buttons */
.remodal-confirm,
.remodal-cancel {
	font: inherit;
	display: inline-block;
	overflow: visible;
	min-width: 110px;
	margin: 0;
	padding: 12px 0;
	cursor: pointer;
	-webkit-transition: background 0.2s;
	transition: background 0.2s;
	text-align: center;
	vertical-align: middle;
	text-decoration: none;
	border: 0;
	outline: 0;
}

.remodal-confirm {
	color: #fff;
	background: #81c784;
}

.remodal-confirm:hover,
.remodal-confirm:focus {
	background: #66bb6a;
}

.remodal-cancel {
	color: #fff;
	background: #e57373;
}

.remodal-cancel:hover,
.remodal-cancel:focus {
	background: #ef5350;
}

/* Remove inner padding and border in Firefox 4+ for the button tag. */
.remodal-confirm::-moz-focus-inner,
.remodal-cancel::-moz-focus-inner,
.remodal-close::-moz-focus-inner {
	padding: 0;
	border: 0;
}

/* Keyframes
	 ========================================================================== */
@-webkit-keyframes remodal-opening-keyframes {
	from {
		-webkit-transform: scale(1.05);
		transform: scale(1.05);
		opacity: 0;
	}

	to {
		-webkit-transform: none;
		transform: none;
		opacity: 1;
		-webkit-filter: blur(0);
		filter: blur(0);
	}
}

@keyframes remodal-opening-keyframes {
	from {
		-webkit-transform: scale(1.05);
		transform: scale(1.05);
		opacity: 0;
	}

	to {
		-webkit-transform: none;
		transform: none;
		opacity: 1;
		-webkit-filter: blur(0);
		filter: blur(0);
	}
}

@-webkit-keyframes remodal-closing-keyframes {
	from {
		-webkit-transform: scale(1);
		transform: scale(1);
		opacity: 1;
	}

	to {
		-webkit-transform: scale(0.95);
		transform: scale(0.95);
		opacity: 0;
		-webkit-filter: blur(0);
		filter: blur(0);
	}
}

@keyframes remodal-closing-keyframes {
	from {
		-webkit-transform: scale(1);
		transform: scale(1);
		opacity: 1;
	}

	to {
		-webkit-transform: scale(0.95);
		transform: scale(0.95);
		opacity: 0;
		-webkit-filter: blur(0);
		filter: blur(0);
	}
}

@-webkit-keyframes remodal-overlay-opening-keyframes {
	from {
		opacity: 0;
	}

	to {
		opacity: 1;
	}
}

@keyframes remodal-overlay-opening-keyframes {
	from {
		opacity: 0;
	}

	to {
		opacity: 1;
	}
}

@-webkit-keyframes remodal-overlay-closing-keyframes {
	from {
		opacity: 1;
	}

	to {
		opacity: 0;
	}
}

@keyframes remodal-overlay-closing-keyframes {
	from {
		opacity: 1;
	}

	to {
		opacity: 0;
	}
}

/* Media queries
	 ========================================================================== */
@media only screen and (min-width: 641px) {
	.remodal {
		max-width: 999px;
	}
}

@media only screen and (max-width: 641px) {
	.pp_box h3 {
		font-size: 5vw;
		padding: 20px 0 25px 76px;
		background: url(../img/index/icon_ttl.jpg) no-repeat left center;
		background-size: 60px auto;
		border-bottom: 1px solid #7abcad;
		width: 90%;
		text-align: left;
		margin: 30px 5% 20px;
	}
}

/* IE8
	 ========================================================================== */
.lt-ie9 .remodal-overlay {
	background: #2b2e38;
}

.lt-ie9 .remodal {
	width: 700px;
}

/* ==========================================================================
	 end css popup
	 ========================================================================== */


.ob-img {
    background-size: cover;
    background-position: center center;
    position: relative;
}

.ob-img img {
    object-fit: cover;
    width: 100% !important;
    height: 100% !important;
}



@media only screen and (min-width: 768px) {
	.d__flex {
		display: -webkit-flex;
		display: -moz-flex;
		display: -ms-flex;
		display: -o-flex;
		display: flex;
	}
	.d__flex.jus {
		justify-content: space-between;
	}
	.ob-img img {
		position: absolute;
		top: 0px;
		left: 0px;
		right: 0px;
		bottom: 0px;
	}
}


.ttl-common {
  font-size: 28px;
  line-height: 30px;
  letter-spacing: 0.15em;
}

#js-move .js-box {
  -webkit-transition: all 2s cubic-bezier(0.165, 0.84, 0.44, 1);
  -moz-transition: all 2s cubic-bezier(0.165, 0.84, 0.44, 1);
  -ms-transition: all 2s cubic-bezier(0.165, 0.84, 0.44, 1);
  transition: all 2s cubic-bezier(0.165, 0.84, 0.44, 1);
  -webkit-transform: scale(0.9);
  -moz-transform: scale(0.9);
  -ms-transform: scale(0.9);
  transform: scale(0.9);
  opacity: 0;
}

#js-move .js-box.action {
  -webkit-transform: scale(1);
  -moz-transform: scale(1);
  -ms-transform: scale(1);
  transform: scale(1);
  opacity: 1;
}

#js-move {
  height: auto !important;
}


.basic a {
  position: relative;
  cursor: pointer;
}

.basic a svg {
  position: absolute;
  top: 0;
  left: 0;
}

.basic a svg rect {
  fill: none;
  stroke: #000;
  stroke-width: 1;
  stroke-dasharray: 400, 0;
  -webkit-transition: all 0.8s ease-in-out;
  -moz-transition: all 0.8s ease-in-out;
  -ms-transition: all 0.8s ease-in-out;
  -o-transition: all 0.8s ease-in-out;
  transition: all 0.8s ease-in-out;
}

.basic a:hover {
  stroke: #000;
}

.basic a:hover svg {
  position: absolute;
  top: 0;
  left: 0;
}

.basic a:hover svg rect {
  stroke-width: 2;
  stroke-dasharray: 108, 650;
  stroke-dashoffset: 115;
  -webkit-transition: all 0.8s ease-in-out;
  -moz-transition: all 0.8s ease-in-out;
  -ms-transition: all 0.8s ease-in-out;
  -o-transition: all 0.8s ease-in-out;
  transition: all 0.8s ease-in-out;
}

@media only screen and (max-width: 999px) {
  .basic a {
    position: relative;
    cursor: pointer;
    width: 290px;
    height: 55px;
  }

  .basic a svg {
    position: absolute;
    top: 0;
    left: 0;
    width: 290px;
    height: 55px;
  }

  .basic a svg rect {
    fill: none;
    stroke: #000;
    stroke-width: 1;
    stroke-dasharray: 400, 0;
    -webkit-transition: all 0.8s ease-in-out;
    -moz-transition: all 0.8s ease-in-out;
    -ms-transition: all 0.8s ease-in-out;
    -o-transition: all 0.8s ease-in-out;
    transition: all 0.8s ease-in-out;
  }

  .basic a:hover {
    stroke: #000;
  }

  .basic a:hover svg {
    position: absolute;
    top: 0;
    left: 0;
    width: 290px;
    height: 55px;
  }

  .basic a:hover svg rect {
    stroke-width: 2;
    stroke-dasharray: 108, 650;
    stroke-dashoffset: 115;
    -webkit-transition: all 0.8s ease-in-out;
    -moz-transition: all 0.8s ease-in-out;
    -ms-transition: all 0.8s ease-in-out;
    -o-transition: all 0.8s ease-in-out;
    transition: all 0.8s ease-in-out;
  }
}


