/* 地震に強いオフィス */
.earthquake {
  background-color: #f6f6f6;
  background-image: url("/kagu/wp-content/themes/kagu_plus/assets/images/earthquake/bg_mv.svg"), url("/kagu/wp-content/themes/kagu_plus/assets/images/earthquake/bg_bottom.svg");
  background-repeat: no-repeat, no-repeat;
  background-position: top left, bottom right;
}

.earthquake-section-ttl-en {
  font-size: 32px;
  margin-bottom: 10px;
}

.earthquake-section-ttl-ja {
  font-size: 14px;
  margin-bottom: 50px;
}

.earthquake .earthquake-cta-btn {
  width: min(92%, 500px);
  margin-inline: auto;
}

.earthquake-ttl-border {
  padding-left: 15px;
  margin-bottom: 20px;
  font-size: 16px;
  font-weight: 700;
  border-left: 6px solid #2D8CC8;
}

.earthquake-ttl-border.yellow {
  border-left: 6px solid #FADD6E;
}

.earthquake-ttl-border.red {
  border-left: 6px solid #8C3633;
}

.earthquake-ttl-border.green {
  border-left: 6px solid #4A9191;
}

@media screen and (max-width: 600px) {
  .earthquake .earthquake-section-ttl-en {
    font-size: 20px;
    margin-bottom: 5px;
  }

  .earthquake .earthquake-section-ttl-ja {
    font-size: 12px;
    margin-bottom: 30px;
  }
}

/* 共通パーツ調整 */
.earthquake .c-section-title {
  margin-bottom: 40px;
  font-size: 32px;
  text-align: center;
}

.earthquake .u-block-margin {
  margin-bottom: 100px;
}

@media screen and (max-width: 600px) {
  .earthquake .c-section-title {
    margin-bottom: 30px;
    font-size: 20px;
  }

  .earthquake .u-block-margin {
    margin-bottom: 70px;
  }
}

/* パンくず調整 */
.earthquake .breadcrumb {
  padding-top: 50px;
  padding-bottom: 50px;
}

@media screen and (max-width: 768px) {
  .earthquake .breadcrumb {
    padding-top: 20px;
    padding-bottom: 30px;
  }

  .earthquake .breadcrumb > .inner {
    font-size: 10px;
  }
}

/* ページ内リンク調整 */
.earthquake nav:not(#ez-toc-container nav) {
  display: block;
}

/* MV */
.earthquake-mv {
  display: flex;
  gap: 60px;
}

.earthquake-mv-subtitle {
  margin-top: 50px;
  margin-bottom: 30px;
  font-size: 20px;
}

.earthquake-mv-lead {
  font-size: 14px;
  line-height: 1.6;
}

.earthquake-mv-img {
  max-width: 608px;
  flex-shrink: 0;
}

.earthquake-mv img {
  width: auto;
  height: 100%;
}

.earthquake-mv-img-sp {
  display: none;
}

@media screen and (max-width: 1024px) {
  .earthquake-mv-img {
    width: min(50%, 385px);
  }

  .earthquake-mv img {
    width: 100%;
    height: auto;
  }
}

@media screen and (max-width: 768px) {
  .earthquake-mv-img {
    display: none;
  }

  .earthquake-mv-img-sp {
    display: block;
    width: 100vw;
    height: 185px;
    overflow: hidden;
  }

  .earthquake-mv-img-sp img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #FF7852;
  }
}

@media screen and (max-width: 600px) {
  .earthquake-mv {
    height: auto;
    flex-direction: column;
  }

  .earthquake-mv-title {
    order: 2;
  }

  .earthquake-mv-subtitle {
    margin-top: 30px;
    margin-bottom: 10px;
  }

  .earthquake-mv-img-sp {
    height: auto;
  }
}

/* point */
.earthquake-point-list {
  margin-bottom: 30px;
  display: flex;
  gap: 30px;
}

.earthquake-point-list-item {
  padding: 30px;
  flex: 1;
  height: 180px;
  display: flex;
  justify-content: space-between;
  background: #E8E8E4;
}

.earthquake-point-list-item > h3 {
  font-size: 20px;
  font-weight: 600;
}

.earthquake-point-list-item > figure {
  width: 96px;
  align-self: flex-end;
}

@media screen and (max-width: 600px) {
  .earthquake-point-list {
    flex-direction: column;
  }

  .earthquake-point-list-item {
    padding: 10px 20px;
    height: auto;
    justify-content: flex-start;
    align-items: center;
    gap: 20px;
  }

  .earthquake-point-list-item > h3 {
    font-size: 14px;
    order: 2;
  }

  .earthquake-point-list-item > figure {
    width: 75px;
    order: 1;
  }
}

/* method */
.earthquake-method-list-item {
  padding-top: 50px;
  padding-bottom: 50px;
}

.earthquake-method-list-item:nth-child(odd) {
  background: #EEEEEE;
}

.earthquake-method-list-title {
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 20px;
  font-weight: 600;
}

.earthquake-method-list-title > span {
  padding: 10px 20px;
  color: #ffffff;
  font-size: 16px;
  background: #696969;
}

.earthquake-method-list-item h4 {
  margin-bottom: 10px;
  font-size: 14px;
  font-weight: 600;
}

.earthquake-method-list-item p + h4,
.earthquake-method-list-item p + p {
  margin-top: 20px;
}

.earthquake-method-col3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.earthquake-method-list-item p + .earthquake-method-col3 {
  margin-top: 30px;
}

.earthquake-method-col3-item > figure {
  margin-bottom: 20px;
}

.earthquake-method-col2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.earthquake-method-wrap-img {
  margin-bottom: 10px;
  display: flex;
  gap: 10px;
}

.earthquake-method-wrap-img > figure {
  width: 100px;
  flex-shrink: 0;
}

.earthquake-method-list-sub {
  /* list-style: disc inside; */
}

.earthquake-method-list-sub li {
  padding-left: 14px;
  text-indent: -14px;
}

@media screen and (max-width: 600px) {
  .earthquake-method-list-item {
    padding-top: 20px;
    padding-bottom: 20px;
  }

  .earthquake-method-col3 {
    gap: 10px;
  }

  .earthquake-method-col2 {
    gap: 20px;
  }

  .earthquake-method-col3,
  .earthquake-method-col2 {
    grid-template-columns: repeat(1, 1fr);
  }

  .earthquake-method-list-item p {
    font-size: 12px;
  }

  .earthquake-method-list-item p + .earthquake-method-col3 {
    margin-top: 20px;
  }

  .earthquake-method-col3-item > figure {
    margin-bottom: 10px;
  }

  .earthquake-method-wrap-img {
    flex-direction: column;
  }

  .earthquake-method-list-title {
    margin-bottom: 10px;
    font-size: 14px;
    gap: 10px;
  }

  .earthquake-method-list-title span {
    padding: 5px 10px;
    font-size: 14px;
  }

  .earthquake-method-list-sub li {
    padding-left: 12px;
    text-indent: -12px;
    font-size: 12px;
  }
}

/* mechanisms */
.earthquake-mechanisms-title {
  margin-bottom: 50px;
  font-size: 32px;
}

.earthquake-mechanisms-title > span {
  display: block;
}

.earthquake-mechanisms-info {
  display: flex;
  gap: 30px;
}

.earthquake-mechanisms-info:not(:last-of-type) {
  margin-bottom: 50px;
}

.earthquake-mechanisms-photo {
  margin-bottom: 30px;
  margin-inline: auto;
  max-width: 490px;
  flex: 1;
}

.earthquake-mechanisms-text {
  flex: 1;
}

.earthquake-mechanisms-text > a {
  margin-top: 20px;
  display: block;
  color: #004190;
  font-size: 16px;
  font-weight: 600;
}

.earthquake-mechanisms-text > ul {
  margin-top: 10px;
}

.earthquake-mechanisms-text li {
  padding-left: 14px;
  text-indent: -14px;
}

@media screen and (max-width: 600px) {
  .earthquake-mechanisms-title {
    margin-bottom: 30px;
    font-size: 20px;
  }

  .earthquake-mechanisms-title > span {
    display: inline;
  }

  .earthquake-mechanisms-info {
    flex-direction: column;
    gap: 20px;
  }

  .earthquake-mechanisms-info:not(:last-of-type) {
    margin-bottom: 30px;
  }

  .earthquake-mechanisms-photo {
    margin-bottom: 0;
    order: 1;
  }
  
  .earthquake-mechanisms-text {
    order: 2;
  }

  .earthquake-mechanisms-text li {
    padding-left: 12px;
    text-indent: -12px;
    font-size: 12px;
  }

  .earthquake-mechanisms-text > a {
    margin-top: 10px;
    font-size: 14px;
  }
}

/* recommended */
.earthquake-recommended {
  padding-bottom: 100px;
}

.earthquake-recommended-list {
  display: flex;
  gap: 30px;
}

@media screen and (max-width: 600px) {
  .earthquake-recommended {
    padding-bottom: 70px;
  }

  .earthquake-recommended-list {
    flex-direction: column;
  }

  .earthquake-recommended-photo {
    margin-bottom: 20px;
  }
}
