/* ==========================================================
   ここからは2026年7月に修正したcssです
   ========================================================== */

/* CASE */

.p-home-case {
	background:
		linear-gradient(
			180deg,
			rgba(217, 217, 217, 0.07) 0%,
			#eaeaea 100%
		);
	margin: 100px 0;

}

.p-home-case__link {
    text-align: center !important;
    padding-bottom: 100px !important;
}

.c-section.p-home-case {
	margin-bottom: 0 !important;
}

.c-section.c-section--padding.p-home-column {
	margin-top: 0;
}

/* c-case
--------------------------- */
.c-case-item__body {
  border-radius: 16px;
  background-color: #fff;
  padding: 0 0 70px !important; 
  position: relative !important;
  display: block !important;
}

/* 2. ボタンの位置調整 */
.c-case-item__title::after {
  content: "";
  width: 30px;
  height: 30px;
  aspect-ratio: 1 / 1;
  background: url(../img/common/arrow-right-circle.svg) no-repeat center / contain;
  position: absolute;
  right: 24px;  
  bottom: 24px; 
}

.c-case-item__thumb {
	border-radius: 0;
}

.c-case-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(3, auto) 1fr;
  gap: 0 5.5%;
	margin-bottom: 80px;
}

.c-case-item__meta {
	padding-left:13px;
	padding-right: 13px;
}

@media screen and (max-width: 767px) {
  .c-case-list {
    grid-template-columns: 100%;
  }
}
.c-case-list > :where(li) {
  grid-row: span 4;
  display: grid;
  grid-template-columns: 100%;
  grid-template-rows: subgrid;
  gap: 0;
	border-radius: 16px;
}

.c-case-list > :where(li:nth-child(n+4)) {
  margin-top: 100px;
}

@media screen and (max-width: 767px) {
  .c-case-list > :where(li:nth-child(n+4)) {
    margin-top: 60px;
  }
}
@media screen and (max-width: 767px) {
  .c-case-list > :where(li:nth-child(n+2)) {
    margin-top: 60px;
  }
}
.c-case-list .c-case-item {
  grid-row: span 4;
  display: grid;
  grid-template-columns: 100%;
  grid-template-rows: subgrid;
  gap: 0;
}
.c-case-list .c-case-item__body {
  grid-row: span 4;
  display: grid;
  grid-template-columns: 100%;
  grid-template-rows: subgrid;
  gap: 0;
  align-items: flex-start;
}

.c-case-item__body {
  display: block;
}
.c-case-item a:hover {
  opacity: 0.6;
}
.c-case-item__thumb {
  border-radius: 16px 16px 0 0;
	aspect-ratio: 356/222; 
	overflow: hidden;
}

.c-case-item__thumb img {
	width: 100%;
	height: 100%;
	-o-object-fit: cover;
	   object-fit: cover;
	vertical-align: bottom; 
}
.c-case-item__meta {
  margin-top: 36px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
@media screen and (max-width: 767px) {
  .c-case-item__meta {
    gap: 5px;
  }
}
.c-case-item__date {
  font-family: "Jost", sans-serif;
  font-optical-sizing: auto;
  font-style: normal;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.4285714286em;
  letter-spacing: 0.1em;
  font-size: clamp(12px, 12px + 2 * (100vw - 375px) / 991, 14px);
  color: #D83535;
}
.c-case-item__cats {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}
.c-case-item__cat {
  padding: 0 14px;
  background: #D83535;
  border-radius: 10em;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.6923076923em;
  letter-spacing: normal;
  font-size: clamp(10px, 10px + 3 * (100vw - 375px) / 991, 13px);
  color: #ffffff;
}
.c-case-item__title {
  margin-top: 8px !important;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.5em;
	color: #D83535;
  letter-spacing: normal;
  padding: 0 13px 13px 13px;
  font-size: clamp(14px, 14px + 2 * (100vw - 375px) / 991, 16px);
}
@media screen and (max-width: 767px) {
  .c-case-item__title {
    margin-top: 10px;
  }
}


/* ****実績一覧のページ***** */
.c-section.p-case__archive {
	background: linear-gradient(
	to bottom,
	rgba(255, 240, 221, 1) 0%,    
	rgba(253, 223, 210, 0.96) 20%,  
	rgba(254, 233, 224, 0.97) 80%, 
	rgba(255, 255, 255, 1) 100%   
);
}



/* *******実績詳細ページの****** */

/* ========================================
   Case Study Page - 
   ======================================== */

:root {
  --color-primary: #e8493d;
  --color-primary-dark: #d03d32;
  --color-text: #333333;
  --color-text-light: #666666;
  --color-text-muted: #999999;
  --color-bg: #ffffff;
  --color-bg-grey: #f5f5f5;
  --color-bg-cta: linear-gradient(180deg, #fff5f3 0%, #ffe8e4 100%);
  --color-border: #e0e0e0;
  --color-btn-dark: #3d3d3d;
  --color-btn-dark-hover: #555555;
  --font-base: "Zen Kaku Gothic New", "Hiragino Kaku Gothic ProN", "Noto Sans JP", sans-serif;
  --font-en: "Jost", sans-serif;
  --container-width: 1100px;
  --header-height: 80px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-base);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}

a {
  color: inherit;
  text-decoration: none;
  transition: opacity 0.2s;
}

a:hover {
  opacity: 0.75;
}

ul {
  list-style: none;
}

.h3 {
  position: relative;
  padding-left: 20px; 
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 32px;
}


.mb-40 {
  margin-bottom: 40px;
}

.h4 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 24px;
}


/* Container */
.l-container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 40px;
}

.l-container--wide {
  max-width: 1200px;
}


/* ========================================
   Case Study Main
   ======================================== */
.p-case {
  padding-bottom: 80px;
}

.p-case__title {
  font-size: clamp(1.375rem, 2.5vw, 1.75rem);
  font-weight: 700;
  line-height: 1.6;
  margin: 32px 0 48px;
  letter-spacing: 0.02em;
}

/* Hero / Company Info */
.p-case__hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 40px;
  row-gap: 0;
  margin-bottom: 150px;
	width: 100%;
}

.p-case__logo {
  grid-column: 1;
  grid-row: 1;
  background: var(--color-bg-grey);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  aspect-ratio: 487 / 300;
  padding: 32px;
}

.p-case__logo img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}

.p-case__info-head {
  grid-column: 2;
  grid-row: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin-bottom: 0;
  padding: 32px 0;
}

.p-case__details--left {
  grid-column: 1;
  grid-row: 2;
	margin-top: 40px;
}

.p-case__details--right {
  grid-column: 2;
  grid-row: 2;
	margin-top: 40px;
}

.c-case-item__cats {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.c-case-item__cat {
  padding: 0 14px;
  background: #d83535;
  border-radius: 10em;
  font-weight: 700;
  line-height: 1.6923076293em;
  letter-spacing: normal;
  font-size: 13px;
  color: #fff;
}

.small {
  font-size: 12px;
  color: #2f2f2f;
  margin-top: 32px;
}

.p-case__details {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 0;
  border-top: 1px solid var(--color-border);
}


.p-case__detail-label,
.p-case__detail-value {
  padding: 14px 0;
  border-bottom: 1px solid var(--color-border);
  font-size: 0.875rem;
  line-height: 1.7;
}

.p-case__detail-label {
  color: var(--color-text-light);
  font-weight: 500;
}

.p-case__detail-value {
  padding-left: 16px;
}

.p-case__measures-list {
  margin: 0;
  padding: 0;
}

.p-case__measures-list li {
  line-height: 1.7;
	 list-style: none !important;
}

/* Content Sections */
.p-case__content {
  width: 100%;
}

.p-case__section {
  margin-bottom: 100px !important;
	width: 100%;
	max-width: var(--container-width);
	margin: 0 auto;
}

.p-case__section-title {
  position: relative;
  font-size: 32px;
  font-family: 'zen kaku gothic new';
  font-weight: 400;
  padding-left: 20px;
  padding-bottom: 10px;
  margin-bottom: 24px;
  line-height: 1.5;
  color:#d83535;
  border-bottom: 1px solid #d83535;
}



.p-case__section p {
  font-size: 0.9375rem;
  color: var(--color-text);
  margin-bottom: 1.2em;
  line-height: 2;
}

.p-case__section p:last-child {
  margin-bottom: 0;
}

.p-case__phase {
  margin-top: 32px;
}

/* Results List */

.p-case__results-item-title {
  margin-top: 56px;
	list-style:none !important;
}

.attendee-profile li {
	list-style:none !important;
}

/* ********footer********** */





/* ========================================
   Responsive
   ======================================== */
@media (max-width: 1024px) {
  .p-case__hero {
    grid-template-columns: 1fr;
    column-gap: 0;
    row-gap: 24px;
  }

  .p-case__logo {
    grid-column: 1;
    grid-row: 1;
  }

  .p-case__info-head {
    grid-column: 1;
    grid-row: 2;
    padding: 0;
  }

  .p-case__details--left {
    grid-column: 1;
    grid-row: 3;
  }

  .p-case__details--right {
    grid-column: 1;
    grid-row: 4;
  }
}

@media (max-width: 768px) {
  .p-case__details {
    grid-template-columns: 90px 1fr;
  }
}
