[data-is-full-template=true] .c-entry__content:not([data-home-page-container=true])>* {
  display: none;
}
@media screen and (max-width: 1023px) {
.c-entries--simple .c-entries__item>a {
  padding: 0;
}
.c-entry-summary__header {
  margin-bottom: 0;
}
.c-entry-summary__title {
  font-size: 10px;
}
.c-entry-summary__meta {
  margin-top: 0;
}
.c-entry-summary__figure .c-entry-summary__term {
  display: none;
}
}
.c-entry-summary__figure:before {
  padding-top: 100%;
}

.c-meta__item--author {
  display: none;
}

@media screen and (min-width: 1868px) {
.c-fluid-container {
  margin-left: 2em;
}
}
.l-contents__inner {
  margin-top: 0;
}

h2 {
  position: absolute;
  right: 55px;
  top: 38px;
  max-width: 660px;
  z-index: 5;
}
@media screen and (max-width: 1023px) {
  h2 {
    right: 7px;
    top:  10px;
    max-width: 76%;
  }
}
.p-catchphrase {
  position: absolute;
  z-index: 10;
  bottom: 0.6em;
  left: 14px;
  color: rgba(0,0,0,0);
  font-family: "roboto";
  font-size: clamp(43px,4.2vw,72px);
  font-weight: 900;
  letter-spacing: 0.1em;
  text-align: center;
  line-height: 1.3;
  /* -webkit-text-stroke: 2px #000; */
  text-shadow: 3px 3px #fff;

  &.u-min {
    font-size:2em;
    bottom: 0.26em; 
   }
}
@media screen and (max-width: 1023px) {
  .p-catchphrase {
    font-size: 26px;
    left: 10px;
    line-height: 2;
  }
}
@media screen and (max-width: 599px) {
  .p-catchphrase {
    bottom: 0.7em;
    font-size: clamp(21px,5.6vw,26px);
    line-height: 2;
    &.u-min {
      font-size: 5.6vw;
      bottom: 0;
    }
  }
}

.p-h3 {
  font-weight: 600;
  line-height: 1.25;
  color: #fff;
  position: absolute;
  font-size: 22px;
  letter-spacing: 0.5px;
  left: 0.75em;
  bottom: 14px;
  z-index: 10;
}

@media screen and (max-width: 1023px) {
  .p-h3 {
    font-size: 16px;
    bottom: 5px;
  }
}

@media screen and (max-width: 599px) {
  .p-h3 {
    font-size: clamp(14px,3.73vw,16px);
  }
}


.p-info-message {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translateY(-50%) translateX(-50%);
  z-index: 5;
}
@media screen and (max-width: 1023px) {
.p-info-message-img {
  max-width: 140px!important;
  }
}
.p-entry-content>:first-child {
  margin-top: 40px;
}

.p-grid-box {
  display: grid;
  width: calc(100% - 2vw);
  max-width: 1800px!important;
  margin: 0 auto;
  grid-gap: 1vw;
  grid-template-columns: 1fr 1fr 1fr;
  padding-bottom: 1vw;
  margin-top: 40px;
}
@media screen and (max-width: 1023px) {
  .p-grid-box {
  grid-template-columns: repeat(6, 1fr);
  margin-top: 6px;
    width: calc(100% - 8vw);
  }
}

@media screen and (max-width: 599px) {
    .p-grid-box {
  grid-template-columns: repeat(4, 1fr);
  }
}

.p-grid-bg {
  width: 100%;
  height: 18vh;
  background-image: linear-gradient(0deg, #00000040 15%, #0000 80.87%);
  position: absolute;
  bottom: 0;
  z-index: 1;
}
@media screen and (max-width: 767px) {
  .p-grid-bg {
    height: 14vh;
  }
}
.p-grid-child {
  overflow: hidden;
  height: 36vw;
  position: relative;
  transition: 0.2s ease;
}
@media screen and (max-width: 1023px) {
  .p-grid-child {
    height: 57vw;
  }
}
.p-grid-child:nth-of-type(1) {
  grid-column: 1 / span 2;
  grid-row: 1 / span 2;
}

.p-grid-child:nth-of-type(2) {
  grid-column: 3 / span 1;
  grid-row: 1 / span 2;
  height: 17.5vw;
}
.p-grid-child:nth-of-type(3) {
  grid-column: 3 / span 1;
  grid-row: 2 / span 1;
  height: 17.5vw;
}
.p-grid-child:nth-of-type(4) {
  grid-column: 1 / span 1;
  grid-row: 3 / span 1;
  height: 17.5vw;
}
.p-grid-child:nth-of-type(5) {
  grid-column: 2 / span 2;
  grid-row: 3 / span 2;
}
.p-grid-child:nth-of-type(6) {
  grid-column: 1 / span 1;
  grid-row:  4/ span 1;
  height: 17.5vw;
}
.p-grid-child:nth-of-type(7) {
  grid-column: 1 / span 1;
  grid-row:  5/ span 2;
  height: 17.5vw;
}
.p-grid-child:nth-of-type(8) {
  grid-column: 2 / span 1;
  grid-row:  5/ span 1;
  height: calc((17.5vw / 2) - 0.5vw);
}
.p-grid-child:nth-of-type(9) {
  grid-column: 3 / span 1;
  grid-row:  5/ span 2;
  height: 17.5vw;
}
.p-grid-child:nth-of-type(10) {
  grid-column: 2 / span 1;
  grid-row:  6/ span 1;
  height: calc((17.5vw / 2) - 0.5vw);
}
.p-grid-child:nth-of-type(11) {
  grid-column: 1 / span 1;
  grid-row:  7/ span 1;
  height: 17.5vw;
}
.p-grid-child:nth-of-type(12) {
  grid-column: 2 / span 1;
  grid-row:  7/ span 1;
  height: 17.5vw;
}
.p-grid-child:nth-of-type(13) {
  grid-column: 3 / span 1;
  grid-row:  7/ span 1;
  height: 17.5vw;
}
.p-grid-child:nth-of-type(14) {
  grid-column: 1 / span 1;
  grid-row:  8/ span 1;
  height: 17.5vw;
}
.p-grid-child:nth-of-type(15) {
  grid-column: 2 / span 1;
  grid-row:  8/ span 1;
  height: 17.5vw;
}

@media screen and (max-width: 1023px) {
  .p-grid-child:nth-of-type(1) {
    grid-column: 1 / span 6;
    grid-row: 1 / span 1;
    height: 53vw;
  }
  .p-grid-child:nth-of-type(2) {
    grid-column: 1 / span 2;
    grid-row: 2 / span 1;
    height: 36vw;
  }
  .p-grid-child:nth-of-type(3) {
    grid-column: 3 / span 4;
    grid-row: 2 / span 1;
    height: 36vw;
  }
  .p-grid-child:nth-of-type(4) {
    grid-column: 1 / span 4;
    grid-row: 3 / span 1;
    height: 28.5vw;
  }
  .p-grid-child:nth-of-type(5) {
    grid-column: 5 / span 2;
    grid-row: 3 / span 5;
    height: calc((28.5vw * 2) + 1vw);
  }
  .p-grid-child:nth-of-type(6) {
    grid-column: 1 / span 4;
    grid-row: 4 / span 1;
    height: 28.5vw;
  }
  .p-grid-child:nth-of-type(7) {
    grid-column: 1 / span 3;
    grid-row: 5 / span 7;
    height: calc((17.5vw * 2) + 2vw);
  }
  .p-grid-child:nth-of-type(8) {
    grid-column: 4 / span 3;
    grid-row: 5 / span 1;
    height: 17.5vw;
  }
  .p-grid-child:nth-of-type(9) {
    grid-column: 1 / span 3;
    grid-row: 8 / span 1;
    height: 17.5vw;
  }
  .p-grid-child:nth-of-type(10) {
    grid-column: 4 / span 3;
    grid-row: 7 / span 1;
    height: 17.5vw;
  }
  .p-grid-child:nth-of-type(11) {
    grid-column: 4 / span 3;
    grid-row: 8 / span 1;
    height: 17.5vw;
  }
  .p-grid-child:nth-of-type(12) {
    grid-column: 1 / span 3;
    grid-row: 9 / span 1;
    height: 17.5vw;
  }
  .p-grid-child:nth-of-type(13) {
    grid-column: 4 / span 3;
    grid-row: 9 / span 1;
    height: 17.5vw;
  }
  .p-grid-child:nth-of-type(14) {
    grid-column: 1 / span 3;
    grid-row: 10 / span 1;
    height: 25vw;
  }
    .p-grid-child:nth-of-type(15) {
    grid-column: 4 / span 3;
    grid-row: 10 / span 1;
    height: 25vw;
  }
}

@media screen and (max-width: 599px) {
  .p-grid-child:nth-of-type(1) {
    grid-column: 1 / span 4;
  }
  .p-grid-child:nth-of-type(2) {
    grid-column: 1 / span 4;
    grid-row: 2 / span 1;
    height: 55vw;
  }
  .p-grid-child:nth-of-type(3) {
    grid-column: 1 / span 4;
    grid-row: 3 / span 1;
    height: 73vw;
    max-height: 280px;
  }
  .p-grid-child:nth-of-type(4) {
    grid-column: 1 / span 3;
    grid-row: 4 / span 1;
  }
  .p-grid-child:nth-of-type(5) {
    grid-column: 4 / span 1;
    grid-row: 4 / span 2;
    .p-catchphrase {
      left: 6px;
      line-height: 1.7;
    }
    .p-h3 {
      font-size: 0.7em;
      left: 6px;
    }
  }
  .p-grid-child:nth-of-type(6) {
    grid-column: 1 / span 3;
    grid-row: 5 / span 1;
  }
  .p-grid-child:nth-of-type(7) {
    grid-column: 1 / span 4;
    grid-row: 6 / span 1;
    height: 60vw;
  }
  .p-grid-child:nth-of-type(8) {
    grid-column: 1 / span 4;
    grid-row: 7 / span 1;
    height: 25vw;
  }
  .p-grid-child:nth-of-type(9) {
    grid-column: 1 / span 2;
    grid-row: 9 / span 1;
    height: 25vw;
  }
  .p-grid-child:nth-of-type(10) {
    grid-column: 1 / span 4;
    grid-row: 8 / span 1;
    height: 25vw;
  }
  .p-grid-child:nth-of-type(11) {
    grid-column: 3 / span 2;
    grid-row: 9 / span 1;
    height: 25vw;
  }
  .p-grid-child:nth-of-type(12) {
    grid-column: 1 / span 2;
    grid-row: 10 / span 1;
    height: 25vw;
  }
  .p-grid-child:nth-of-type(13) {
    grid-column: 3 / span 2;
    grid-row: 10 / span 1;
    height: 25vw;
  }
  .p-grid-child:nth-of-type(14) {
    grid-column: 1 / span 2;
    grid-row: 11 / span 1;
  }
  .p-grid-child:nth-of-type(15) {
    grid-column: 3 / span 2;
    grid-row: 11 / span 1;
  }
}

/* ==================== */
/* 「診療についてのトピックス」 */
/* ==================== */

.p-grid-box.second {
  grid-template-columns: 1fr 1fr 1fr 1fr;
  /* 見出し */
  .p-grid-child:nth-of-type(1) {
    grid-column: 1 / span 4;
    grid-row: 1 / span 1;
    height: 73px;
    background-color: #231815;
  }
  /* ４カラム */
  .p-grid-child:nth-of-type(2) {
    grid-column: 1 / span 1;
    grid-row: 2 / span 1;
    height: auto;
    aspect-ratio: 1/1;
  }
  .p-grid-child:nth-of-type(3) {
    grid-column: 2 / span 1;
    grid-row: 2 / span 1;
    height: auto;
    aspect-ratio: 1/1;
  }
  .p-grid-child:nth-of-type(4) {
    grid-column: 3 / span 1;
    grid-row: 2 / span 1;
    height: auto;
    aspect-ratio: 1/1;
  }
  .p-grid-child:nth-of-type(5) {
    grid-column: 4 / span 1;
    grid-row: 2 / span 1;
    height: auto;
    aspect-ratio: 1/1;
  }
}

@media screen and (max-width: 1023px) {
  .p-grid-box.second {
    .p-grid-child:nth-of-type(1) {
      height: 60px;
    }
  }
}

@media screen and (max-width: 599px) {
  .p-grid-box.second {
    .p-grid-child:nth-of-type(1) {
      height: 50px;
    }
    .p-grid-child:nth-of-type(2) {
      grid-column: 1 / span 2;
      grid-row: 2 / span 1;
      height: auto;
      aspect-ratio: 1/1;
    }
    .p-grid-child:nth-of-type(3) {
      grid-column: 3 / span 2;
      grid-row: 2 / span 1;
      height: auto;
      aspect-ratio: 1/1;
    }
    .p-grid-child:nth-of-type(4) {
      grid-column: 1 / span 2;
      grid-row: 3 / span 1;
      height: auto;
      aspect-ratio: 1/1;
    }
    .p-grid-child:nth-of-type(5) {
      grid-column: 3 / span 2;
      grid-row: 3 / span 1;
      height: auto;
      aspect-ratio: 1/1;
    }
  }

}

/* ==================== */
/* 「診療対象動物」 */
/* ==================== */

.p-grid-box.third {
  grid-template-columns: repeat(12, 1fr);
  /* 見出し */
  .p-grid-child:nth-of-type(1) {
    grid-column: 1 / span 12;
    grid-row: 1 / span 1;
    height: 73px;
    background-color: #231815;
  }
  /* ３カラム */
  .p-grid-child:nth-of-type(2) {
    grid-column: 1 / span 4;
    grid-row: 2 / span 1;
  }
  .p-grid-child:nth-of-type(3) {
    grid-column: 5 / span 4;
    grid-row: 2 / span 1;
  }
  .p-grid-child:nth-of-type(4) {
    grid-column: 9 / span 4;
    grid-row: 2 / span 1;
  }
  /* 以降４カラム */
  .p-grid-child:nth-of-type(5) {
    grid-column: 1 / span 3;
    grid-row: 3 / span 1;
    height: 12.5vw;
  }
  .p-grid-child:nth-of-type(6) {
    grid-column: 4 / span 3;
    grid-row: 3 / span 1;
    height: 12.5vw;
  }
  .p-grid-child:nth-of-type(7) {
    grid-column: 7 / span 3;
    grid-row: 3 / span 1;
    height: 12.5vw;
  }
  .p-grid-child:nth-of-type(8) {
    grid-column: 10 / span 3;
    grid-row: 3 / span 1;
    height: 12.5vw;
  }
  .p-grid-child:nth-of-type(9) {
    grid-column: 1 / span 3;
    grid-row: 4 / span 1;
    height: 12.5vw;
  }
  .p-grid-child:nth-of-type(10) {
    grid-column: 4 / span 3;
    grid-row: 4 / span 1;
    height: 12.5vw;
  }
  .p-grid-child:nth-of-type(11) {
    grid-column: 7 / span 3;
    grid-row: 4 / span 1;
    height: 12.5vw;
  }
  .p-grid-child:nth-of-type(12) {
    grid-column: 10 / span 3;
    grid-row: 4 / span 1;
    height: 12.5vw;
  }
  .p-grid-child:nth-of-type(13) {
    grid-column: 1 / span 3;
    grid-row: 5 / span 1;
    height: 12.5vw;
  }
  .p-grid-child:nth-of-type(14) {
    grid-column: 4 / span 3;
    grid-row: 5 / span 1;
    height: 12.5vw;
  }
  .p-grid-child:nth-of-type(15) {
    grid-column: 7 / span 3;
    grid-row: 5 / span 1;
    height: 12.5vw;
  }
  .p-grid-child:nth-of-type(16) {
    grid-column: 10 / span 3;
    grid-row: 5 / span 1;
    height: 12.5vw;
  }
  .p-grid-child:nth-of-type(17) {
    grid-column: 1 / span 3;
    grid-row: 6 / span 1;
    height: 12.5vw;
  }
  .p-grid-child:nth-of-type(18) {
    grid-column: 4 / span 3;
    grid-row: 6 / span 1;
    height: 12.5vw;
  }
  .p-grid-child:nth-of-type(19) {
    grid-column: 7 / span 3;
    grid-row: 6 / span 1;
    height: 12.5vw;
  }
  .p-grid-child:nth-of-type(20) {
    grid-column: 10 / span 3;
    grid-row: 6 / span 1;
    height: 12.5vw;
  }
}

@media screen and (max-width: 1023px) {
    .p-grid-box.third {
      .p-grid-child:nth-of-type(1) {
        height: 60px;
      }
      .p-grid-child:nth-of-type(2) {
      grid-column: 1 / span 4;
      grid-row: 2 / span 1;
      height: 26.25vw;
    }
      .p-grid-child:nth-of-type(3) {
      grid-column: 5 / span 4;
      grid-row: 2 / span 1;
      height: 26.25vw;
    }
      .p-grid-child:nth-of-type(4) {
      grid-column: 9 / span 4;
      grid-row: 2 / span 1;
      height: 26.25vw;
    }
     .p-grid-child:nth-of-type(5) {
      grid-column: 1 / span 4;
      grid-row: 3 / span 1;
    }
    .p-grid-child:nth-of-type(6) {
      grid-column: 5 / span 4;
      grid-row: 3 / span 1;
    }
    .p-grid-child:nth-of-type(7) {
      grid-column: 9 / span 4;
      grid-row: 3 / span 1;
    }
    .p-grid-child:nth-of-type(8) {
      grid-column: 1 / span 4;
      grid-row: 4 / span 1;
    }
    .p-grid-child:nth-of-type(9) {
      grid-column: 5 / span 4;
      grid-row: 4 / span 1;
    }
    .p-grid-child:nth-of-type(10) {
      grid-column: 9 / span 4;
      grid-row: 4 / span 1;
    }
    .p-grid-child:nth-of-type(11) {
      grid-column: 1 / span 4;
      grid-row: 5 / span 1;
    }
    .p-grid-child:nth-of-type(12) {
      grid-column: 5 / span 4;
      grid-row: 5 / span 1;
    }
    .p-grid-child:nth-of-type(13) {
      grid-column: 9 / span 4;
      grid-row: 5 / span 1;
    }
    .p-grid-child:nth-of-type(14) {
      grid-column: 1 / span 4;
      grid-row: 6 / span 1;
    }
    .p-grid-child:nth-of-type(15) {
      grid-column: 5 / span 4;
      grid-row: 6 / span 1;
    }
    .p-grid-child:nth-of-type(16) {
      grid-column: 9 / span 4;
      grid-row: 6 / span 1;
    }
    .p-grid-child:nth-of-type(17) {
      grid-column: 1 / span 4;
      grid-row: 7 / span 1;
    }
    .p-grid-child:nth-of-type(18) {
      grid-column: 5 / span 4;
      grid-row: 7 / span 1;
    }
    .p-grid-child:nth-of-type(19) {
      grid-column: 9 / span 4;
      grid-row: 7 / span 1;
    }
    .p-grid-child:nth-of-type(20) {
      grid-column: 1 / span 4;
      grid-row: 8 / span 1;
    }
  }
}

@media screen and (max-width: 599px) {
    .p-grid-box.third {
      grid-template-columns: repeat(4, 1fr);
      .p-grid-child:nth-of-type(1) {
        grid-column: 1 / span 4;
        grid-row: 1 / span 1;
        height: 50px;
      }
      .p-grid-child:nth-of-type(2) {
        grid-column: 1 / span 4;
        grid-row:2 / span 1;
        height: 38vw;
      }
      .p-grid-child:nth-of-type(3) {
        grid-column: 1 / span 4;
        grid-row: 3 / span 1;
        height: 38vw;
      }
      .p-grid-child:nth-of-type(4) {
        grid-column: 1 / span 4;
        grid-row: 4 / span 1;
        height: 38vw;
      }
      .p-grid-child:nth-of-type(5) {
        grid-column: 1 / span 2;
        grid-row: 5 / span 1;
        height: 26vw;
      }
      .p-grid-child:nth-of-type(6) {
        grid-column: 3 / span 2;
        grid-row: 5 / span 1;
        height: 26vw;
      }
      .p-grid-child:nth-of-type(7) {
        grid-column: 1 / span 2;
        grid-row: 6 / span 1;
        height: 26vw;
      }
      .p-grid-child:nth-of-type(8) {
        grid-column: 3 / span 2;
        grid-row: 6 / span 1;
        height: 26vw;
      }
      .p-grid-child:nth-of-type(9) {
        grid-column: 1 / span 2;
        grid-row: 7 / span 1;
        height: 26vw;
      }
      .p-grid-child:nth-of-type(10) {
        grid-column: 3 / span 2;
        grid-row: 7 / span 1;
        height: 26vw;
      }
      .p-grid-child:nth-of-type(11) {
        grid-column: 1 / span 2;
        grid-row: 8 / span 1;
        height: 26vw;
      }
      .p-grid-child:nth-of-type(12) {
        grid-column: 3 / span 2;
        grid-row: 8 / span 1;
        height: 26vw;
      }
      .p-grid-child:nth-of-type(13) {
        grid-column: 1 / span 2;
        grid-row: 9 / span 1;
        height: 26vw;
      }
      .p-grid-child:nth-of-type(14) {
        grid-column: 3 / span 2;
        grid-row: 9 / span 1;
        height: 26vw;
      }
      .p-grid-child:nth-of-type(15) {
        grid-column: 1 / span 2;
        grid-row: 10 / span 1;
        height: 26vw;
      }
      .p-grid-child:nth-of-type(16) {
        grid-column: 3 / span 2;
        grid-row: 10 / span 1;
        height: 26vw;
      }
      .p-grid-child:nth-of-type(17) {
        grid-column: 1 / span 2;
        grid-row: 11 / span 1;
        height: 26vw;
      }
      .p-grid-child:nth-of-type(18) {
        grid-column: 3 / span 2;
        grid-row: 11 / span 1;
        height: 26vw;
      }
      .p-grid-child:nth-of-type(19) {
        grid-column: 1 / span 2;
        grid-row: 12 / span 1;
        height: 26vw;
      }
      .p-grid-child:nth-of-type(20) {
        grid-column: 3 / span 2;
        grid-row: 12 / span 1;
        height: 26vw;
      }

  }
}

.p-top-a {
  display: block;
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 10;
}
.p-top-a::after {
  content: "";
  display: block;
  width: 32px;
  height: 32px;
  background-image: url("../img/arrow-white.png");
  background-repeat: no-repeat;
  background-position: left top;
  background-size: 32px 32px;
  position: absolute;
  right: 15px;
  bottom: 15px;
  transition: all 280ms cubic-bezier(0.5, 0.1, 0.1, 1);
  z-index: 20;
}
@media screen and (max-width: 1023px) {
  .p-top-a::after {
    width: 17px;
    height: 17px;
    background-size: 17px 17px;
    right: 8px;
    bottom: 8px;
  }
}

.p-web .p-top-a,
.p-line .p-top-a {
  &::after {
    bottom: auto;
  }
}

.p-video {
  width: auto;
  height: 100%;
}
@media screen and (max-width: 1023px) {
  .p-video {
    width: 100%;
    height: auto;
  }  
}

.home .p-grid-child.p-line:hover,
.home .p-grid-child.p-tel:hover,
.home .p-grid-child.p-web:hover,
.home .p-grid-child.bnr:hover {
opacity: 0.9;
}

.home .p-grid-child:hover img.hover_up {
  position: relative;
  transform: scale(1.085);
  overflow: hidden;
  z-index: 1;
}

.home .p-grid-child img {
  transition: transform 500ms cubic-bezier(0.5, 0.1, 0.1, 1), -webkit-transform 500ms cubic-bezier(0.5, 0.1, 0.1, 1);
  object-fit: cover;
  width: 100%;
  height: 100%;
}

.swiper-container {
  height: 100%;
}


@keyframes zoomUp {
  0% {
    transform: scale(1);
  }
  100% {
    transform: scale(1.05);
  }
}

.swiper-slide-active .slide-img,
.swiper-slide-duplicate-active .slide-img,
.swiper-slide-prev .slide-img{
  animation: zoomUp 10s linear 0s 1 normal both;
}

/* //imgタグだと下に隙間ができるのでblockに。 */
.slide-img img{
  display: block;
  width: 100%;
}
.home .p-grid-child .img  {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translateY(-50%) translateX(-50%);
}

.u-border-black {
  border: 1px solid;
}
.u-font-black {
  color: #333;
}
@media screen and (max-width: 1023px) {
  .u-sp-only-shadow {
    text-shadow: 0 0 12px rgba(255,255,255,1), 0 0 19px rgba(255,255,255,1);
  }
}
.u-font-big {
  font-size: 34px;
}
@media screen and (max-width: 1023px) {
  .u-font-big {
    font-size: 17px;
  }
}

/* ========================= */
/* higashiura 追記・調整用 */
/* ========================= */


.p-slider-ttl {
  font-size: clamp(44px,4.3vw,63px);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: 0.03em;
  position: absolute;
  left: 0.5em;
  bottom: 0.5em;
  color: #fff;
  z-index: 10;
  font-family: 'noto serif jp';
  
  span:first-child {
    margin-right: 0.75em;
  }
}

@media screen and (max-width: 599px) {
  .p-slider-ttl {
    font-size: clamp(23px,6.13vw,44px);
  }
}

.p-grid-bg.u-color_02 {
  background-image: linear-gradient(0deg, #612d005d 15%, #0000 84%);
}


.p-grid-child.p-contact {
  position: relative;
  .p-contact-area{
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    padding: 1.5em 1em;
  }
  &::before,
  &::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
  }
  &::before {
    background: url("../img/main_contact_img.png")center no-repeat;
    background-size: cover;
  }
  &::after {
    background-color: rgba(35, 24, 21, 0.7);
    mix-blend-mode:multiply;
  }
  .con {
    position: relative;
    z-index: 10;
    color: #fff;
    text-align: center;
    .p-catchphrase {
      text-align: center;
      position: static;
      line-height: 1.2;
    }
  }
  .contact-ttl {
    font-size: clamp(24px,2.34vw,34px);
    font-family: 'noto serif jp';
    line-height: 1.25;
  }
  .ttl {
    margin-top: 0.3em;
    font-size: clamp(12px,1.17vw,20px);
    font-weight: 500;
    line-height: 1.25;
  }
  .txt {
    margin-top: 0.3em;
    font-size: clamp(10px,0.98vw,12px);
    line-height: 1.25;
  }

  a {
    color: #fff;
    text-decoration: none;
  }
  .tel_con {
    img {
      width: 17px;
      height: auto;
      position: relative;
      top: 2px;
    }
  }
  .tel-ttl {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0 4px;
    font-size: clamp(21px,2.05vw,24px);
  }
  .caption {
    font-size: clamp(11px,1.07vw,14px);
    line-height: 1.3;
  }
}

@media screen and (max-width: 599px)  {
  .p-grid-child.p-contact {
    .ttl {
      font-size: clamp(14px,3.73vw,14px);
    }
    .txt {
      font-size: clamp(11px,2.93vw,12px);
      margin-top: 1em;
    }
    .caption {
      font-size: 12px;
    }
  }
}

.p-grid-child.p-line,
.p-grid-child.p-web {
  background-color: #075AC6;
  display: flex;
  justify-content: center;
  align-items: center;
  a {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
  }
  img {
    transition: none;
    width: 24vw;
    height: auto;
    max-width: 387px;
  }
}

.p-grid-child.p-line {
  background-color: #17C250;
  img {
    position: relative;
    top: 4px;
  }
}



@media screen and (max-width: 599px) {

  .p-grid-child.p-line,
  .p-grid-child.p-web {
    img {
      width: 52vw;
      max-width: none;
    }
  }
}


.p-filter-01  {
  width: 100%;
  height: 100%;
  background-color: rgba(123, 151, 244, 0.75);
  mix-blend-mode:multiply;
  position: absolute;
  bottom: 0;
  z-index: 1;
} 

.p-filter-02 {
  width: 100%;
  height: 100%;
  background-color: rgba(123, 194, 244, 0.75);
  mix-blend-mode:multiply;
  position: absolute;
  bottom: 0;
  z-index: 5;
} 

.p-grid-child.l-betutabu {
  position: relative;
  &::before {
    content:"";
    position: absolute;
    top: 10px;
    right: 10px;
    background: url("../img/ico_window.svg")no-repeat;
    width: 23px;
    height: 23px;
  }
}

@media screen and (max-width: 599px) {
  .p-grid-child.l-betutabu {
    &::before {
      top: 4px;
      right: 4px;
      width: 14px;
      height: 14px;
      background-size: cover;
    }
  }
}

.p-grid-ttl {
  display: flex;
  justify-content: center;
  align-items: center;
  color: #fff;
  height: 100%;
  font-size: clamp(26px,2.54vw,32px);
  line-height: 1.25;
}

.p-grid-box.second,
.p-grid-box.third {
  .p-h3 {
    font-size: clamp(18px,1.76vw,22px);
    bottom: 0.65em;
  }
}

@media screen and (max-width: 599px) {
  .p-grid-ttl  {
    font-size: clamp(18px,4.8vw,22px);
  }
  .p-grid-box.second,
  .p-grid-box.third {
    .p-h3 {
      font-size: clamp(14px,3.73vw,18px);
      bottom: 0.4em;
    }
  }
}

.home .p-grid-box.third .p-grid-child:hover  img.hover_up {
z-index: auto;
}



.p-grid-child.l-topic {
  position: relative;

.filter {
  &::before,
  &::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 5;
  }
  &::before {
    background-color: #C2D0FF;
    mix-blend-mode:multiply
  }
  &::after {
    background-color: rgba(194, 208, 255, 0.20);
    mix-blend-mode:screen
  }
}
  .p-grid-bg {
    background-image: linear-gradient(0deg, #18367769 15%, #0000 80.87%
    80.87%);
    z-index: 5;
  }
 
  .p-ttl {
    position: absolute;
    bottom: 24px;
    left: 0;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    text-align: center;
    z-index: 10;
    color: #fff;
    width: 100%;
    span {
      display: block;
    }
    .en {
      font-family: "roboto";
      font-size: clamp(28px,2.74vw,36px);
      font-weight: 800;
      letter-spacing: 0.06em;
      line-height: 1.1;
      flex: 0 0 100%;
    }
    .jp {
      font-family: "noto sans jp";
      font-size: clamp(18px,1.76vw,22px);
      font-weight: 800;
      letter-spacing: 0.04em;
      line-height: 1.25;
      flex: 0 0 100%;
    }
  }
}

.p-grid-child.l-topic {
  img:hover {
    opacity: 0.9;
  }
}

@media screen and (max-width: 1023px) {
  .p-grid-child.l-topic {
    /* bottom: 10px; */
    .p-ttl {
      .en {
        font-size: clamp(16px,1.56vw,28px);
      }
      .jp {
        font-size: clamp(13px,1.27vw,18px);
      }
    }
  }
}

@media screen and (max-width: 599px) {
  .p-grid-child.l-topic {
    bottom: auto;
  }
}

.coming_soon {
  margin-top: 14px;
  width: 100%;
  height: calc(79% - 14px);
  display: flex;
  justify-content: center;
  align-items: center;
  background: #ffba8c;
background: linear-gradient(135deg,rgba(255, 186, 140, 1) 0%, rgba(104, 87, 199, 1) 50%, rgba(94, 223, 255, 1) 100%);
  p {
    color:#fff;
    font-weight: 800;
    letter-spacing: 0.04em;
    font-size: 22px;
  }
}

@media screen and (max-width: 599px) {
  .coming_soon {
    margin-top: 8px;
    p {
      font-size: 18px;
    }
  }
}