@charset "utf-8";

* {
  box-sizing: border-box;
}

#container #wrapper {
  font-family: "Meiryo", "メイリオ", "Hiragino Kaku Gothic Pro", "ヒラギノ角ゴ Pro W3", Osaka, "MS P Gothic", "ＭＳ Ｐゴシック", arial, helvetica, clean, sans-serif;
}

#breadcrumbs a:hover {
  text-decoration: none;
}

@media screen and (max-width: 667px) {
  #wrapper img {
    width: 100%;
  }
}

@media screen and (min-width: 668px) {
  #container #wrapper {
    width: 100%;
    text-align: center;
  }
}

/* title */
.title_h2 {
  padding: 21px 0;
  background-color: #00C494;
  font-size: 28px;
  color: #fff;
  letter-spacing: 1px;
  text-align: center;
}

@media screen and (max-width: 667px) {
  .title_h2 {
    padding: 14px 0;
    font-size: 24px;
  }
}

/* mv */
.mv>h1 {
  background: url(/servicemaster/service-list/images/bg_mv.png) repeat left top;
}

.mv img {
  margin: 0 auto;
}

@media screen and (max-width: 667px) {
  .mv {
    margin-bottom: 0;
  }
}

/* campaign */
.campaign_contents {
  padding: 60px 0;
}

.campaign_items {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.item_campaign {
  width: 100%;
  max-width: 460px;
  background-color: #fff;
}

.item_campaign a:hover {
  opacity: 0.7;
}

.item_campaign:nth-child(n+3) {
  margin-top: 20px;
}

@media screen and (max-width: 667px) {
  .campaign_contents {
    padding: 20px 0;
  }

  .item_campaign {
    max-width: 100%;
  }

  .item_campaign:not(:first-of-type) {
    margin-top: 20px;
  }
}

/* sec_service_list */
.sec_inner {
  width: 100%;
  max-width: 980px;
  margin: 0 auto;
  padding: 0 10px;
}

.service_list_contents {
  padding: 60px 0 100px;
  background: #FFFEF5;
}

.service_list_items {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.item_recommend {
  width: 100%;
  max-width: 460px;
  padding: 30px;
  background-color: #FFFFFF;
  border: 1px solid #FFB54C;
}

.item_recommend:nth-child(n+3) {
  margin-top: 40px;
}

.item_details {
  display: flex;
  justify-content: space-between;
}

.item_img {
  display: flex;
  width: 100%;
  max-width: 130px;
  margin-right: 25px;
}

.item_img img {
  width: 100%;
}
.item_img.mod {
  border: 1px solid #333333;
}

.item_info {
  text-align: left;
}

.item_ttl {
  font-size: 18px;
  font-weight: bold;
}

.item_sub {
  margin-top: 20px;
  font-size: 16px;
  line-height: 1.5;
}

.item_subTtl{
  margin-top: 20px;
  font-size: 16px;
  font-weight: bold;
  text-align: left;
}

.item_detail_price {
  margin-top: 20px;
}

.item_label {
  display: inline;
  width: 100%;
  max-width: 155px;
  margin-right: 12px;
  padding: 3px 8px;
  font-size: 16px;
  font-weight: bold;
  text-align: center;
  background-color: #E5E5E5;
}

.item_label.yellow {
  background-color: #FFF3B9;
}

.item_price {
  color: #ff0004;
  font-size: 30px;
  font-weight: bold;
  vertical-align: middle;
}

.item_tax{
  font-size: 22px;
}

.item_anchors {
  margin-top: 20px;
}

.item_anchors p:not(:first-child) {
  margin-top: 20px;
}

.orange_anc {
  display: block;
  width: 100%;
  padding: 18px 10px;
  font-size: 18px;
  color: #FFFFFF !important;
  font-weight: bold;
  background-color: #FE7120;
  border-radius: 5px;
  text-align: center;
}

.modal_anc {
  position: relative;
  display: block;
  width: 100%;
  padding: 18px 45px;
  font-size: 16px;
  border: 1px solid #333333;
  text-align: center;
  color: #333;
}

.modal_anc::after {
  position: absolute;
  display: block;
  content: '';
  background: url(../images/modal_icon.png) center center;
  top: 50%;
  transform: translateY(-50%);
  right: 14px;
  width: 25px;
  height: 30px;
}

.item_link {
  display: inline-block;
  width: 100%;
  text-align: center;
  text-decoration: underline !important;
}

.annotation {
  margin-top: 20px;
  text-align: left;
}

.annotation li {
  font-size: 13px;
  line-height: 1.7;
}

@media screen and (max-width: 667px) {
  .service_list_contents {
    padding: 20px 0 80px;
  }

  .item_recommend {
    max-width: 100%;
    padding: 20px 16px;
  }

  .item_recommend:nth-child(n+3) {
    margin-top: 20px;
  }

  .item_img {
    max-width: 110px;
    margin-right: 18px;
  }

  .item_info {
    width: 100%;
  }

  .item_details {
    display: flex;
    justify-content: flex-start;
    width: 100%;
  }

  .item_img img {
    height: fit-content;
  }

  @supports (-webkit-touch-callout: none) {
    .item_img img {
      height: unset;
      max-height: 110px;
    }
  }

  .item_ttl {
    margin-top: 14px;
  }

  .item_detail_price {
    margin-top: 15px;
    text-align: center;
  }

  .item_recommend:nth-child(2) {
    margin-top: 20px;
  }

  .item_anchors p:not(:first-child) {
    margin-top: 15px;
  }

  .item_anchors p:last-child {
    margin-top: 10px;
  }

  .orange_anc {
    font-size: 16px;
  }

  .modal_anc {
    font-size: 13px;
  }

  .item_sub {
    margin-top: 13px;
  }

  .item_label {
    max-width: 120px;
    padding: 5px 8px;
    font-size: 12px;
  }

  .item_price {
    font-size: 26px;
  }

  .item_tax{
    font-size: 20px;
  }

  .modal_anc::after {
    right: 15px;
  }
}

/*----------------
  flow
--------------*/
.flow {
  background-color: #EDF2F0;
}

.flow_description {
  padding: 60px 0 47px;
  counter-reset: count;
}

.flow_description_inner {
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
}

.flow_description_item {
  position: relative;
  min-height: 205px;
  margin-bottom: 70px;
  padding: 40px;
  background: #fff;
  border: 1px solid #E5E5E5;
  border-radius: 8px;
  text-align: left;
}

.flow_description_item::after {
  position: absolute;
  content: "";
  display: block;
  width: 26px;
  height: 30px;
  bottom: -50px;
  left: 0;
  right: 0;
  margin: auto;
  background-repeat: no-repeat;
  background-position: center;
  background-image: url(/servicemaster/service-list/images/flow_arrow.png);
  background-size: contain;
}

.flow_description_item:last-of-type::after {
  content: none;
}

.flow_description_subtitle {
  position: absolute;
  top: 40px;
  width: 125px;
  height: 125px;
}

.flow_description_title {
  position: relative;
  display: flex;
  padding-left: 50px;
  margin-bottom: 10px;
  margin-left: 165px;
  font-size: 20px;
  font-weight: bold;
  align-items: center;
  line-height: 2;
}

.flow_description_title:before{
  position: absolute;
  left: 0;
  top: 0;
  width: 40px;
  height: 40px;
  margin-right: 10px;
  background-color: #00C494;
  border-radius: 50%;
  font-size: 24px;
  color: #fff;
  text-align: center;
  line-height: 40px;
  counter-increment: count;
  content: counter(count);
}

.flow_description_comment {
  text-align: left;
  line-height: 1.65;
  font-size: 16px;
  margin-left: 165px;
}


@media screen and (max-width: 667px) {
  .flow {
    margin-bottom: 55px;
  }

  .flow_description {
    padding: 40px 27px 30px;
  }

  .flow_description_inner {
    max-width: 100%;
  }

  .flow_description_item {
    position: relative;
    width: 100%;
    min-height: auto;
    margin-bottom: 50px;
    padding: 20px;
    border-radius: 10px;
    text-align: left;
  }

  .flow_description_title {
    min-height: 40px;
    margin-bottom: 20px;
    margin-left: 0;
    font-size: 18px;
    line-height: 1.2;
  }

  .flow_description_item::after {
    bottom: -40px;
  }

  .flow_description_subtitle {
    position: relative;
    top: 0;
    margin: 0 auto;
  }

  .flow_description_subtitle img {
    width: 100%;
  }

  .flow_description_comment {
    margin-top: 15px;
    margin-left: 0;
  }
}

/* cart */
.cart {
  width: 100%;
  max-width: 486px;
  margin: 60px auto 0;
}

.cart_btn a {
  position: relative;
  width: 100%;
  display: inline-block;
  padding: 31px 0;
  font-size: 20px;
  font-weight: bold;
  color: #FFFFFF;
  background-color: #FE7120;
  border-radius: 5px;
  line-height: 1.4;
  text-align: center;
}

.cart_btn a::after {
  position: absolute;
  display: block;
  content: '';
  background: url(../images/arrow.png) center center;
  background-size: 100% 100%;
  top: 50%;
  transform: translateY(-50%);
  right: 20px;
  width: 10px;
  height: 20px;
}

.about_trial {
  margin-top: 36px;
  font-size: 13px;
  text-align: left;
}

.about_trial p {
  font-weight: bold;
}

.dotted_list {
  margin-top: 5px;
}

.dotted_list li {
  position: relative;
  padding-left: 14px;
}

.dotted_list li::before {
  position: absolute;
  display: block;
  content: '・';
  left: 0;
}

@media screen and (max-width: 667px) {
  .cart {
    max-width: 100%;
    margin: 40px auto 0;
    padding: 0 10px;
  }

  .cart_btn a {
    font-size: 16px;
    padding: 13px 42px 6px;
  }
}

/* modal */
/* Styling for overlay */

.overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  max-height: 100dvh;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1000;
}

body.modal-open {
  overflow: hidden;
}

/* Styling for modal */
.modal {
  display: none;
  position: fixed;
  width: 100%;
  max-width: 960px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: #fff;
  border-radius: 5px;
  z-index: 1001;
  max-height: calc(100vh - 140px);
  overflow-y: auto;
}
.close-button {
  position: fixed;
  top: 7%;
  left: 79.5%;
  transform: translate(-50%, -50%);
  cursor: pointer;
  z-index: 1007;
  font-size: 20px;
  color: #fff !important;
}

.close-button:hover {
  text-decoration: none !important;
  color: #fff !important;
}

.modal h2 {
  padding: 15px;
  color: #FFFFFF;
  background-color: #00C494;
  font-size: 20px;
  font-weight: bold;
  text-align: center;
}

.modal_inner {
  padding: 20px 30px 43px;
  text-align: left;
}

.modal h3 {
  margin-bottom: 13px;
  font-size: 16px;
  font-weight: bold;
}

.img_flex {
  display: flex;
  margin-top: 20px;
  flex-direction: row;
  font-size: 13px;
  text-align: center;
}

.modal_img img {
  border: 1px solid #333;
  margin-bottom: 6px;
}

.modal_img:not(:last-child) {
  margin-right: 15px;
}

.modal_tbl {
  margin-top: 30px;
  font-size: 13px
}

.modal table {
  margin-top: 5px;
  width: 100%;
}

.modal table.mt0 {
  margin-top: 0;
}

.modal table th,
.modal table td {
  padding: 11px 10px 12px;
}

.modal table th:first-of-type,
.modal table td:first-of-type {
  width: 73%;
}

.modal table th:last-of-type,
.modal table td:last-of-type {
  width: 27%;
}

.modal table th {
  background-color: #c6e0b4;
  font-weight: normal;
}

.modal table td {
  background-color: #EEEEEE;
}

.modal_annotation {
  margin-top: 33px;
}
.modal_annotation.mt20 {
  margin-top: 20px;
  text-align: left;
}
.modal_annotation li {
  position: relative;
  padding-left: 15px;
}

.modal_annotation li::before {
  position: absolute;
  display: block;
  content: '※';
  left: 0;
}

.modal .tbl_link{
  margin-top: 20px;
  text-align: right;
}

.modal .tbl_link a{
  text-decoration: underline;
}

.modal .tbl_link a:hover{
  text-decoration: none;
}

.modal h3.mt33 {
  margin-top: 33px;
  margin-bottom: 0;
}

.modal_dotted_list {
  margin-top: 13px;
}

.modal_dotted_list li {
  position: relative;
  padding-left: 18px;
}

.modal_dotted_list li::before {
  position: absolute;
  display: block;
  content: '○';
  left: 0;
}

.mt13 {
  margin-top: 13px;
}

.mt0 {
  margin-top: 0 !important;
}

@media screen and (max-width: 667px) {
  .modal {
    width: 86%;
    max-width: 100%;
    top: 55%;
    max-height: calc(76vh - 10px);
  }

  .modal_inner {
    padding: 20px;
  }

  .modal h3 {
    margin-bottom: 10px;
  }

  .img_flex {
    margin-top: 17px;
  }

  .modal_tbl {
    margin-top: 30px;
  }

  .modal table th:first-of-type,
  .modal table td:first-of-type {
    width: 65%;
  }

  .modal table th:last-of-type,
  .modal table td:last-of-type {
    width: 35%;
  }

  .close-button {
    top: 15%;
    left: 90%;
    font-size: 30px;
  }
  @supports (-webkit-touch-callout: none) {
    .modal {
      max-height: calc(68vh - 10px);
    }
    .close-button {
      top: 17%;
    }
  }
}
@media only screen 
and (max-device-width: 640px), 
only screen and (max-device-width: 667px), 
only screen and (max-width: 480px)
{ 
  @supports (-webkit-touch-callout: none) {
    .modal {
      max-height: calc(66vh - 10px);
    }
    .close-button {
      top: 17%;
    }
  }
}

/* additional */
.dotted_list.left_align {
  margin: 0 0 20px;
  text-align: left;
}

.pageTop {
  margin: -90px auto 60px!important;
}

.pageTop p {
  width: 80px;
  height: 80px;
}

.pageTop p a{
	position:relative;
	display:block;
	width:80px;
	height:80px;
  border: none;
	border-radius:50%;
	background:#00C494;
	box-sizing:border-box;
}

.pageTop p a:hover{
	opacity:.7;
}

.pageTop p a:before{
  content: "";
  position: absolute;
  display: inline-block;
  border-left: #fff solid 3px;
  border-top: #fff solid 3px;
  width: 21px;
  height: 21px;
  transform: rotate(45deg);
  left: 0;
  top: 23px;
  right: 0;
  margin: auto;
}

.pageTop p a:after{
  content: "";
  position: absolute;
  display: inline-block;
  width: 2px;
  height: 33px;
  background: #fff;
  left: 0;
  top: 22px;
  right: 0;
  margin: auto;
  border-radius: 10px;
}

@media screen and (max-width: 667px) {
  .pageTop p a{
    width:60px;
    height:60px;
  }

  .pageTop p a:before{
    width: 17px;
    height: 17px;
  }

  .pageTop p a:after{
    height: 25px;
  }
}