@charset "utf-8";

@media screen and (max-width: 768px) {
   
	body {
    padding-top: 88px;
    -webkit-text-size-adjust: none;
  }
  body.top {
    padding-top: 0;
  }
  
  p,li,td {
    font-size: 13px;
    line-height: 1.92em;
  }
  
  strong.line {
    font-size: 13px;
  }
  
  br.sp {
    display: inline !important;
  }
  br.pc,img.pc {
    display: none;
  }
	img.sp {
		display: inline-block;
	}
  
  
  /*===== header =====*/
  header {
    left: 0;
    width: 100%;
    height: 88px;
  }
  header h1 {
    left: 25px;
    top: 20px;
  }
  header h1 img {
    width: 153px;
    height: auto;
  }
  header h1.top {
    top: 20px;
  }
  
  
  .menu_btn {
    position: absolute;
    right: 25px;
    top: 32px;
  }

  .menu-trigger {
    width: 40px;
    height: 20px;
  }

  .menu-trigger div:nth-of-type(1) {
    top: 0;
  }
  .menu-trigger div:nth-of-type(2) {
    top: 9px;
  }
  .menu-trigger div:nth-of-type(3) {  
    top: 18px;
  }

  .menu-trigger.active div:nth-of-type(1) {    
    transform: translateY(9px) rotate(-45deg);
  }
  .menu-trigger.active div:nth-of-type(2) {
    opacity: 0;
  }
  .menu-trigger.active div:nth-of-type(3) {    
    transform: translateY(-9px) rotate(45deg);
    opacity: 1;
  }
  
  #menu {
    padding-bottom: 100px;
  }
  #menu .sp_wrap {
    /*overflow-y: scroll;*/
    /*height: calc(100vh + 1px);*/
    padding-top: 80px;
  }
  #menu .sp_wrap ul.sub {
    width: 300px;
    margin: 0 auto 35px;
  }
  #menu .sp_wrap ul.sub > li a.order {
    position: relative;
    padding-top: 21px;
    padding-left: 20px;
    background-image: url("/cms/wp-content/themes/gamba/img/icon_memo.png");
    background-repeat: no-repeat;
    background-position: 60px 50%;
    background-size: 25px 24px;
  }
  #menu .sp_wrap ul.sub > li a.order::after {
    content: "＞";
    position: absolute;
    right: 10px;
    top: calc(50% - 7px);
    font-size: 17px;
  }
  #menu .sp_wrap ul.main > li {
    color: #00b647;
    font-size: 15px;
    line-height: 1em;
    font-weight: bold;    
    border-top: 1px solid #cac9b1;
  }
  #menu .sp_wrap ul.main > li span.btn {
    display: block;
    height: 50px;
    padding: 17px calc((100% - 300px) / 2) 0;
    background: url("/cms/wp-content/themes/gamba/img/menu_plus.png") no-repeat calc(100% - 40px) 50% / 18px 18px;
    transition: all 0.4s;
  }
  #menu .sp_wrap ul.main > li span.btn.open {
    background: url("/cms/wp-content/themes/gamba/img/menu_minus.png") no-repeat calc(100% - 40px) 50% / 18px 18px;
  }
  #menu .sp_wrap ul.main > li a.order {
    background: url("/cms/wp-content/themes/gamba/img/icon_memo.png") no-repeat 0 50% / 25px 24px;
  }
  #menu .sp_wrap ul.main > li a.link {
    position: relative;
    display: block;
    height: 50px;
    padding: 17px calc((100% - 300px) / 2);
    background: url("/cms/wp-content/themes/gamba/img/menu_arrow.png") no-repeat calc(100% - 40px) 50% / 18px 18px;
  }  
  #menu .sp_wrap ul.main > li.contact a {
    padding-left: calc(((100% - 300px) / 2) + 40px);    
  }
  #menu .sp_wrap ul.main > li.contact a.web::before {
    content: "";
    display: block;
    position: absolute;
    left: 40px;
    top: calc(50% - 10px);
    width: 25px;
    height: 20px;
    background: url("/cms/wp-content/themes/gamba/img/icon_pc.png") no-repeat 0 0 / 25px 20px;
  }
  #menu .sp_wrap ul.main > li.contact a.tel {
    font-size: 16px;
    line-height: 1em;
    height: 40px;
    padding-top: 5px;
    background: none;
  }
  #menu .sp_wrap ul.main > li.contact a.tel::before {
    content: "";
    display: block;
    position: absolute;
    left: 40px;
    top: calc(50% - 16px);
    width: 24px;
    height: 16px;    
    background: url("/cms/wp-content/themes/gamba/img/icon_free_g.png") no-repeat 0 0 / 24px 16px;
  }
  #menu .sp_wrap ul.main > li.contact .tel span {
    display: inline-block;
    font-size: 9px;
  }
  #menu .sp_wrap ul.main > li.member {
    color: #4d4d4d;
    font-size: 16px;
    text-align: center;
    padding: 17px calc((100% - 300px) / 2);
  }
  #menu .sp_wrap ul.main > li.member a.btn_p {
    position: relative;
    padding-top: 21px;
  } 
  #menu .sp_wrap ul.main > li.member a.btn_p::after {
    content: "＞";
    position: absolute;
    right: 10px;
    top: calc(50% - 7px);
    font-size: 17px;
  }
  #menu .sp_wrap ul.main > li.member span {
    display: block;
    font-size: 13.5px;
    line-height: 1em;
    font-weight: normal;
    margin: 15px 0;
  }
  #menu .sp_wrap ul.main > li.sns {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    padding-top: 17px;
  }
  #menu .sp_wrap ul.main > li.sns span {
    display: block;
    position: relative;
    color: #4d4d4d;
    font-size: 13px;
    line-height: 1em;
    padding-top: 10px;
    margin-right: 22px;
  }
  #menu .sp_wrap ul.main > li.sns span::after {
    content: "";
    display: block;
    position: absolute;
    top: 0;
    right: -22px;
    width: 1px;
    height: 32px;
    background-color: #4d4d4d;
  }
  #menu .sp_wrap ul.main > li.sns a {
    display: block;
    margin-left: 22px;
  }
  
  #menu .sp_wrap ul.main > li ol {
    display: none;
    transition: all 0.4s;
  }
  #menu .sp_wrap ul.main > li ol.open {
    display: flex;
    flex-wrap: wrap;
    padding: 0 calc((100% - 300px) / 2);
    margin-top: 5px;
  }
  #menu .sp_wrap ul.main > li ol li {
    width: 100%;
    margin-bottom: 15px;
  }
  #menu .sp_wrap ul.main > li ol li a {
    display: block;
    position: relative;
    font-size: 15px;
    line-height: 1em;
    text-align: center;
    font-weight: bold;
    width: 100%;
    height: 45px;
    padding-top: 15px;
    background-color: #fff;
    border: 1px solid #00b647;
    border-radius: 10px;
  }
  #menu .sp_wrap ul.main > li ol li a::after {
    content: ">";
    display: block;
    position: absolute;
    right: 10px;
    top: calc(50% - 10px);
  }
  #menu .sp_wrap ul.main > li ol li.half {
    width: calc((100% - 15px) / 2);
  }
  #menu .sp_wrap ul.main > li ol li.half.n2 {
    margin-left: 15px;
  }
  #menu .sp_wrap ul.main > li ol li.half a {
    border: none;
  }
  #menu .sp_wrap ul.main > li ol li.half a::after {
    display: none;
  }
  #menu .sp_wrap ul.main > li ol li.half img {
    width: auto;
    height: 16px;
  }
  
  .btn_p,
  .btn_g {
    display: block;
    color: #fff !important;
    font-size: 15px;
    line-height: 1em;
    text-align: center;
    font-weight: bold;
    width: 100%;
    height: 56px;
    padding-top: 20px;
    border-radius: 10px;
  }
  .btn_p {
    background-color: #ff636f;
  }
  .btn_g {
    background-color: #00b647;
  }
  
  
  footer .block1 .inner {
    display: block;
    width: calc(100% - 50px);
    padding: 30px 0;
    margin: auto;
  }
  footer .block1 .inner::after {
    content: "";
    display: block;
    position: absolute;
    left: 0;
    top: 110px;
    width: 100%;
    height: 1px;
    border-right: none;
    border-bottom: 1px dotted #fff;
  }
  footer .block1 .inner div {    
    width: 100%;
    height: auto;
  }
  footer .block1 .contact {
    padding-top: 0;
    margin-bottom: 45px;
  }
  footer .block1 .contact a {    
    font-size: 18px;
    width: 100%;
    height: 56px;
    padding: 19px 0 0 40px;
    background: url("/cms/wp-content/themes/gamba/img/icon_pc.png") no-repeat 40px 18px / 25px 20px #fff;
    border-radius: 10px;
  }
  footer .block1 .tel {
    display: block;
    text-align: center;
    padding-top: 0;
  }
  footer .block1 .tel span {
    letter-spacing: 0.06em;
  }
  footer .block1 .tel span:nth-of-type(1) {
    display: none;
  }
  footer .block1 .tel span:nth-of-type(2) {
    display: inline-block;
    font-size: 18px;
    width: auto;
    padding-left: 30px;
    margin: 0;
    background: url("/cms/wp-content/themes/gamba/img/icon_free.png") no-repeat 0 2px / 23px 15px;
  }
  footer .block1 .tel span:nth-of-type(3) {
    display: inline-block;
    font-size: 12px;
    text-align: center;
    margin-top: 10px;
  }
  footer .block1 .illust {
    position: absolute;
    right: -15px;
    top: -55px;
    width: 55px;
  }

  footer .block2 {
    padding: 50px 0 70px;
  }
  footer .block2 .inner {
    display: block;
    width: calc(100% - 50px);
    margin: auto;
  }
  footer .block2 .unit01 {
    width: 100%;
    padding-left: 0;
  }
  footer .block2 .unit02 {
    width: 100%;
  }
  footer .block2 .t {
    display: inline-block;
    font-size: 17px;
    line-height: 1em;
    padding-bottom: 10px;
    margin-bottom: 25px;    
  }
  footer .block2 .unit01 .t {
    border-bottom: 1px solid #74b961;
  }
  footer .block2 .unit02 .t {
    margin-top: 38px;    
    border-bottom: 1px solid #e4801d;
  }
  footer .block2 .unit03 .t {
    margin-top: 38px;
    border-bottom: 1px solid #5c96bb;
  }
  footer .block2 .t span {
    display: inline;
    font-size: 17px;
    margin-bottom: 0;
    margin-right: 5px;
  }

  footer .block2 .unit03 ul {
    margin-bottom: 0;
  }
  footer .block2 .unit03 ul.lb {
    position: relative;
    margin-bottom: 67px;
  }
  footer .block2 .unit03 ul.lb::after {
    content: "";
    display: block;
    position: absolute;
    left: 0;
    bottom: -32px;
    width: 100%;
    height: 1px;
    border-bottom: 1px dotted #4d4d4d;
  }
  footer .block2 ul li {
    margin-bottom: 14px;
  }
  footer .block2 ul li:last-of-type {
    margin-bottom: 0;
  }
  footer .block2 ul li a {    
    font-size: 14px;
    padding: 5px 0 5px 35px;
  }
  footer .block2 ul.lg li a {
    background: url("/cms/wp-content/themes/gamba/img/mark_g.png") no-repeat 0 0 / 24px 24px;
  }
  footer .block2 ul.lo li a {
    background: url("/cms/wp-content/themes/gamba/img/mark_o.png") no-repeat 0 0 / 24px 24px;
  }
  footer .block2 ul.lb li a {
    background: url("/cms/wp-content/themes/gamba/img/mark_b.png") no-repeat 0 0 / 24px 24px;
  }
  footer .block2 ul.lw li a {
    background: url("/cms/wp-content/themes/gamba/img/mark_w.png") no-repeat 0 0 / 24px 24px;
  }  

  footer .block3 {  
    background-color: rgba(167,167,167,0.11);
    border-top: 1px solid #b3b3b3;
  }
  footer .block3 .inner {
    position: relative;
    width: calc(100% - 50px);
    padding: 40px 0 45px;
    margin: auto;
  }
  footer .block3 .name {
    position: static;
    right: auto;
    top: auto;
    text-align: center;
    padding: 0;
  }
  footer .block3 .name .logo {        
    margin-bottom: 18px;
    vertical-align: text-bottom;
  }
  footer .block3 .name .logo img {
    width: 118px;
    height: auto;
  }
  footer .block3 .name p {
    font-size: 13px;
    line-height: 2em;
    margin-bottom: 0;
  }
  footer .block3 .name p span.space {
    display: none;
  }
  footer .block3 ul.sns {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin: 20px auto 25px;
  }
  footer .block3 ul.sns li {
    margin: 0 15px;
  }  
  footer .block3 ul.sns li a .ig {
    display: block;
    width: 30px;
    height: auto;
  }
  footer .block3 ul.sns li a .tw {
    display: block;
    width: 31px;
    height: auto;
  }
  
  footer .block3 .pp {
    position: absolute;
    right: -10px;
    bottom: 45px;
    width: 37px;
    height: 37px;
  }
  
  footer .block3 ul.list {
    display: block;
    text-align: center;
    /*justify-content: center;*/
    margin: 0 auto 40px;
  }
  footer .block3 ul.list li {    
    margin: 0 0 15px;
  }
  footer .block3 ul.list li::after {
    display: none;
  }
  footer .block3 ul.list li a {    
    font-size: 13px;
  }
  footer .block3 .copy {
    font-size: 9px;
    letter-spacing: 0.02em;
  }
  footer .block3 .pt {
    right: 0;
    top: -29px;
    width: 58px;
    height: 58px;
  }
  footer .block3 .pt:hover {
    top: -29px;
  }

}