html {
  font-size: 62.5%;
}

body {
  font-size: 1.6rem;
  font-weight: 500;
  line-height: 2.4rem;
  color: #333;
  -webkit-text-size-adjust: 100%;
  -moz-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
  text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-smoothing: antialiased;
  text-rendering: auto;
  font-family: "游ゴシック", YuGothic, "ヒラギノ角ゴ ProN W3", "Hiragino Kaku Gothic ProN", "メイリオ", Meiryo, sans-serif;
  margin:0;
  padding:0;
}

h1 {
  font-weight: 500;
  margin:0 auto;
}

a {
  color: #222;
  text-decoration: none;
  -webkit-transition: .3s;
  transition: .3s;
}

a img {
  -webkit-transition: .3s;
  transition: .3s;
}

a:hover,
a:hover img {
  opacity: .6;
  text-decoration: none;
}

ul {
padding-left:0px!important;
}

.main_visual{
width:100%;
text-align:center;
background-color:#FFC6C6;
}

.main_visual img{
width:100%;
max-width:1120px;
height:auto;
max-height:500px;
}

.gmenu {
background-color:#212224;
background-image:url(https://www.hokusen.co.jp/21_spring_sale/gmenu_bg.jpg);
color:#FFF;
}

ul {
  list-style: none;
}

.gmenu_list {
display:flex;
justify-content:center;
align-items: center;
height:54px;
max-width:1140px;
margin:0 auto;
}

.gmenu_item_first {
margin-right:40px;
}

.gmenu_item {
margin-right:20px;
}

.gmenu_item::after {
white-space: pre-wrap;
  content: "     ｜";
}

.header_cont {
width:100%;
max-width:1120px;
display:flex;
align-items: center;
margin:0 auto;
padding-top:15px;
padding-bottom:15px;
}

.header_logo {
display:flex;
align-items:flex-end;
width:50%;
}

.right_menu {
width:50%;
}

.rogo_size {
width:100%;
max-width:251px;
height:auto;
max-height:76px;
}

/*モーダル*/
.sp-nav {
position: relative;
display: block;
margin: 0 10px 0 auto;
}



#hamburger {
      position: relative;
      display: block;
      width: 30px;
      height: 25px;
      margin: 0 10px 0 auto;
   }
   #hamburger span {
      position: absolute;
      top: 50%;
      left: 0;
      display: block;
      width: 100%;
      height: 2px;
      background-color: #333;
      transform: translateY(-50%);
   }
   #hamburger::before {
      content: '';
      display: block;
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 2px;
      background-color: #333;
   }
   #hamburger::after {
      content: '';
      display: block;
      position: absolute;
      bottom: 0;
      left: 0;
      width: 100%;
      height: 2px;
      background-color: #333;
   }
   
   .fixed {
  position: fixed;
  width: 100%;
  height: 100%;
}
  
  
.mymodal_popUp,
input[name="mymodal_switch"],
#mymodal_open + label ~ label {
  display: none;
}
#mymodal_open + label,
#mymodal_close-button + label {
  cursor: pointer;
}

.mymodal_popUp {
  animation: fadeIn 1s ease 0s 1 normal;
  -webkit-animation: fadeIn 1s ease 0s 1 normal;
}
#mymodal_open:checked ~ #mymodal_close-button + label{
  animation: fadeIn 2s ease 0s 1 normal;
  -webkit-animation: fadeIn 2s ease 0s 1 normal;
}
@keyframes fadeIn {
  0% {opacity: 0;}
  100% {opacity: 1;}
}
@-webkit-keyframes fadeIn {
  0% {opacity: 0;}
  100% {opacity: 1;}
}

#mymodal_open:checked + label ~ .mymodal_popUp {
  background: #fff;
  display: block;
  width: 30%;
  height: auto;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
  -webkit-transform: translate(-50%,-50%);
  -ms-transform: translate(-50%,-50%);
  z-index: 998;
  border-radius:5px;
}

#mymodal_open:checked + label ~ .mymodal_popUp > .mymodal_popUp-content {
  width: calc(100% - 40px);
  height: calc(100% - 20px - 44px );
  padding: 10px 20px;
  overflow-y: auto;
  -webkit-overflow-scrolling:touch;
}

#mymodal_open:checked + label + #mymodal_close-overlay + label {
  background: rgba(0, 0, 0, 0.70);
  display: block;
  width: 100%;
  height: 100%;
  position: fixed;
  top: 0;
  left: 0;
  overflow: hidden;
  white-space: nowrap;
  text-indent: 100%;
  z-index: 997;
}

#mymodal_open:checked ~ #mymodal_close-button + label {
  display: block;
  color:#FFFFFF;
  text-align: center;
  font-size: 25px;
  line-height: 44px;
  width: 50%;
  height: 44px;
  position: fixed;
  bottom: 30%;
  left: 50%;
  transform: translate(-50%,-50%);
  -webkit-transform: translate(-50%,-50%);
  -ms-transform: translate(-50%,-50%);
  z-index: 999;
}
#mymodal_open:checked ~ #mymodal_close-button + label::before {
  content: '×';
}
#mymodal_open:checked ~ #mymodal_close-button + label::after {
  content: '閉じる';
  margin-left: 5px;
  font-size: 80%;
}

.card {
  width: 100%;
  max-width:1050px;
  height:auto;
  background: #fff;
  border-radius: 5px;
  box-shadow: 0 2px 5px #ccc;
  margin:0 auto;
  padding:20px;
}

.project {
display:flex;
justify-content:center;
align-items: center;
flex-wrap: wrap;
width:100%;
margin-bottom:30px;
}

.project_logo img {
width:100%;
max-width:280px;
height:auto;
padding-right:15px;
}

.project_title {
font-size: 3rem;
font-weight:700;
line-height:5rem;
}

.project_word {
line-height:4rem;
}

.project_text {
font-size:2rem;
line-height:2.4rem;
}

.prom_cont {
width:95%;
text-align:center;
}

.prom_title {
font-size: 2.4rem;
font-weight:700;
line-height:3rem;
}

.free_text {
font-size: 3rem;
font-weight:700;
line-height:5rem;
}

.item-title {
font-size:200%;
padding-top:50px;
}

.cont_text_sp {
display:none;
}


.thumbnail-slide-img {
  border-radius: 50%;
  cursor:pointer;
  width:100%;
  max-width:100px;
  height:auto;
}

#thumbnail-list{
  width: 100%;
  display: flex;
  justify-content: center;
  flex-wrap:nowrap;
  list-style:none;
}

.thumbnail-item{
  flex: 0 1 auto;
  padding: 10px;
  margin-bottom: 10px;
  box-sizing: border-box;
  position:relative;
}

.free_icon:before {
  content: url(../prom/cate_icon.png);
  display: inline-block;
  vertical-align: middle;
}

.taraba_cont {
width:100%;
max-width:1120px;
margin:0 auto;
height:auto;
}

.cont {
width:100%;
max-width:1120px;
display:flex;
justify-content:left;
align-items: center;
flex-wrap: wrap;
margin:0 auto;
}

.cont_list {
padding-right:20px;
margin-bottom:30px;
}

.card2 {
  width: 100%;
  max-width:350px;
  height:auto;
  background: #fff;
  border-radius: 5px;
  box-shadow: 0 2px 5px #ccc;
}

.card-img {
  border-radius: 5px 5px 0 0;
  max-width: 100%;
  height: auto;
}
.card-content {
  padding:0 20px 0 20px;
}
.card-title {
  margin-bottom: 20px;
  text-align: center;
  color: #333;
}
.card-title a{
  text-decoration: none;
  color: #333;
}
.card-title a:hover{
  color: #666;
}

.card-text {
  color: #777;
/*  font-size: 14px;*/
  line-height: 1.5;
}
.card-price {
  text-align: center;
  border-top: 1px solid #eee;
  padding-top:20px;
}
.cap{
  color: #333;
/*  font-size: 20px;*/
  line-height: 1.5;
}
.cap::after {
  content: "\A" ;
  white-space: pre;
}
.lp{
  color: #777;
/*  font-size: 14px;*/
  line-height: 1.5;
}
.lp::after {
  content: "\A" ;
  white-space: pre;
}
.so{
  color: #FF0000;
font-size: 20px;
  line-height: 1.5;
}
.card-link {
font-size:150%;
  text-align: center;
  border-top: 1px solid #eee;
  padding: 20px;
}
.card-link a {
  text-decoration: none;
  color: #660000;
  margin: 0 10px;
}
.card-link a:hover {
  color: #330000;
}

.pro_img2 {
	overflow: hidden;	/*拡大時にはみ出た部分を隠す*/
	width: 100%;	/*画像の幅*/
	max-width: 350px;	/*画像の幅*/
	height: auto;	/*画像の高さ*/
border-radius: 5px 5px 0 0;
}
.pro_img2 img {
	display: block;
	transition-duration: 0.3s;	/*変化に掛かる時間*/
}
.pro_img2 img:hover {
	transform: scale(1.1);	/*画像の拡大率*/
	transition-duration: 0.3s;	/*変化に掛かる時間*/
}

.taraba_title ,.orosi_taraba_title {
width:100%;
height:auto;
background-color:#000000;
text-align:center;
margin-top:50px;
margin-bottom:30px;
}

.taraba_title img ,.orosi_taraba_title img{
width:100%;
max-width:1120px;
height:auto;
max-height:400px;
}

.footer_menu {
background-color:#fff;
  font-size: 1.4rem;
  font-weight: 500;
  line-height: 1.4rem;
  color: #333;
  -webkit-text-size-adjust: 100%;
  -moz-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
  text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-smoothing: antialiased;
  text-rendering: auto;
  font-family: "游ゴシック", YuGothic, "ヒラギノ角ゴ ProN W3", "Hiragino Kaku Gothic ProN", "メイリオ", Meiryo, sans-serif;
  padding-top:30px;
}

.bottom_catch {
width:100%;
max-width:1140px;
margin:0 auto;
margin-top:30px;
}

.bottom_catch_title {
font-weight:700;
padding-bottom:10px;
text-align:left;
}

.bottom_catch_text {
font-size:1.4rem!important;
line-height:1.8rem!important;
text-align:left;
}

.footer_info_sp {
display:none;
}

.copy {
margin:0 auto;
text-align:center;
padding-top:40px;
padding-bottom:40px;
font-size:1.4rem!important;
}

a.no_underline:hover {
text-decoration:none!important;
opacity: 0.7;
}

/*ページトップへボタン表示*/
.pagetop {
    display: none;
    position: fixed;
    bottom: 30px;
    right: 15px;
}
.pagetop a {
    display: block;
    background-color: #330000;
    text-align: center;
    color: #FFF;
    font-size: 16px;
    text-decoration: none;
    padding: 5px 10px;
	filter:alpha(opacity=80);
    -moz-opacity: 0.8;
    opacity: 0.8;
}
.pagetop a:hover {
    display: block;
    background-color: #660000;
    text-align: center;
    color: #FFF;
    font-size: 16px;
    text-decoration: none;
    padding:5px 10px;
	filter:alpha(opacity=80);
    -moz-opacity: 0.8;
    opacity: 0.8;
}

@media screen and (max-width: 1020px) {
.gmenu {
font-size:1rem!important;
}
}

@media screen and (max-width: 767px) {

.rogo_size {
width:80%;
}

.gmenu {
display:none;
}

#mymodal_open:checked + label ~ .mymodal_popUp {
  width: 75%;
}

#mymodal_open:checked ~ #mymodal_close-button + label {
  bottom: 15%;
}

.taraba_title ,.orosi_taraba_title{
margin-bottom:15px;
}

.item-title {
font-size:125%;
padding-top:20px;
}

.card {
  width: 80%;
}

.project_title {
font-size: 2.4rem;
font-weight:700;
line-height:3rem;
}

.project_word {
line-height:2.4rem;
}

.project_text {
font-size:1.6rem;
line-height:1.8rem;
}

.brsp {
display:none;
}

.prom_cont {
text-align:left;
}

.free_text {
font-size: 2.4rem;
font-weight:700;
line-height:3rem;
}

.cont_text_sp {
display: block;
width:98%;
padding-left:10px;
height:auto;
margin-bottom:30px;
font-size:1.4rem;
}

.cont {
font-size:1rem;
align-items: start;
}

.cont_list {
padding-right:10px;
padding-left:10px;
}

.cont_list {
padding-right:5px;
}

.card-title {
  text-align: left;
}

.card2 {
  max-width:170px;
}

.pro_img2 {
	max-width: 170px;	/*画像の幅*/
}

.so{
	font-size: 1.3rem;
}

.card-link {
font-size:1.3rem;
padding:10px 5px;
}

.bottom_catch {
display:none;
}

.footer_info_sp {
display:block;
}

.imgmax {
  width: 100%;
  height: auto;
  line-height: 1rem;
  display: block;
}

.footer_logo_sp {
max-width: 170px;
margin: 0 auto 30px;
padding-top:30px;
}

.footer_splink {
display: -webkit-box;
display: -ms-flexbox;
display: flex;
-ms-flex-wrap: wrap;
flex-wrap: wrap;
width: 90%;
margin: 0 auto 25px;
}

.footer_splink_list {
width: 49.5%;
margin: 0 1% 1% 0;
text-align: center;
font-size: 1.3rem;
font-weight: bold;
line-height: 2rem;
}

.footer_splink_list:nth-child(2n) {
margin-right: 0;
}

.footer_splink_a {
display: block;
padding: 15px 2%;
background: #fff;
color: #000 !important;
}
  
.footer_info_sp {
background-color: #efefef;
padding: 0 0 1px;
}

}