@charset "utf-8";

/*
Theme Name: 宇部市プレミアム付商品券テーマ
*/



html, body, div, span, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, abbr, address, cite, code, del, dfn, em, img, ins, kbd, q, samp, small, strong, sub, sup, var, b, i, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, figcaption, figure, footer, header, hgroup, menu, nav, section, summary, time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  outline: 0;
  font-size: 100%;
  vertical-align: baseline;
  background: transparent;
}
ul {
  list-style-type: none;
}
a {
  -webkit-transition: 0.2s ease-in-out;
  transition: 0.2s ease-in-out;
  text-decoration: none;
}
img {
  max-width: 100%;
}
body {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 500;
	font-size: 15px;
}

p{
	margin-bottom: 1em;
}

@media print, screen and (min-width: 768px){
	
body {
	font-size: 16px;
}	
	
}


/*
font-family: "Zen Maru Gothic", sans-serif;
font-family: "Noto Sans JP", sans-serif;
font-family: "Noto Serif JP", serif;
*/

  @keyframes fadeIn {
    0% {
      opacity: 0
    }

    100% {
      opacity: 1
    }
  }

  @-webkit-keyframes fadeIn {
    0% {
      opacity: 0
    }

    100% {
      opacity: 1
    }
  }




.red{
	color: #b84124;
}

.blue{
	color: #001a43;
}

/*ヘッダー*/

header{
	height: 0;
}

header .container{
	width: 98%;
	max-width: 1200px;
	margin: 0 auto;
	box-shadow: 0px 0px 3px #333;
	display: flex;
	justify-content: space-between;
	align-items: center;
	inset: 0;
	position: fixed;
	top:10px;
	height: 70px;
	background: #fff;
	border-radius: 10px;
	padding: 0 30px;
	box-sizing: border-box;
	z-index: 500;
	/*position: relative;*/
	
}

header h1{
	 font-size: 18px;
}

	span.reiwa8{
		display:inline-block;
		background:#0a3b95;
		color: #fff;
		padding: 0.1em 0.5em;
		font-size: 14px;
		
	}
	
	
.main-nav{
	display:none;
}

@media print, screen and (min-width: 1080px){
	
header .container{
	width: 90%;
	max-width: 1200px;
	margin: 0 auto;
	box-shadow: 0px 0px 3px #333;
	display: flex;
	justify-content: space-between;
	align-items: center;
	inset: 0;
	position: fixed;
	top:20px;
	height: 70px;
	background: #fff;
	border-radius: 10px;
	padding: 0 30px;
	box-sizing: border-box;
	z-index: 500;
	
}
	
	header h1{
		font-size: 22px;
		display: flex;
		align-items: center;
	}
	
	span.reiwa8{
		font-size: 15px;
		padding: 0.2em 1em;
		margin-left: 16px;
	}
	
	.main-nav{
		display: block;
	}	
	
	
.main-nav ul{
	display: flex;
	justify-content: space-around;
	gap:30px;
	}
	
	
	.main-nav ul a{
		color: #111;
	}	
	
	
	.main-nav ul a.n-jigyo{
		background: #008cc5;
		color: #fff;
		padding:0.4em 0.5em;
		border-radius: 5px;
	}
	
	
}



a#qa{
         display: block;
         margin-top: -30px;
         padding-top: 30px;
}

a#qa{
         display: block;
         margin-top: -120px;
         padding-top: 120px;
}




/*ハンバーガーナビ*/
.global-nav {
	
  position: fixed;
  right: -420px;
  top: 0;
	width: 90%;
	max-width: 600px;
  height: 90vh;
	margin: 0 auto;
  padding-top: 40px;
	background: #fff;
	/*background-size: 100%;*/
  transition: all .6s;
  z-index: 9900;
  overflow-y: auto;
  padding: 0 20px;
  box-sizing: border-box;
  will-change: transform;
	display: none;
	
	
}
.hamburger {
/*  position: fixed;
  right: 10px;
  top: 10px;*/
  width: 70px;
  height: 70px;
  cursor: pointer;
  z-index: 9990;
	background: #0a3b95;
	border-top-right-radius: 10px;
	border-bottom-right-radius: 10px;
	position: absolute;
	right: 0;
}
.ham-line {
  position: absolute;
  left:20px;
  width: 30px;
  height: 3px;
  background-color: #fff;
  transition: all .6s;
}
.line01 {
  top: 20px;
}
.line02 {
  top: 30px;
}
.line03 {
  top: 40px;
}

.menu{
	
	position: absolute;
	bottom:6px;
	left: 10px;
	color: #fff;
	font-size: 12px;
}

.m-title{
	position: absolute;
	top:40px;
	right: 8px;
	color: #fff;
	font-size: 13px;
	font-family: 'Noto Serif JP', serif;
	font-weight: bold;
}


.nav-bg {
  position: fixed;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  z-index: 100;
  background-color: #000;
  opacity: 0;
  visibility: hidden;
  transition: all .3s;
  cursor: pointer;
}
.nav-open .global-nav {
  /*right: 0;*/
	inset: 0;
  margin: auto;
	top:0;
	display:block;
	animation: fuwaMenu 0.2s linear 0s;
	
}
.nav-open .nav-bg {
  opacity: .9;
	/*opacity: 1.0;*/
  visibility: visible;
}
.nav-open .line01 {
  will-change: transform;
  transform: rotate(45deg);
  top: 30px;
  background-color: #fff;
}
.nav-open .line02 {
  width: 0;
  left: 50%;
}
.nav-open .line03 {
  will-change: transform;
  transform: rotate(-45deg);
  top: 30px;
  background-color: #fff;
}
.global-nav ul {
  padding-top: 60px;
  margin-bottom: 60px;
	
	
}
.global-nav ul li {
  display: block;
  position: relative;
}
.global-nav ul li a {
  padding: 15px 10px;
  color: #0a3b95;
  display: block;
  text-decoration: none;
  position: relative;
  vertical-align: middle;
  font-size: 18px;
	text-align: center;
	border-bottom: 1px solid #85a7c1;
	

}


.ham-line.change-color2 {
  background-color: #333;
}

@media print, screen and (min-width: 1080px) {
	
	.hamburger{
		display: none;
		width: 90px;
		height: 90px;
		right: 30px;
		top: 30px;
	}	
	
  .ham-line {
    position: absolute;
	  left:24px;
    width: 40px;
    height: 3px;
    transition: all .6s;
  }
  .line01 {
	  top:28px;
  }
  .line02 {
    top: 42px;
  }
  .line03 {
    top: 56px;
  }
	
	
	
.nav-open .line01 {
  will-change: transform;
  transform: rotate(45deg);
  top: 42px;
  background-color: #fff;
}
.nav-open .line02 {
  width: 0;
  left: 50%;
}
.nav-open .line03 {
  will-change: transform;
  transform: rotate(-45deg);
  top: 42px;
  background-color: #fff;
}	

	
	.m-title{
		top:48px;
	}
	
	
.global-nav ul li a {
  padding: 15px;
	font-size: 24px;
	

}	
}





/*ボタン*/
a.btn {
  display: block;
  padding:0.5em 1em;
  width: 80%;
  max-width: 600px;
  margin: 0 auto;
  color: #fff;
  background: #111;
  border: 1px solid #fff;
  font-size: 18px;
	text-align: center;
	box-sizing: border-box;
	border-radius: 50px;
	border:2px solid #333;

}


a.btn.pink{
	background: #e24f6b;
}

a.btn.mizu{
	background: #008cc5;
}

a.btn.orange{
	background: #e94f06;
}




@media print, screen and (min-width: 768px){
	a.btn{
		font-size: 28px;
	}
}







/*ボタン*/
a.btn2 {
  display: block;
  padding:0.5em 1em;
  width: 80%;
  max-width: 500px;
  margin: 0 auto;
  color: #0a3b95;
  font-size: 18px;
	text-align: center;
	box-sizing: border-box;
	text-decoration: underline;

}






@media print, screen and (min-width: 768px){
	a.btn2{
		font-size: 24px;
	}
}







/*フッター*/

footer{
	padding-top: 0px;
	padding-bottom: 20px;
	background:#008cc5;
	text-align: center;
	
}

footer .container{
	padding: 2em;
	box-sizing: border-box;
	color: #fff;
	text-align: center;
	font-size: 13px;
}

.copy{
	font-size: 13px;
}

footer p{
	margin-bottom: 0.5em;
}

footer h2{
	margin-bottom: 1em;
	font-size: 16px
}

footer h2.f-midashi{
	margin-bottom:0.5em;
	font-size: 16px
}

.f-tel{
	width: 80%;
	max-width: 500px;
	margin: 0 auto;
	margin-bottom:0.1em;
	font-size: 16px;
}

.ft-box{
	margin-bottom:10px;
}

.f-tel2{
	margin-bottom: 20px;
	font-size: 14px;
}

.ft-midashi{
	color: #008cc5;
	background: #fff;
	padding: 0.2em;
	border-radius: 5px;
}

	.ft-num{
		font-size: 20px;
		margin-bottom: 1em;
	}

	.ft-num2{
		font-size: 22px;
		margin-bottom: 0.1em;
	}

@media print, screen and (min-width: 768px){
footer{
	padding-top: 10px;
	padding-bottom: 10px;
}	

footer .container{
	font-size: 16px;
	padding:1.4em 1em 1em;
}
	
	footer h2{
		font-size: 20px;
	}
	
	footer h2.f-midashi{
		font-size: 20px;
	}	
	

.copy{
	font-size: 14px;
}

.f-tel{
	display: flex;
	justify-content: center;
	align-items: center;
	font-size: 18px;
	margin-bottom: 10px;
	}
	
.f-tel2{
	margin-bottom: 1em;
	font-size: 18px;
}	
	
	.ft-midashi{
		width: 10em;
		text-align: left;
		margin-right: 1em;
		padding: 0.2em 0.5em;
		font-size: 16px;
	}
	
	.ft-num{
		font-size: 22px;
		margin-bottom: 0;
	}
	
	.ft-num2{
		font-size: 26px;
		margin-bottom: 0;
	}	

}

.post .container{
	width: 90%;
	max-width: 960px;
	margin: 0 auto;
	padding: 20px 0;
	box-sizing: border-box;
}

.post p{
	margin-bottom: 1em;
}


.pc{display:none;} 
.pc_inline{display:none;}

@media print, screen and (min-width: 768px){
.pc{ display:block; } 
.pc_inline{ display:inline-block; } 
.sm{ display:none; }
 }

