/* disable link to phone number when on Desktop */
a{
  color: #3399ff;
}

a[href^="tel"]:link,
a[href^="tel"]:visited, 
a[href^="tel"]:hover {
  text-decoration: none;
  color: #000;
  pointer-events: none;
  cursor: default;
}
/* Adjust px here (1024px for tablets maybe) */
@media only screen and (max-device-width: 480px) { 
  a[href^="tel"]:link,
  a[href^="tel"]:visited,
  a[href^="tel"]:hover {
      text-decoration: underline;
      color: #3399ff;
      pointer-events: auto;
      cursor: pointer;
  }
}

html:not(.sp) .sp-show{
  display: none;
}

html.sp .sp-show{
  display: block;
}


/* outline */
.outline .map_gmap{
  position: relative;
  height: 0;
  margin: 1em auto 0 auto;
  padding-top: 30%;
  padding-bottom:30%;
  margin-bottom: 10px;
}

.outline .map_gmap iframe{
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
}

.outline .tel-contact span{
  display: block;
}

html.sp .outline .tel-contact span{
  display: block;
}

html.sp .outline .map_gmap{
  margin-top: 1em;
  padding-top: 120%;
  padding-bottom: 0;
}

/* network */
.network .headline_2{
  border-bottom: 1px solid #cccccc;
  padding-bottom: 10px;
}
.network .cardbox p.title-sub{
  font-weight: bold;
  font-size: 17px;
  margin-bottom: 25px;
  color: #1c89eb;
}

.network .cardbox{
  position: relative;
}


/* pc */
html:not(.sp) .network .link_map{
  position: absolute;
  top:50%;
  right: 0;
}

html:not(.sp) .network .cardbox p span{
  display: block;
}

.network .cardbox-network {
  margin: -30px -30px 0 -30px;
}

.network .cardbox-network .cardbox {
  flex-grow: 0;
  flex-shrink: 1;
  width: calc(50% - 60px);
  margin: 0 30px 70px 30px;
}

/* sp only style */
html.sp .cardbox-network {
  margin: -8px -8px 0 -8px;
}

html.sp .cardbox-network .cardbox {
  flex-grow: 0;
  flex-shrink: 1;
  width: calc(50% - 16px);
  margin: 8px 8px 0 8px;
}

html.sp .network .cardbox_outer{
  margin-bottom: 50px;
}

html.sp .network .cardbox p.title-sub{
  margin-bottom: 12px;
}

html.sp .network .cardbox-network .cardbox{
  width:100%;
  margin-bottom: 20px;
}

html.sp .network .cardbox p span{
  display: block;
}

html.sp .network .cardbox p .link_map{
  margin-top: 14px;
}

html.sp .network .company_block{
	width: 100%;
	margin-bottom: 25px;
	padding-bottom: 25px;
	border-bottom: 1px dashed #e6e6e6;
}
html.sp .network .company_block:nth-child(2n-1){
	margin-right: 0;
}

html.sp .network .company_block:last-child {
  margin-bottom: 0;
}

html.sp .network .company_block.last_block {
  border-bottom: none;
}


/* history */

.history .cardbox-history {
  margin: -30px -30px 0 -30px;
}

.history .cardbox-history .card-col-1 {
  flex-grow: 0;
  flex-shrink: 1;
  width: calc(30% - 60px);
  margin: 30px 30px 0 30px;
}

.history .cardbox-history .card-col-2 {
  flex-grow: 0;
  flex-shrink: 1;
  width: calc(70% - 60px);
  margin: 30px 30px 0 30px;
}

/* sp only style */
html.sp .history .cardbox-history {
  margin: -8px -8px 0 -8px;
}

html.sp .history .cardbox-history .card-col-1 {
  flex-grow: 0;
  flex-shrink: 1;
  width: calc(100%);
  margin: 10px 10px 20px 10px;
}

html.sp .history .cardbox-history img{
  width: 100%;
}

html.sp .history .cardbox-history .card-col-2 {
  flex-grow: 0;
  flex-shrink: 1;
  width: calc(100%);
  margin: 10px 10px 10px 10px;
}



/* enviroment */
.environment .block_inner{
margin-bottom: 50px;
}
.environment dl{
  width: 100%;
  display: inline-block;
}

.environment dl dt{
  float: left;
  width: 30%;
}

.environment dl dd{
  float: right;
  width: 70%;
}

.environment p{
  margin-bottom: 15px;
}

html.sp .environment dl dt, html.sp .environment dl dd{
  width: 100%;
  margin-bottom: 25px;
}

html:not(.sp) .environment .headline_2{
  padding-top: 54px;
  font-size: 28px;
}

/* sommelier */
.sommelier .block_inner{
  margin-bottom: 50px;
}
.sommelier dl {
  width: 100%;
  display: inline-block;
}

.sommelier p {
  margin-bottom: 15px;
}

.sommelier .white_box {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: reverse;
      -ms-flex-direction: row-reverse;
          flex-direction: row-reverse;
}
.sommelier .white_box .pdf_list {
  width: 62%;
  margin-right: 3%;
}
.sommelier .white_box .pdf_list .qrcode {
  text-align: center;
  width: 80%;
}
.sommelier .white_box .image {
  width: 35%;
}
.sommelier .only-sp {
  display: none;
}
html.sp .sommelier dl dt, html.sp .sommelier dl dd {
  width: 100%;
}

html.sp .sommelier dl dd {
  margin-bottom: 25px;
}

html:not(.sp) .sommelier .headline_2 {
  padding-top: 54px;
  font-size: 28px;
}

html.sp .sommelier .white_box {
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
}
html.sp .sommelier .white_box .pdf_list {
  width: 100%;
  margin-right: 0;
}
html.sp .sommelier .white_box .pdf_list .qrcode {
  width: 100%;
}
html.sp .sommelier .white_box .image {
  width: 70%;
  margin: 0 auto 30px;
}

html.sp .sommelier .only-sp {
  display: block;
}