@charset "utf-8";


.company-bg{
  padding:0 0 5rem ;
  background:url(https://c4one-official.com/system_panel/uploads/images/20261021150436353639.png) no-repeat center/cover;
}


/* ===================================
Message
=================================== */

.message {
  position: relative;
  padding: 5rem 0 ;
  z-index:1;
}

.message::before {
  content:"";
  position:absolute;
  width:60%;
  height:100%;
  background:#F7F5F0;
  right:10%;
  top:0;
  z-index:-1;
}

/* 全体レイアウト */
.message-inner {
  display: grid;
  grid-template-columns: 45% 1fr;
  align-items: center;
  gap: 70px;
  max-width: 1100px;
  margin: 0 auto;
}

/* ===================================
Image
=================================== */

.message-image {
  position: relative;
  width: 100%;
  max-width: 420px;
  margin: 0 auto;
}

/* 写真を囲むゴールドライン */
.message-image::after {
  content: "";
  position: absolute;
  top: 32px;
  left: 32px;
  right: -32px;
  bottom: -32px;
  border: 1px solid #C5A367;
  pointer-events: none;
}

/* 写真 */
.message-image__inner {
  position: relative;
  z-index: 2;
}

.message-image__inner img {
  width: 100%;
  height: auto;
  display: block;
}


/* 写真背面の装飾 */
.message-image__decoration {
  position: absolute;
  width: 73%;
  height: auto;
  top: 15%;
  left: -40%;
  z-index: 1;
}

@media screen and (max-width: 767px) {
  .message-image__decoration {
    width: 45%;
    left: -20%;
  }
}


/* ===================================
Content
=================================== */

.message-content {
  min-width: 0;
}

.message-content h3 {
  font-size:clamp(1.125rem, 1rem + 0.42vw, 1.5rem);
  margin-bottom: 30px;
  color:#202327;
}

.message-content > p {
  margin-bottom: 25px;
}

/* 代表者名 */
.message-name {
  width: fit-content;
  margin: 2rem 0 0 auto;
  font-size:14px;
}

.message-name p + p {
  font-size:18px;
  color:#202327;
}

/* ===================================
Tablet
=================================== */

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

  .message-inner {
    gap: 45px;
    grid-template-columns: 1fr;
  }

  .message-image {
    max-width: 320px;
  }
}

/* ===================================
SP
=================================== */

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

  .message {
    padding: 50px 0 60px;
    background: #F7F6F2;
  }

  .message .lower-title {
    margin-left: 0;
    margin-bottom: 45px;
  }

  .message-inner {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  /* 写真 */
  .message-image {
    width: 80%;
    max-width: 320px;
  }

  .message-image::after {
    top: 15px;
    left: 15px;
    right: -15px;
    bottom: -15px;
  }

  /* 文章 */
  .message-content h3 {
    margin-bottom: 25px;
  }

  .message-content > p {
    margin-bottom: 20px;
  }

  .message-name {
    margin-top: 30px;
  }
}



/* ===================================
Achievements
=================================== */

.achievements {
  padding: 80px 0 0px;
}

/* ===================================
Numbers
=================================== */

.achievements-numbers {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 50px;
  margin: 30px auto 60px;
}

.achievements-number {
  text-align: center;
}

.achievements-number > p:first-child {
  margin-bottom: 10px;
  color:#202327;
  line-height:1.3;
  font-weight:500;
}

.achievements-number:first-child > p:first-child strong {
  font-size: 12px;
  color: #73716D;
  font-family: "Noto Sans JP", sans-serif;
}

/* 実績数値 */

.achievements-number__value {
  background-image: linear-gradient(#ddc99e, #ddc99e 20%, #f7dba5 50%, #c4a367 85% 100%);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  font-weight: 600;
  line-height: 1;
  font-size:clamp(2rem, 1rem + 3.33vw, 5rem);
}

.achievements-number__value strong{
  font-size:clamp(1rem, 0.833rem + 0.56vw, 1.5rem);
  margin-left:8px;
}

.achievements-number__value em{
  font-size: clamp(1.5rem, 0.667rem + 2.78vw, 4rem);
  margin-left:4px;
}


/* No.1 */
.achievements-no1 {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 15px;
}

.achievements-no1__left,
.achievements-no1__right {
  width: 35px;
  height: auto;
}

.achievements-no1 .achievements-number > p:first-child{
  font-size:1rem;
  margin: 0;
}

/* ===================================
Content Layout
=================================== */

.achievements-inner {
  display: grid;
  grid-template-columns: minmax(0, 2.4fr) minmax(0, 1fr);
  align-items: center;
  gap: 60px;
}

/* 左側：実績一覧 */
.achievements-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 40px;
}

/* 各項目 */
.achievements-item {
  position:relative;
  padding-left: 40px;
}

.achievements-item::before {
  background-image: linear-gradient(#c3b088, #f7dba5 55%, #987f51);
  content:"";
  width:1px;
  height:100%;
  left:0;
  top:0;
  position:absolute;
}

.achievements-item h3 {
  color:#202327;
  font-size:clamp(1.125rem, 1rem + 0.42vw, 1.5rem);
}

.achievements-item__en {
  color: #C5A367;
  margin-bottom: 20px;
  font-size:14px;
}

/* ===================================
Achievements List
=================================== */

.achievements-item .achievements-ul {
  margin-top: 15px;
}

.achievements-item .achievements-ul p {
  position: relative;
  padding-left: 12px;
}

/* ゴールドの丸 */
.achievements-item .achievements-ul p::before {
  content: "";
  position: absolute;
  top: 1.1em;
  left: 0;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #DDC99E;
  transform: translateY(-50%);
}

/* ===================================
Image
=================================== */

.achievements-image {
  width: 100%;
}

.achievements-image img {
  display: block;
  width: 100%;
  height: auto;
}

/* ===================================
Tablet
=================================== */

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

  .achievements-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .achievements-list {
    gap: 30px 25px;
  }

  .achievements-item {
    padding-left: 15px;
  }

  .achievements-number__value {
    font-size: 50px;
  }

  .achievements-image{
    max-width: 450px;
  }
}

/* ===================================
SP
=================================== */

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

  .achievements {
    padding: 50px 0 70px;
  }

  /* 実績数 */
  .achievements-numbers {
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    margin: 25px auto 45px;
  }

  .achievements-number__value {
    font-size: 35px;
  }

  .achievements-no1 {
    gap: 5px;
  }

  .achievements-no1__left,
  .achievements-no1__right {
    width: 20px;
  }

  /* 実績一覧 */
  .achievements-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .achievements-list {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .achievements-item {
    padding-left: 20px;
  }

  /* 写真 */
  .achievements-image {
    max-width: 500px;
    margin: 0 auto;
  }

  .achievements-item__en{
    margin-bottom:8px;
  }

  .company-bg{
    padding-bottom:0;
  }

}



/* ===================================
Company
=================================== */

.company {
  margin:5rem 0;
}

/* 会社概要全体 */
.company-table {
  max-width: 900px;
  margin: 0 auto;
}

/* 各行 */
.company-row {
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr);
  gap: 30px;
  margin-bottom: 15px;
}

/* 項目名 */
.company-label {
  color:#202327;
  padding: 12px 0;
  border-bottom: 1px solid #73716D;
  font-size:clamp(1rem, 0.958rem + 0.14vw, 1.125rem);
}

/* 内容 */
.company-value {
  color: #73716D;
  padding: 12px 0;
  border-bottom: 1px solid #D8D4CC;
  overflow-wrap: anywhere;
}

.company-value a{
  color: #73716D;
  text-decoration:underline;
}

/* ===================================
Tablet
=================================== */

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

  .company-row {
    grid-template-columns: 180px minmax(0, 1fr);
    gap: 20px;
  }
}

/* ===================================
SP
=================================== */

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

  .company {
    margin: 0;
    padding: 50px 0 60px;
  }

  /* 会社概要 */
  .company-row {
    grid-template-columns: 105px minmax(0, 1fr);
    gap: 15px;
    margin-bottom: 10px;
  }

  .company-label,
  .company-value {
    padding: 10px 0;
    font-size:14px;
  }
}
