/* ヘッダー */

@media print, screen and (max-width: 1023px) {
  #header_section {
    padding-top: 46px;
    margin-bottom: 68px;
    width: 335px;
    margin-left: auto;
    margin-right: auto;
  }
}

@media print, screen and (min-width: 1024px) {
  #header_section {
    padding-top: 48px;
    margin-bottom: 68px;
  }
}

#header_section h1.top {
  font-family: Hiragino Kaku Gothic Pro;
  font-size: 40px;
  font-weight: 600;
}

@media print, screen and (max-width: 1023px) {
  #header_section h1.top {
    width: 335px;
    font-size: 26px;
    line-height: 39px;
    margin: 0 auto;
  }
}

@media print, screen and (min-width: 1024px) {
  #header_section h1.top {
    font-size: 40px;
    line-height: 60px;
    padding-bottom: 44px;
  }
}

@media print, screen and (min-width: 1024px) {
  #header_section h1.top::before,
  #header_section h1.top::after {
    content: '';
    display: inline-block;
    width: 80px;
    height: 1px;
    background-color: #191919;
    vertical-align: middle;
  }
}

#header_section h1.top::before {
  margin-right: 20px;
}

#header_section h1.child {
  font-family: Hiragino Kaku Gothic Pro;
  font-size: 36px;
  font-weight: 600;
}

@media print, screen and (max-width: 1023px) {
  #header_section h1.child {
    font-size: 24px;
    line-height: 36px;
    padding: 0 15px 20px;
  }
}

@media print, screen and (min-width: 1024px) {
  #header_section h1.child {
    font-size: 36px;
    line-height: 50px;
    padding-bottom: 20px;
  }
}

#header_section h1.top::after {
  margin-left: 20px;
}

.header_section_text_top {
  font-family: Hiragino Kaku Gothic Pro;
  margin-bottom: 40px;
}

@media print, screen and (max-width: 1023px) {
  .header_section_text_top {
    font-size: 14px;
    line-height: 21px;
  }
}

@media print, screen and (min-width: 1024px) {
  .header_section_text_top {
    text-align: center;
    font-size: 16px;
    line-height: 24px;
  }
}

@media print, screen and (max-width: 1023px) {
  .header_section_text_top p {
    width: 335px;
    margin: 0 auto;    
  }
}

@media print, screen and (max-width: 1023px) {
  .header_section_text_top p:nth-child(1) {
   margin-bottom: 12px;
  }
}

@media print, screen and (min-width: 1024px) {
  .header_section_text_top p {
    margin-bottom: 12px;
  }
}

.header_section_text_child {
  font-family: Hiragino Kaku Gothic Pro;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-align: center;
}

@media print, screen and (max-width: 1023px) {
  .header_section_text_child {
    font-size: 16px;
    line-height: 22px;
    width: 310px;
    margin: 0 auto 44px;
  }
}

@media print, screen and (min-width: 1024px) {
  .header_section_text_child {
    font-size: 18px;
    line-height: 26px;
    margin-bottom: 60px;
  }
}


.text_tip {
  font-size: 12px;
  line-height: 18px;
}

/* ボタン */
@media print, screen and (max-width: 1023px) {
  .service_btn_outer {
    width: 335px;
    margin: 0 auto;  
  }
}

@media print, screen and (min-width: 1024px) {
  .service_btn_outer {
    text-align: center;
  }
}

.service_btn_cta {
  font-family: MyYuGothicM, "游ゴシック", "Yu Gothic", YuGothic, "ヒラギノ角ゴ ProN", "Hiragino Kaku Gothic ProN", "メイリオ", Meiryo, sans-serif;
  color: #191919;
  text-decoration-line: none;
  background: #FABE00;
  font-weight: 600;
  font-size: 17px;
  line-height: 25.5px;
  display: block;
  margin: auto;
  transition: background .3s;
}

@media print, screen and (max-width: 1023px) {
  .service_btn_cta {
    padding: 17px 22px 17px 0;
    text-align: center;
  }
}

@media print, screen and (min-width: 1024px) {
  .service_btn_cta {
    width: 378px;
    height: 70px;
    line-height: 70px;
    text-align: center;
    margin: auto;
  }
}

.service_btn_cta:hover {
  background-color: #f9db85;
}

.service_btn_cta::before {
  content: '';
  font-weight: bold;
  background-size: contain;
  background-repeat: no-repeat;
}

@media print, screen and (max-width: 1023px) {
  .service_btn_cta::before {
    padding-right: 28px;
  }
}

@media print, screen and (min-width: 1024px) {
  .service_btn_cta::before {
    padding-right: 37px;
  }
}

.service_btn_contact::before {
  background-image: url('/items/service/mail.svg');
  font-size: 17px;
}

.service_btn_event::before {
  background-image: url('/items/service/event.svg');
  font-size: 17px;
}

/* メインエリア */
@media print, screen and (max-width: 1100px) {
  .container_service {
    width: 100%;
  }
}

.service_main_row {
  border: 3px solid #6091D3;
  position: relative;
}

@media print, screen and (max-width: 1023px) {
  .service_main_row {
    width: 351px;
    height: 476px;
    border: 3px solid #6091D3;
    margin: 0 auto 64px;
  }
}

@media print, screen and (min-width: 1024px) {
.service_main_row {
  border: 3px solid #6091D3;
  margin-bottom: 44px;
  margin-left: 34px;
  margin-right: 0;
  min-height: 244px;
}
}

.service_main_row a {
  display: block;
  text-decoration-line: none;
  color: #191919;
  height: 100%;
  z-index: 10;
}

@media print, screen and (max-width: 1023px) {
  .service_main_row a {
  }
}

@media print, screen and (min-width: 1024px) {
  .service_main_row a {
    padding: 24px 40px;
  }
}

.service_main_row a:before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 0;
  left: 0;
  display: block;
  background: #6091D3;
  opacity: 0.2;
  z-index: -1;
  transition: .2s;
}

.service_main_row a:hover:before {
  width: 100%;
}

.service_main_row_img {
  position: absolute;
}

@media print, screen and (max-width: 1023px) {
  .service_main_row_img {
  width: 311px;
  height: 218px;
  top: -24px;
  right: 19px;
  }
}

@media print, screen and (min-width: 1024px) {
  .service_main_row_img {
    left: -34px;
  }
}

.service_main_row_content {
  margin-right: 0;
  position: relative;
}

@media print, screen and (max-width: 1023px) {
  .service_main_row_content {
   top: 215px;
  }
}

@media print, screen and (min-width: 1024px) {
  .service_main_row_content {
    max-width: 672px;
    margin-left: auto;
  }
}

.service_main_row_title {
  font-family: MyYuGothicM, "游ゴシック", "Yu Gothic", YuGothic, "ヒラギノ角ゴ ProN", "Hiragino Kaku Gothic ProN", "メイリオ", Meiryo, sans-serif;
  font-weight: 700;
  color: #6091D3;
}

@media print, screen and (max-width: 1023px) {
  .service_main_row_title {
    font-size: 26px;
    line-height: 34px;
    margin-bottom: 12px;
    padding: 0px 15px 0 60px;
  }
}

@media print, screen and (min-width: 1024px) {
  .service_main_row_title {
    font-size: 32px;
    line-height: 40px;
    margin: 8px 0 24px;
    padding-left: 76px;
  }
}

.service_main_row_title::before {
  font-family: Hiragino Kaku Gothic Pro;
  content: attr(data-num);
  position: absolute;
  background: #6091D3;
  color: #fff;
  font-weight: 600;
  text-align: center;
  border-radius: 50%;
}

@media print, screen and (max-width: 1023px) {
  .service_main_row_title::before {
    top: 4px;
    left: 22px;
    font-size: 20px;
    line-height: 28px;
    width: 28px;
    height: 28px;
  }
}

@media print, screen and (min-width: 1024px) {
  .service_main_row_title::before {
    top: -8px;
    left: 0;
    font-size: 34px;
    line-height: 60px;
    width: 56px;
    height: 56px;
  }
}

.service_main_row_text {
  font-family: Hiragino Kaku Gothic Pro;
  font-weight: 300;
  text-align: justified;
}

@media print, screen and (max-width: 1023px) {
  .service_main_row_text {
    width: 312px;
    font-size: 17px;
    line-height: 25.5px;
    margin: 0 auto 16px;
  }
}

@media print, screen and (min-width: 1024px) {
  .service_main_row_text {
    font-size: 21px;
    line-height: 32px;
    margin-bottom: 36px;
  }
}

.text_strong {
  font-weight: 600;
}

.service_main_row_tag {
  display: flex;
}

@media print, screen and (max-width: 1023px) {
  .service_main_row_tag {
    flex-wrap: wrap;
    width: 311px;
    margin: 0 auto;
    gap: 12px 8px;


  }
}

@media print, screen and (min-width: 1024px) {
  .service_main_row_tag {
    gap: 8px;
  }
}


.service_main_row_tag li {
  background: #6091D3;
  border-radius: 1px;
  font-weight: 600;
  font-size: 16px;
  line-height: 24px;
  color: #fff;
  padding: 0 12px;
}

/* さらに詳しく */
@media print, screen and (max-width: 1023px) {
  #more_btn {
    margin-top: 68px;
    padding-bottom: 40px;
  }
}

@media print, screen and (min-width: 1024px) {
  #more_btn {
    margin-top: 80px;
    padding-bottom: 40px;
  }
}

.more_btn_text {
  font-family: Hiragino Kaku Gothic Pro;
  font-style: normal;
  font-weight: 600;
  text-align: center;
}

@media print, screen and (max-width: 1023px) {
  .more_btn_text {
    font-size: 17px;
    line-height: 25.5px;
    margin-bottom: 24px;
  }
}

@media print, screen and (min-width: 1024px) {
  .more_btn_text {
    font-size: 30px;
    line-height: 40px;
    margin-bottom: 28px;
  }
}

@media print, screen and (max-width: 1023px) {
  .service_multi_btn_outer {
    width: 303px;
    margin: 0 auto;
  }
}

@media print, screen and (min-width: 1024px) {
  .service_multi_btn_outer {
    display: flex;
    gap: 44px;
  }
}

#header_section .service_btn {
  text-align: center;
  color: #191919;
  text-decoration-line: none;
  background: #FABE00;
  font-weight: 600;
  font-size: 17px;
  display: block;
  margin: auto;
  transition: background .3s;
}

@media print, screen and (max-width: 1023px) {
  #header_section .service_btn {
    width: 291px;
    height: 52px;
    line-height: 25.5px;
    padding: 17px 22px;
  }
}

@media print, screen and (min-width: 1024px) {
  #header_section .service_btn {
    width: 631px;
    height: 60px;
    line-height: 60px;
  }
}

#header_section .service_btn:hover {
  background-color: #f9db85;
}

@media print, screen and (max-width: 1023px) {
  .service_multi_btn_outer .service_btn_contact {
    margin-bottom: 20px;
  }
}

@media print, screen and (min-width: 1024px) {
  .service_multi_btn_outer .service_btn_contact {
    margin-right: 0;
  }
}

.service_multi_btn_outer .service_btn_event {
  margin-left: 0;
}

@media only screen and (max-width: 660px) {
}

/* 詳細ページ */

@media print, screen and (max-width: 1023px) {
  .container_service_system {
    width: 335px;
  }
}


@media print, screen and (max-width: 1023px) {
  .service_detail {
    width: 335px;
    margin: 0 auto;
  }
}

.service_detail_row {
  display: flex;
  align-items: flex-start;
  margin-bottom: 60px;
  position: relative;
}

@media print, screen and (max-width: 1023px) {
  .service_detail_row {
    flex-flow: column-reverse;
    gap: 24.67px;
  }
}

.service_detail_row_soukyaku {
  margin-bottom: 39px;
}

@media print, screen and (max-width: 1023px) {
  .service_detail_row_system:first-child {
    gap: 20px;
    margin-bottom: 44px;
  }
}

@media print, screen and (max-width: 1023px) {
  .service_detail_row_system:nth-child(2), .service_detail_row_sekkeisekou {
    gap: 20px;
    margin-bottom: 48px;
  }
}

@media print, screen and (max-width: 1023px) {
  .service_detail_row:first-child {
    flex-flow: column-reverse;
    gap: 28.39px;
  }
}

@media print, screen and (max-width: 1023px) {
  .service_detail_row_system:first-child, .service_detail_row_sekkeisekou:first-child {
    gap: 20px;
  }
}

@media print, screen and (max-width: 1023px) {
  .service_detail_row:nth-child(4) {
   margin-bottom: 53px
  }
}

@media print, screen and (min-width: 1024px) {
  .service_detail_row {
    gap: 52px;
  }
}

@media print, screen and (max-width: 1023px) {
  .service_detail_row_after {
    margin-bottom: 81px;
  }
}

@media print, screen and (min-width: 1024px) {
  .service_detail_row_after {
    margin-bottom: 100px;
  }
}

@media print, screen and (max-width: 1023px) {
  .service_detail_row_after_sekkeisekou_first {
    margin-bottom: 97px;
  }
}

@media print, screen and (max-width: 1023px) {
  .service_detail_row_after_sekkeisekou_second {
    margin-bottom: 103px;
  }
}

@media print, screen and (max-width: 1023px) {
  .service_detail_row_after_sekkeisekou_third {
    margin-bottom: 87px;
  }
}

@media print, screen and (max-width: 1023px) {
  .service_detail_img {
   margin: 0 auto;
  }
}

@media print, screen and (min-width: 1024px) {
  .service_detail_img {
    max-width: 202px;
    height: auto;
  }
}


@media print, screen and (max-width: 1023px) {
  .service_detail_img_soukyaku  {
    width: 335px;
    height: 210px;
  }
}

@media print, screen and (max-width: 1023px) {
  .service_detail_img_system  {
    width: fit-content;
    height: 181px;
  }
}

@media print, screen and (max-width: 1023px) {
  .service_detail_img_sekkeisekou {
    width: fit-content;
    height: 212px;
  }
}

.service_detail_img_package_text {
  position: absolute;
  font-weight: 700;
}

@media print, screen and (max-width: 1023px) {
  .service_detail_img_package_text {
    bottom: -25px;
    left: 125px;
    font-size: 15px;
    line-height: 20px;

  }
}

@media print, screen and (min-width: 1024px) {
  .service_detail_img_package_text {
    bottom: -14px;
    left: 61px;
    font-size: 13px;
    line-height: 15.73px;
  }
}


.service_detail_row_after:after, .service_detail_row_after_sekkeisekou_first::after,
.service_detail_row_after_sekkeisekou_second::after, .service_detail_row_after_sekkeisekou_third::after {
  content: '';
  width: 0;
  height: 0;
  border-left: 30px solid transparent;
  border-right: 30px solid transparent;
  border-top: 28px solid #E7E7E7;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

@media print, screen and (max-width: 1023px) {
  .service_detail_row_after:after {
    bottom: -46px;
  }
}

@media print, screen and (min-width: 1024px) {
  .service_detail_row_after:after {
    bottom: -64px;
  }
}

@media print, screen and (max-width: 1023px) {
  .service_detail_row_after_sekkeisekou_first::after {
    bottom: -68px;
  }
}

@media print, screen and (max-width: 1023px) {
  .service_detail_row_after_sekkeisekou_second::after {
    bottom: -74px;
  }
}

@media print, screen and (max-width: 1023px) {
  .service_detail_row_after_sekkeisekou_third::after {
    bottom: -58px;
  }
}

.service_detail_content {
  max-width: 812px;
}

@media print, screen and (max-width: 1023px) {
  .service_detail_content_third {
    width: 335px;
  }
}

#header_section h2,
.service_detail_content h2 {
  color: #6091D3;
  font-family: MyYuGothicM, "游ゴシック", "Yu Gothic", YuGothic, "ヒラギノ角ゴ ProN", "Hiragino Kaku Gothic ProN", "メイリオ", Meiryo, sans-serif;
  font-style: normal;
  font-weight: 700;
}

@media print, screen and (max-width: 1023px) {
  #header_section h2,
  .service_detail_content h2 {
    font-size: 23px;
    line-height: 30px;
  }
}

@media print, screen and (min-width: 1024px) {
  #header_section h2,
  .service_detail_content h2 {
    font-size: 30px;
    line-height: 40px;
    margin-bottom: 12px;
  }
}

@media print, screen and (max-width: 1023px) {
  #header_section h2,
  .service_detail_content h2 {
    margin-bottom: 16px;
  }
}

@media print, screen and (min-width: 1024px) {
  #header_section h2,
  .service_detail_content h2 {
    margin-bottom: 12px;
  }
}

#header_section h2 {
  text-align: center;
  margin-bottom: 20px;
}

.service_detail_content h2 {
  border-left: 6px solid #6091D3;
}

@media print, screen and (max-width: 1023px) {
  .service_detail_content h2 {
    padding-left: 12px;
  }
}

@media print, screen and (min-width: 1024px) {
  .service_detail_content h2 {
    padding-left: 16px;
  }
}

.service_detail_content h2.special‗introduction {
  color: #E1323C;
  border-left: none;
  position: relative;
  display: flex;
  align-items: center;
}

@media print, screen and (max-width: 1023px) {
  .service_detail_content h2.special‗introduction {
  }
}

@media print, screen and (min-width: 1024px) {
  .service_detail_content h2.special‗introduction {
    padding-left: 24px;
  }
}

.service_detail_content h2.special‗introduction:before {
  content: 'Special';
  background: #FABE00;
  color: #191919;
  position: relative;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;

}

@media print, screen and (max-width: 1023px) {
  .service_detail_content h2.special‗introduction:before {
    font-size: 17px;
    height: 60px;
    width: 60px;
    left: -14px;
    top: 0;
  }
}

@media print, screen and (min-width: 1024px) {
  .service_detail_content h2.special‗introduction:before {
    font-size: 18px;
    height: 70px;
    width: 70px;
    left: -24px;
    top: 0;
  }
}

#header_section img {
  width: 100%;
  max-width: initial;
  height: auto;
  margin-bottom: -20px;
}

.service_detail_text {
  font-family: Hiragino Kaku Gothic Pro;
  font-weight: 300;
}

@media print, screen and (max-width: 1023px) {
  .service_detail_text {
    font-size: 17px;
    line-height: 26px;
  }
}

@media print, screen and (min-width: 1024px) {
  .service_detail_text {
    font-size: 20px;
    line-height: 32px;
    margin-bottom: 20px;
  }
}

@media print, screen and (max-width: 1023px) {
  .service_detail_text_special_introduction {
    margin-bottom: 20px;
  }
}

@media print, screen and (max-width: 1023px) {
  .service_detail_text_first, .service_detail_text_fourth , .servie_detail_text_soukyaku_third{
    margin-bottom: 20px;
  }
}

.service_detail_text li {
  list-style: none;
  padding-left: 28px;
  position: relative;
}

.service_detail_num {
  position: absolute;
  left: 0;
}

.service_detail_tip {
  background: #F5F5F5;
  font-family: Hiragino Kaku Gothic Pro;
  font-weight: 300;
  padding: 12px 16px;
}

@media print, screen and (max-width: 1023px) {
  .service_detail_tip {
    font-size: 13px;
    line-height: 20px;
  }
}

@media print, screen and (min-width: 1024px) {
  .service_detail_tip {
    font-size: 14px;
    line-height: 20px;
    margin-left: 2px;
    width: fit-content;
  }
}

@media print, screen and (min-width: 1024px) {
  .service_detail_tip_soukyaku {
   padding: 12px 92px 12px 16px;
  }
}


/* マーカー */
.text_underline_red {
  background:linear-gradient(transparent 80%, rgba(225, 50, 60,.5) 80%);
}

.text_underline_yellow {
  background:linear-gradient(transparent 80%, rgba(250, 190, 0, .5) 80%);
}

/* 戻るボタン */
.service-back {
  display: flex;
  justify-content: center;
}

.service-back a {
  font-family: Hiragino Kaku Gothic Pro;
  font-size: 16px;
  font-weight: 600;
  line-height: 18px;
  text-align: center;
  text-decoration: none;
  color: #191919;
  border: 2px solid #191919;
  display: block;
  -webkit-transition: opacity .3s;
  -moz-transition: opacity .3s;
  -o-transition: opacity .3s;
  -ms-transition: opacity .3s;
  transition: opacity .3s;
}

@media print, screen and (max-width: 1023px) {
  .service-back a {
    padding: 11px 24px;
    width: 251px;

  }
}

@media print, screen and (min-width: 1024px) {
  .service-back a {
    padding: 22px 26px;
  }
}

.service-back a:hover {
  opacity: 0.6;
}