﻿@media screen and (min-width: 769px) {
  .pc {
    display: block;
  }
  .sp {
    display: none;
  }
  #intermediary {
    width: 100%;
    height: auto;
    margin: 0;
    padding: 0;
    overflow: hidden;
  }
  #intermediary h2.title {
    font-size: 35px;
    font-family: "Poppins", sans-serif;
    font-weight: normal;
    text-align: center;
    position: relative;
    margin-bottom: 15px;
    margin-left: auto;
    margin-right: auto;
  }
  #intermediary h2.title:before {
    content: '';
    position: absolute;
    bottom: -8px;
    display: inline-block;
    width: 97px;
    height: 5px;
    left: 50%;
    -webkit-transform: translateX(-50%);
    transform: translateX(-50%);
    background-color: #394456;
  }
  #intermediary p.sub_title {
    margin-top: 15px;
    display: block;
    text-align: center;
    font-size: 14px;
    letter-spacing: 1px;
  }
  #service1 {
    padding-top: 190px;
    margin-top: -190px;
  }
  #service2, #service3, #service4, #service5, #service6 {
    padding-top: 60px;
    margin-top: -60px;
  }
  #intermediary section.block0 {
    max-width: 1000px;
    height: auto;
    margin: 45px auto 0 auto;
  }
  #intermediary section.block0 h3.section_title {
    font-size: 20px;
    font-weight: normal;
    letter-spacing: 1px;
    text-align: center;
    padding-bottom: 15px;
    border-bottom: 14px solid #f2f2f2;
  }
  #intermediary section.block0 p.section_text {
    margin: 20px auto;
    font-size: 20px;
    font-weight: 700;
    text-align: center;
  }
}
/* Tablet */
@media screen and (min-width: 481px) and (max-width: 768px) {
  .pc {
    display: none;
  }
  .sp {
    display: block;
  }
  #intermediary {
    width: 100%;
    height: auto;
    margin: 0;
    padding: 0;
    overflow: hidden;
  }
  #intermediary h2.title {
    font-size: 35px;
    font-family: "Poppins", sans-serif;
    font-weight: normal;
    text-align: center;
    position: relative;
    margin-bottom: 15px;
    margin-left: auto;
    margin-right: auto;
  }
  #intermediary h2.title:before {
    content: '';
    position: absolute;
    bottom: -8px;
    display: inline-block;
    width: 97px;
    height: 5px;
    left: 50%;
    -webkit-transform: translateX(-50%);
    transform: translateX(-50%);
    background-color: #394456;
  }
  #intermediary p.sub_title {
    margin-top: 15px;
    display: block;
    text-align: center;
    font-size: 14px;
    letter-spacing: 1px;
  }
  #service1 {
    padding-top: 60px;
    margin-top: -60px;
  }
  #service2, #service3, #service4, #service5, #service6 {
    padding-top: 10px;
    margin-top: -10px;
  }
  #intermediary section.block0 {
    max-width: 1000px;
    height: auto;
    margin: 45px auto 0 auto;
  }
  #intermediary section.block0 h3.section_title {
    font-size: 20px;
    font-weight: normal;
    letter-spacing: 1px;
    text-align: center;
    padding-bottom: 15px;
    border-bottom: 14px solid #f2f2f2;
  }
  #intermediary section.block0 p.section_text {
    margin: 20px auto;
    font-size: 20px;
    font-weight: 700;
    text-align: center;
  }
}
/* SP */
@media screen and (max-width: 480px) {
  .pc {
    display: none;
  }
  .sp {
    display: block;
  }
  #intermediary {
    width: 100%;
    height: auto;
    margin: 0;
    padding: 0;
    overflow: hidden;
  }
  #intermediary h2.title {
    font-size: 35px;
    font-family: "Poppins", sans-serif;
    font-weight: normal;
    text-align: center;
    position: relative;
    margin-bottom: 15px;
    margin-left: auto;
    margin-right: auto;
  }
  #intermediary h2.title:before {
    content: '';
    position: absolute;
    bottom: -8px;
    display: inline-block;
    width: 97px;
    height: 5px;
    left: 50%;
    -webkit-transform: translateX(-50%);
    transform: translateX(-50%);
    background-color: #394456;
  }
  #intermediary p.sub_title {
    margin-top: 15px;
    display: block;
    text-align: center;
    font-size: 14px;
    letter-spacing: 1px;
  }
  #service1 {
    padding-top: 190px;
    margin-top: -190px;
  }
  #service2, #service3, #service4, #service5, #service6 {
    padding-top: 60px;
    margin-top: -60px;
  }
  #intermediary section.block0 {
    max-width: 100%;
    height: auto;
    margin: 45px auto 0 auto;
  }
  #intermediary section.block0 h3.section_title {
    font-size: 20px;
    font-weight: normal;
    letter-spacing: 1px;
    text-align: center;
    padding-bottom: 15px;
    border-bottom: 14px solid #f2f2f2;
  }
  #intermediary section.block0 p.section_text {
    margin: 20px auto;
    font-size: 20px;
    font-weight: 700;
    text-align: center;
  }
}