@charset "UTF-8";
/* ============================================================
   納品事例 (case)
   ============================================================ */

.case-wrap {
  max-width : 1176px;
  margin    : 60px auto 80px;
  padding   : 0 24px;
}

.case-intro {
  font-size    : 24px;
  font-weight  : 400;
  color        : #555;
  margin-bottom: 40px;
  font-family  : 'Noto Sans JP', sans-serif;
  line-height  : 2;
  text-align   : center;
}

/* ----------------------------------------------------------
   カード
   ---------------------------------------------------------- */
.case-card {
  margin-bottom  : 40px;
  border         : 1px solid #e0e0e0;
  overflow       : hidden;
}

/* 写真エリア: 2枚均等 */
.case-photos {
  display              : grid;
  grid-template-columns: 1fr 1fr;
  gap                  : 0;
}

.case-photo-fig {
  margin  : 0;
  overflow: hidden;
}

.case-photo-fig a {
  display: block;
}

.case-photos img {
  width      : 100%;
  height     : auto;
  display    : block;
  object-fit : cover;
  aspect-ratio: 4 / 3;
  cursor     : zoom-in;
  transition : opacity 0.2s;
}

.case-photos a:hover img {
  opacity: 0.88;
}

.case-photos--empty {
  background: #f5f5f5;
  min-height : 200px;
  display    : flex;
  align-items: center;
  justify-content: center;
  color      : #bbb;
  font-size  : 13px;
  grid-column: 1 / -1;
}

/* ダークバー */
.case-bar {
  background : #1c1c1c;
  padding    : 22px 32px;
  display    : flex;
  align-items: center;
  gap        : 22px;
}

.case-bar-sep {
  width      : 1px;
  height     : 40px;
  background : #444;
  flex-shrink: 0;
}

.case-bar-info {
  min-width: 0;
}

.case-client-name {
  font-size    : 24px;
  font-weight  : bold;
  color        : #ffffff;
  margin-bottom: 5px;
  font-family  : 'Noto Sans JP', sans-serif;
  line-height  : 1.4;
}

.case-client-url a {
  color          : #aaaaaa;
  font-size      : 13px;
  text-decoration: none;
  word-break     : break-all;
  transition     : color 0.2s;
}

.case-client-url a:hover {
  color: #dddddd;
}

/* ----------------------------------------------------------
   区切り線
   ---------------------------------------------------------- */
.case-divider {
  border     : none;
  border-top : 1px solid #ddd;
  margin     : 56px 0 48px;
}

/* ----------------------------------------------------------
   キャッチコピー
   ---------------------------------------------------------- */
.case-cta-intro {
  text-align   : center;
  margin-bottom: 40px;
  font-family  : 'Noto Sans JP', sans-serif;
}

.case-cta-h1 {
  font-size    : 28px;
  font-weight  : 600;
  line-height  : 1.8;
  color        : #1a1a1a;
  margin-bottom: 4px;
}

.case-cta-h2 {
  font-size    : 20px;
  font-weight  : 600;
  line-height  : 1.8;
  color        : #1a1a1a;
  margin-bottom: 8px;
}

.case-cta-body {
  font-size : 15px;
  color     : #555;
  line-height: 1.8;
}

/* ----------------------------------------------------------
   CONTACTエリア
   ---------------------------------------------------------- */
.case-contact-area {
  position  : relative;
  background: #D3D3D3;
  color     : #000;
  margin    : 50px 0 20px;
  padding   : 48px 16px 32px;
  text-align: center;
  font-family: 'Noto Sans JP', sans-serif;
}

.case-contact-area::before {
  content    : "CONTACT";
  position   : absolute;
  top        : -30px;
  left       : 0;
  right      : 0;
  text-align : center;
  font-size  : 60px;
  font-weight: 600;
  color      : #1a1a1a;
}

.case-contact-area > p {
  font-size    : 15px;
  margin-bottom: 16px;
}

.case-contact-flex {
  display        : flex;
  flex-wrap      : wrap;
  justify-content: center;
  gap            : 16px 32px;
  margin         : 16px 0 24px;
}

.case-contact-item {
  display    : flex;
  align-items: center;
}

.case-contact-tel {
  font-size: 16px;
}

.case-contact-tel strong {
  font-size  : 38px;
  font-weight: 700;
  margin-left: 4px;
}

.case-contact-hours {
  font-size  : 14px;
  line-height: 1.9;
  text-align : left;
}

.case-contact-btn {
  display         : inline-block;
  min-width       : 280px;
  padding         : 14px 40px;
  background-color: #333;
  color           : #fff !important;
  font-size       : 15px;
  font-weight     : bold;
  text-decoration : none;
  border          : 1px solid #333;
  transition      : background 0.25s, color 0.25s;
  line-height     : 1.8;
}

.case-contact-btn:hover {
  background-color: #fff;
  color           : #333 !important;
}

/* ----------------------------------------------------------
   レスポンシブ: タブレット
   ---------------------------------------------------------- */
@media only screen and (max-width: 1040px) {
  .case-wrap {
    margin-top   : 40px;
    margin-bottom: 60px;
    padding      : 0 32px;
  }
}

/* ----------------------------------------------------------
   レスポンシブ: スマートフォン
   ---------------------------------------------------------- */
@media only screen and (max-width: 767px) {
  .case-wrap {
    padding: 0 16px;
  }

  .case-bar {
    padding: 16px 20px;
    gap    : 14px;
  }

  .case-bar-num {
    font-size: 28px;
  }

  .case-client-name {
    font-size: 18px;
  }

  .case-cta-h1 {
    font-size: 20px;
  }

  .case-cta-h2 {
    font-size: 17px;
  }

  .case-contact-area::before {
    font-size: 40px;
    top      : -20px;
  }

  .case-contact-area {
    padding-top: 36px;
  }

  .case-contact-tel strong {
    font-size: 28px;
  }

  .case-contact-btn {
    min-width: 240px;
  }
}
