@charset "UTF-8";
@import url(//use.fontawesome.com/releases/v5.0.11/css/all.css);
/* 共通スタイル */
body.sort .sort-ttl, body.sort .tag-allBtn {
    display: block !important;
}

body.sort h3.ttl-new, body.all h3.ttl-all, .sortbtn {
    display: none;
}
.bg-gray02,
.bg-tag{
  background-color: #F5F5F5 !important;
}

@media (min-width:1155px) {
  #case .contents .container {
    width: 1010px
  }
  section.section, h1.section, div#h1.section, #breadcrumb .section {
    width: 1010px
  }
}
section.section, h1.section, div#h1.section, #breadcrumb .section {
    width: 100%;
	max-width: 980px;
    margin-left: auto;
    margin-right: auto;
    padding-top: 2em;
    padding-bottom: 2em;
    margin-bottom: 0px;
}

section.section.common-section {
	padding-top: 0;
}
.sort-ttl .section {
    display: flex;
    justify-content: space-between;
    position: relative;
    padding-top: 0;
}
.sort-ttl .section h2 {
    font-weight: normal;
    font-size: 20px;
}

.sort-ttl .section h2 span {
    font-weight: bold;
    color: #008CAA;
}

ul.tag-allBtn li {
    color: #FFF;
    background-color: #008CAA;
    font-size: 12px;
    font-weight: normal;
    line-height: 32px;
    text-align: center;
    display: inline-block;
    padding: 0 1em;
    right: 0px;
    border-radius: 5px;
    position: absolute;
    z-index: 100;
}

dl.btn_show dt.is_active {
  color: #008CAA;
  background-color: #fff;
  box-shadow: 0px 0px 0px rgba(0, 0, 0, 0);
  border-bottom: 1px solid #EEEEEE;
  border-radius: 5px 5px 0px 0px;
}

dl.btn_show dt {
    background-color: #008CAA;
    padding: 1em;
    color: #FFFFFF;
    text-align: center;
    font-weight: bold;
    border-radius: 5px;
    cursor: pointer;
    font-size: 20px;
    position: relative;
    box-shadow: 0px 3px 0px rgba(0, 0, 0, 0.06);
}

dl.btn_show dd {
  background-color: #fff;
  padding: 20px;
  border-radius: 0px 0px 5px 5px;
  box-shadow: 0px 3px 0px rgba(0, 0, 0, 0.06);
}

dl.btn_show dd > p {
  text-align: center;
  margin-bottom: 1em;
}
dl.btn_show dd h3 {
  background-color: #EEEEEE;
  padding: .5em 1em;
  font-weight: bold;
}
dl.btn_show dd ul {
  margin: 0;
}
dl.btn_show dd ul.industry {
  margin-bottom: 2em;
  background-color: #EEEEEE;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  padding: 0px 10px;
}
dl.btn_show dd ul.industry li {
  width: calc(100%/5 - 10px);
  margin-bottom: 10px;
}
dl.btn_show dd ul.industry li {
  color: #fff;
  font-weight: bold;
  background-color: #008CAA;
  display: block;
  text-align: center;
  border-radius: 5px;
  padding: .8em;
  line-height: 1;
  border: 1px solid #018CAA;
  cursor: pointer;
}
dl.btn_show dd ul.industry li:hover {
  color: #008CAA !important;
  background-color: #fff;
  text-decoration: none !important;
}

dl.btn_show dd ul.tag {
  padding: 1em 0;
}
dl.btn_show dd ul.tag li {
  display: inline-block;
  margin-bottom: 5px;
  cursor: pointer;
  font-size: 12px;
  line-height: 1;
  color: #008CAA;
  text-align: center;
  border-radius: 5px;
  padding: .5em;
  border: 1px solid #008CAA;
  display: inline-block;
}
dl.btn_show dd ul.tag li:hover {
  color: #fff !important;
  background-color: #008CAA;
}
dl.btn_show dd ul.btn {
  display: flex;
  justify-content: center;
  padding: 1em 0;
}
dl.btn_show dd ul.btn li {
  color: #fff;
  font-weight: bold;
  background-color: #008CAA;
  display: block;
  text-align: center;
  border-radius: 5px;
  padding: .5em 2em;
  border: 1px solid #018CAA;
  cursor: pointer;
}
dl.btn_show dd ul.btn li:hover {
  color: #008CAA !important;
  background-color: #fff;
  text-decoration: none !important;
}
dl.btn_show dd ul.btn li:first-child {
  margin-right: .5em;
}
@media screen and (max-width:767px) and (min-width:1px) {
  dl.btn_show dt {
    font-size: 16px;
    line-height: 1.4;
    padding: .8em 1em;
  }
  dl.btn_show dd ul.industry {
    padding: 10px;
  }
  dl.btn_show dd ul.industry li {
    width: calc(100%/2 - 2px);
    margin-bottom: 5px;
  }
  dl.btn_show dd ul.btn {
    flex-wrap: wrap;
  }
  dl.btn_show dd ul.btn li {
    width: 100%;
  }
  dl.btn_show dd ul.btn li:first-of-type {
    margin-right: 0;
    margin-bottom: 10px;
  }
  dl.btn_show dd ul.tag li {
    padding: 1em 1.5em;
  }
  .sort-ttl .section {
    display: block;
}
  
}
#caseStudy section h3.ttl {
    font-size: 30px;
    font-weight: bold;
	color: black;
	padding-bottom: 1em;
}

.case-section dl.tag dd li {
    display: inline-block;
    padding: 3px 10px;
    font-size: 11px;
    font-weight: 600;
    color: white;
    background: #ADD8E6;
    border-radius: 2px;
    text-decoration: none;
    transition: background 0.15s, color 0.15s;
}

section dl.tag dd span{
    display: inline-block;
    padding: 3px 10px;
    font-size: 11px;
    font-weight: 600;
    color: white;
    background: #0f8f9a;
    border-radius: 2px;
    text-decoration: none;
    transition: background 0.15s, color 0.15s;
}

.section dl.tag dd span:hover, .case-section dl.tag dd li:hover {
    background: #003087;
    color: #fff;
}

.section dl.tag ul.tag {
	display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: auto;
    padding: 4px 0 0 0;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
 
  body {
    font-family: "Hiragino Kaku Gothic ProN", "Noto Sans JP", sans-serif;
    background: #f5f6f8;
    color: #222;
  }
 
.section-wrap {
    max-width: 1100px;
    margin: 40px auto;
    padding: 0 20px;
  }
 
.section-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
    padding-bottom: 14px;
    border-bottom: 2px solid #003087;
  }
.section-header h2 { font-size: 20px; font-weight: 700; color: #003087; }
.section-header .count {
    display: inline-flex; align-items: center; justify-content: center;
    width: 28px; height: 28px;
    background: #003087; color: #fff;
    font-size: 13px; font-weight: 700; border-radius: 4px;
  }
 
  /* Grid */
.case-section {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }
  @media (max-width: 900px) { .case-section { grid-template-columns: repeat(2, 1fr); } }
  @media (max-width: 580px)  { .case-section { grid-template-columns: 1fr; } }
 
  /* ===== card wrapper = KeyXxx div ===== */
  /* JS dùng $('.case-section > div') nên div này phải là con trực tiếp */
.case-section > div {
    background: #fff;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.2s, transform 0.2s;
  }
.case-section > div:hover {
    box-shadow: 0 6px 20px rgba(0,0,0,0.14);
    transform: translateY(-3px);
  }
 
  /* image */
.cms_case_list_item_image {
    width: 100%;
    overflow: hidden;
    background: #dde2ea;
    line-height: 0;
  }
.cms_case_list_item_image a 
{ 
	display: block; 
}
.cms_case_list_item_image img {
    width: 100%; 
	height: 196.44px;
    display: block;
    transition: transform 0.3s;
  }
.case-section > div:hover .cms_case_list_item_image img {
    transform: scale(1.04);
  }
 
  /* detail */
.cms_case_list_item_detail {
    padding: 14px 16px 10px;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
  }
 
  /* title */
.cms_case_list_item_title {
    font-size: 14px;
    font-weight: 700;
    line-height: 1.55;
    color: #005092;
  }
 
  /* text */
.cms_case_list_item_text {
    font-size: 12px;
    line-height: 1.75;
    color: #555;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
 .cms_case_list_item_detail p {
	margin: 0px;
 }
 
 .cms_case_list_item_detail dl dt {
	font-weight: bold;
 }
  /* category */
.cms_case_list_item_category {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: auto;
    padding-top: 4px;
  }
.cms_case_list_item_category div a {
    display: inline-block;
    padding: 3px 10px;
    font-size: 11px;
    font-weight: 600;
    color: #003087;
    background: #e8edf5;
    border-radius: 2px;
    text-decoration: none;
    transition: background 0.15s, color 0.15s;
  }
.cms_case_list_item_category div a:hover {
    background: #003087;
    color: #fff;
  }
 
  /* btn */
.cms_case_list_item_btn {
    padding: 10px 16px 14px;
    display: flex;
    justify-content: center;
  }
.cms_case_list_item_btn a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 18px;
    font-size: 12px;
    font-weight: 700;
    color: #fff;
    background: #003087;
    border-radius: 2px;
    text-decoration: none;
    letter-spacing: 0.04em;
    transition: background 0.15s;
  }
.cms_case_list_item_btn a::after { content: "●"; font-size: 9px; }
.cms_case_list_item_btn a:hover { background: #0073c8; }

