@charset "utf-8";

/* ========================================
   トップページ 固有レスポンシブCSS
   ======================================== */

/* ====== モバイル (max-width:999px) ====== */
@media(max-width:999px){
  /* ヘッダー背景画像 */
  header{
    background-image: url(../img/1_M_加工2.jpg);
  }
  /* h1 上書き（15vw） */
  h1{
    font-size: 15vw;
  }
}

/* ====== スマホ (max-width:767px) ====== */
@media(max-width:767px){
  h2{
    position: relative;
    display: inline-block;
    padding: 0;
    font-size: 6vw;
    color: var(--color-dark);
    font-weight: 700;
    border-bottom: 1px solid var(--color-dark);
    font-family: 'Noto Serif JP', serif;
  }
  h2:before{
    display: none;
  }

  /* シミズ設備が大切にしていること */
  .conceptOut{
    margin-top: 100px;
  }
  .concept li:nth-of-type(1){
    margin-top: 30px;
  }
  .conceptText{
    width: 100%;
  }
  .conceptH3{
    font-family: 'Noto Serif JP', serif;
    font-weight: 700;
    font-size: 20px;
    width: 100%;
    text-align: center;
    white-space: nowrap;
    color: var(--color-white);
    background-color:var(--color-primary);
    padding: 20px 10px;
    line-height: 1.4;
    letter-spacing: .05em;
    box-shadow: none;
  }
  .concept P{
    line-height: 1.8;
    color: var(--color-black);
    background-color: var(--color-bg);
    width: 100%;
    padding: 30px;
  }
  .concept img{
    width: 100%;
    height: auto;          /* 比率を維持 */
    display: block;
    box-shadow: none;
  }

  /* シミズ設備の取り組み */
  .pointOut h2{
    color: var(--color-black);
  }
  .pointOut{
    background-color: var(--color-light);
    padding-top: 100px;
    padding-bottom: 30px;
  }
  .point{
    margin: 0 auto;
  }
  .pointItem{
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 80%;
    height: 300px;
    background-color: var(--color-white);
    color: var(--color-dark);
    border-radius: 5px;
  }
  .pointItem:nth-of-type(1){
    margin: 30px auto 30px auto;
  }
  .pointItem:not(:nth-child(1)){
    margin: 50px auto;
  }
  .pointH3{
    font-family: 'Noto Serif JP', serif;
    font-weight: 700;
    font-size: 20px;
    margin-top: 70px;
  }
  .pointItem p{
    width: 80%;
    margin-top: 50px;
    line-height: 1.5;
    font-size: 15px;
    font-weight: 500;
  }

  /* 事業内容 */
  .businessOut{
    margin-top: 100px;
  }
  .business{
    margin: 0;
    width: 100%;
    max-width: none;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }
  .item{
    width: 80%;
    height: 300px;
    background-size: cover;
    display: flex;
    flex-direction: column;
    align-items: center;
    border-radius: 5px;
  }
  .item:nth-of-type(odd){
    margin: 30px 15% 30px 5%;
  }
  .item:nth-of-type(even){
    margin: 25px 5% 30px 15%;
  }
  .item h3{
    font-family: 'Noto Serif JP', serif;
    color: var(--color-white);
    font-size: 6vw;
    font-weight: 700;
    padding: 10px;
    margin-top: 30px;
  }
  .text{
    width: 90%;
    text-align: center;
    margin-top: 0;
    line-height: 1.3;
    margin-top: 45px;
  }
  .more{
    margin-top: auto;
    margin-bottom: 30px;
    font-size: 20px;
  }
  .item:nth-of-type(1) {
    background-image: url(../img/5_S.jpg);
    box-shadow: 30px 30px 0 var(--color-bg);
  }
  .item:nth-of-type(2) {
    background-image: url(../img/6_S.jpg);
    box-shadow: -30px 30px 0 var(--color-bg);
  }
  .item:nth-of-type(3) {
    background-image: url(../img/7_S.jpg);
    box-shadow: 30px 30px 0 var(--color-bg);
  }
  .item:nth-of-type(4) {
    background-image: url(../img/8_S.jpg);
    box-shadow: -30px 30px 0 var(--color-bg);
  }
  .item:nth-of-type(5) {
    background-image: url(../img/9_S.jpg);
    box-shadow: 30px 30px 0 var(--color-bg);
  }
  .item:nth-of-type(6) {
    background-image: url(../img/10_S.jpg);
    box-shadow: -30px 30px 0 var(--color-bg);
  }

  /* 会社概要 */
  .profileOut h2{
    color: var(--color-black);
  }
  .profileOut{
    margin-top: 100px;
    background-color:var(--color-light);
    color: var(--color-black);
    padding-bottom: 60px;
    padding-top: 30px;
  }
  .profile{
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 30px auto 0 auto;
    max-width: 1000px;
  }
  dl{
    display: block;
  }
  .ci{
    padding: 25px 15px;
    border-bottom: solid var(--color-dark) 1px;
    max-width: 700px;
    line-height: 1.3;
  }
  dt{
    float: left;
    clear: left;
    width: 100px;
  }
  dd{
    overflow: hidden;
    padding-left: 25px;
    border-collapse: collapse;
    word-break: break-all;
  }

  /* お問い合わせ */
  .contactOut{
    margin-top: 100px;
    padding-bottom: 50px;
    width: 100%;
  }
}
