/* About */
/* --- モノを守る仕事 --- */
.about-work-section .section-container {
  max-width: 450px;
  padding: 56px 24px;
}

.about-work-section .h2-gradation-wrap {
  display: flex;
  align-items: baseline;
  margin: 0 0 24px;
  gap: 29px;
}

.about-work-section .h2-gradation {
  color: var(--primary-color);
  font-size: 28px;
  font-family: "Noto Serif JP", serif;
  font-weight: 900;
  background: -webkit-linear-gradient(-82deg, #23A7EE 0%, #2488CC 20%, #2067A7 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin: 0;
}

.about-work-section .h2-gradation-wrap hr {
  flex-grow: 1;
  background: var(--primary-color);
  border: none;
  height: 1px;
  margin: 0;
}

.protect-job-wrap .text-content p {
  margin: 0 0 24px;
}

.about-work-image {
  position: relative;
}

.about-work-image::after {
  content: "";
  background: url(/images/2_about_us/Monowo_mamoru/kazari.webp) no-repeat;
  background-size: cover;
  display: block;
  position: absolute;
  top: 0;
  right: 0;
  height: 360px;
  width: 77px;
  z-index: 0;
}

.about-work-image img {
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  position: relative;
  max-width: 480px;
  width: 101%;
  z-index: 10;
}

.about-work-image img:first-child {
  margin: 0 0 9px;
}

/* --- YFP DATE BOOK 数字で見る豊ファインパック --- */
.look-at-number-section .section-container {
  max-width: 327px;
  padding: 42px 0 48px;
}

.look-at-item-wrap h3 {
  font-size: 20px;
  font-weight: 500;
  background: #ebf5fa;
  padding: 8px 16px;
  margin: 16px 0 16px 2px;
  text-align: center;
  width: fit-content;
}

.look-at-number-wrap {
  margin: 48px auto 0;
}

.look-at-item {
  background-color: #f6f6f6;
  text-align: center;
  align-content: center;
  margin: 0 0 30px;
  height: 327px;
  width: 327px;
}

.look-at-number {
  color: var(--text-color-4);
  font-size: 24px;
  font-weight: 600;
}

.look-at-number-wrap .look-at-item-wrap:nth-of-type(1) p {
  line-height: 1;
  margin: 9px 0 32px;
}

.look-at-number-wrap .look-at-item-wrap:nth-of-type(1) img {
  width: 113.36px;
}

.look-at-number-wrap .look-at-item-wrap:nth-of-type(2) p {
  line-height: 1;
  margin: 1px 0 36px;
}

.look-at-number-wrap .look-at-item-wrap:nth-of-type(2) img {
  height: 97.19px;
  width: 89.18px;
}

.look-at-number-wrap .look-at-item-wrap:nth-of-type(3) p {
  line-height: 1;
  margin: 1px 0 36px;
}

.look-at-number-wrap .look-at-item-wrap:nth-of-type(3) img {
  width: 95.1px;
}

.look-at-number span {
  font-size: 48px;
  font-weight: bold;
  color: var(--primary-color);
  line-height: 0;
  margin: 0 6px;
}

.look-at-item.look-at-graph {
  padding: 0;
}

.look-at-item.look-at-graph img {
  max-width: 340px;
  width: 100%;
}

.noodle-items .look-at-item {
  text-align: left;
  padding: 0;
}

.noodle-items .look-at-item>div {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  margin: 34px auto;
  width: 290px;
  gap: 41.45px;
}

.noodle-items img {
  height: 86px;
  width: 86px;
}

.noodle-items .look-at-item>div:first-child::before {
  content: "";
  border-bottom: 1px #eaeaea solid;
  display: block;
  position: absolute;
  top: 100px;
  height: 1px;
  width: 240px;
}

.noodle-items p {
  font-size: 19px;
  font-weight: 600;
  line-height: 1;
  margin: 4px 0 8px;
}

.noodle-items .look-at-percentage {
  color: var(--primary-color);
  font-family: var(--text-font-roboto);
  font-size: 43px;
}

.noodle-items .look-at-percentage span {
  font-size: 22px;
}

.benefit-items .look-at-item {
  padding: 0 60.7px 0 30px;
  margin: 0;
}

.benefit-items .benefits-list {
  text-align: left;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 21.6px 0;
  height: 100%;
}

.benefit-items .benefits-list img {
  width: 20px;
  margin: 0 8px 0 0;
}

.benefit-items .benefit-label {
  font-size: 14.75px;
  font-weight: 600;
  display: flex;
  position: relative;
  align-items: center;
}

.benefits-list li p { margin: 0; }

.benefit-items .benefit-label::before {
  content: "";
  border-bottom: 1px #eee solid;
  display: block;
  position: absolute;
  top: 33px;
  left: -15px;
  height: 1px;
  width: 300px;
}

.benefits-list>li:last-child .benefit-label::before {
  border-bottom: 0;
}

.benefit-items .benefit-label::after {
  content: "";
  display: inline-block;
  margin: 0 0 0 auto;
  height: 22.13px;
  width: 66.64px;
}

.benefit-items li:nth-child(1) .benefit-label::after {
  background: url("/images/2_about_us/people-4.png") no-repeat;
  background-size: contain;
}

.benefit-items li:nth-child(2) .benefit-label::after,
.benefit-items li:nth-child(3) .benefit-label::after,
.benefit-items li:nth-child(4) .benefit-label::after {
  background: url("/images/2_about_us/people-3.png") no-repeat;
  background-size: contain;
}

.benefit-items li:nth-child(5) .benefit-label::after,
.benefit-items li:nth-child(6) .benefit-label::after {
  background: url("/images/2_about_us/people-2.png") no-repeat;
  background-size: contain;
}

.benefit-items li:nth-child(7) .benefit-label::after {
  background: url("/images/2_about_us/people-1.png") no-repeat;
  background-size: contain;
}

/* --- 代表メッセージ --- */
.president-wrap {
  padding: 56px 18px 26px;
  align-items: center;
}
.president-about-wrap{
  max-width: 704px;
  margin: 0 auto;
}

.message-photo-sp {
  padding: 0px 22px 0;
  margin: 40px auto 16px;
  max-width: 368px;
}

.message-photo-pc { display: none; }

.president-wrap .main-message-catch p {
  background: #fff;
  color: var(--text-color-2);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: normal;
  padding: 3px 7px;
  width: fit-content;
}

.president-wrap .main-message-catch p:nth-child(1) { margin: 0 0 4px; }
.president-wrap .main-message-catch p:nth-child(2) { margin: 0 0 24px; }

.president-wrap .main-message-wrap h3 {
  font-size: 20px;
  font-weight: 500;
  margin: 0 0 10px;
}

.president-about p {
  font-weight: 500;
  margin: 0 0 24px;
}

.president-wrap .message-text {
  background: #f2f2f2dd;
  color: var(--text-color-1);
  padding: 24px;
  margin: 0 -18px 0;
}

.president-wrap .message-text p {
  line-height: 1.74;
  max-width: 704px;
  margin:0 auto;
}

.president-wrap .message-text p:last-child {
  font-weight: 400;
  margin-bottom: 0;
}

/* --- 会社概要 --- */
.company-profile-section {
  background: url('/images/2_about_us/mobile/kazari_mobile.webp') no-repeat top right;
  background-size: 76px 172px;
}

.company-profile-section .section-container {
  padding: 56px 24px 16px;
}

.profile-list {
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: 8px 8px;
  padding: 10px 0 0 4px;
}

.profile-list>dt,
.profile-list>dd {
  padding: 10px 0 22px;
  border-bottom: 1px solid #ddd;
}

.profile-list>dt {
  grid-column: 1;
  color: var(--primary-color);
  text-align: center;
  letter-spacing: 1.4px;
}

.profile-list>dd {
  grid-column: 2;
  padding-left: 24px;
}

.profile-list .company-location dt {
  font-weight: 400;
  margin: 0 0 4px;
}

.profile-list .company-location dd {
  font-size: 14px;
  line-height: 2;
}

.company-location .location-last-dd {
  margin: 0 0 20px;
}

/* --- 沿革 --- */
.company-history-section .section-container {
  padding-bottom: 26px;
}

.history-list {
  display: flex;
  flex-direction: column;
  padding: 44px 0 0;
}

.history-row {
  display: flex;
  position: relative;
  padding-bottom: 30px;
}

.history-row:last-child {
  padding-bottom: 0;
}

.history-date {
  flex-shrink: 0;
  text-align: center;
  margin: 0 8px 0 0;
  width: 60px;
}

.year-main {
  display: block;
  color: var(--primary-color);
  font-size: 20px;
  font-weight: bold;
  font-family: var(--text-font-roboto);
  text-align: center;
}

.year-sub {
  display: block;
  font-size: 12px;
  color: #666;
  margin: 4px 0 0;
}

.history-marker {
  position: relative;
  display: flex;
  flex-shrink: 0;
  justify-content: center;
  width: 20px;
}

.history-marker::before {
  content: '';
  display: block;
  width: 8px;
  height: 8px;
  background-color: var(--primary-color);
  border-radius: 50%;
  position: absolute;
  align-self: center;
  z-index: 2;
}

.history-marker::after {
  content: '';
  display: block;
  width: 1px;
  background-color: #eaeaea;
  position: absolute;
  top: 20px;
  bottom: -54px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
}

.history-row:last-child .history-marker::after {
  content: '';
  display: block;
  width: 1px;
  background-color: #eaeaea;
  position: absolute;
  top: 20px;
  bottom: -4px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
}

.history-content {
  flex-grow: 1;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.56;
  letter-spacing: 0.3px;
  padding: 0 0 0 4px;
  margin: auto 0;
}

/* TAB */
@media screen and (min-width: 768px) {
  .about-work-section .section-container { max-width: 736px; }
  .about-work-image { display: flex; }
  .about-work-image::after { height: 230px; }
  .about-work-image img:first-child { margin: 0; }

  .look-at-number-section .section-container {
    max-width: 780px;
    padding: 8px 32px;
  }

  .look-at-number-wrap {
    display: flex;
    justify-content: space-between;
  }

  .look-at-number-wrap-col2 {
    display: flex;
    justify-content: space-between;
  }

  .look-at-item { height: 220px; width: 220px; }
  .look-at-number { margin: 0 0 18px; }

  .look-at-item.look-at-graph,
  .noodle-items .look-at-item {
    height: 344px;
    width: 344px;
  }

  .noodle-items .look-at-item>div:first-child::before { width: 290px; }

  .look-at-item.look-at-graph img {
    height: auto;
    max-width: 350px;
  }

  .benefit-items .look-at-item {
    height: 344px;
    width: 344px;
    padding: 0 38px;
  }

  .president-wrap .message-text { padding: 52px 48px; }
  .president-wrap .message-catch-wrap { margin: 0 0 54px; }

  .company-profile-section .section-container { max-width: 600px; }

  .company-history-section .section-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-bottom: 120px;
  }

  .history-row:last-child .history-marker::after { bottom: -20px; }
}

/* PC */
@media screen and (min-width: 1024px) {
  .about-work-section .section-container {
    padding: 97px 32px 100px;
    max-width: 1020px;
  }

  .about-work-section .h2-gradation-wrap { margin: 0 0 55px; gap: 29px; }

  .about-work-section .h2-gradation {
    font-size: 48px;
    white-space: nowrap;
  }

  .protect-job-wrap { display: flex; }

  .protect-job-wrap .text-content { max-width: 438px; }
  .protect-job-wrap .text-content p { margin: 0 0 40px; }

  .about-work-image { display: block; text-align: end; }

  .about-work-image::after {
    margin: -64px 0 0;
    height: 636px;
    width: 288px;
  }

  .about-work-image img {
    max-width: 486px;
    width: 101%;
  }

  .about-work-image img:first-child { margin: 0 0 48px; }

  .look-at-number-section .section-container {
    max-width: 940px;
    padding: 8px 0px 100px;
  }

  .look-at-item-wrap h3 { font-size: 24px; }
  .look-at-item { height: 280px; width: 280px; }
  .look-at-number { font-size: 26px; margin: 0 0 18px; }
  .look-at-number span { font-size: 48px; }

  .look-at-item.look-at-graph,
  .noodle-items .look-at-item {
    height: 444px;
    width: 444px;
  }

  .look-at-item.look-at-graph img { max-width: 540px; }

  .noodle-items img { height: auto; width: 128px; }
  .noodle-items p { font-size: 28px; }
  .noodle-items .look-at-percentage { font-size: 64px; }
  .noodle-items .look-at-percentage span { font-size: 32px; }

  .noodle-items .look-at-item>div {
    width: 100%;
    gap: 62px;
  }

  .noodle-items .look-at-item>div:first-child::before {
    top: 142px;
    width: 359px;
  }

  .benefit-items .look-at-item {
    height: 444px;
    width: 444px;
    padding: 0 54px;
  }

  .benefit-items .benefits-list {
    padding: 42px 0 32px;
  }

  .benefit-items .benefits-list img { width: 30px; margin: 0 10px 0 0px; }
  .benefit-items .benefit-label { font-size: 21px; }
  .benefit-items .benefit-label::before { top: 45px; left: -24px; width: 390px; }
  .benefit-items .benefit-label::after { height: 28px; width: 106px; }

  .president-wrap { padding: 42px 18px 58px; }

  .president-wrap .president-about-wrap {
    max-width: 980px;
    position: relative;
    margin: 0 auto 52px;
  }

  .president-wrap .h2-type1-wrap {
    position: absolute;
    transform: translateY(86px);
  }

  .president-wrap .h2-type1-wrap p { margin: 0 0 5px; }
  .president-wrap .h2-type1-wrap h2::after { margin: 28px 0 0; }

  .message-photo-sp { display: none; }
  .message-photo-pc { display: block; }
  .message-photo-pc img { max-width: 440px; }

  .president-wrap .main-message-wrap {
    display: flex;
    justify-content: space-between;
    text-align: right;
    gap: 52px;
  }

  .president-wrap .message-catch-wrap { margin: auto 0 4px; }
  .president-wrap .main-message-catch { margin: 0 0 69px; }

  .president-wrap .main-message-catch p {
    font-size: 24px;
    height: 54px;
  }

  .president-wrap .main-message-catch p:nth-child(1) {
    padding: 7px 22px;
    margin: 0 0 8px auto;
  }

  .president-wrap .main-message-catch p:nth-child(2) { margin: 0 0 0 auto; }

  .president-wrap .main-message-wrap h3 { font-size: 32px; margin: 0 0 14px; }
  .president-about p { font-size: 24px; margin: 0; }

  .president-wrap .message-text { padding: 43px 0; }
  .president-wrap .message-text p{ max-width: 980px; margin: 16px auto; }

  .company-profile-section {
    background: url('/images/2_about_us/mobile/kazari_mobile.webp') no-repeat top right;
    background-size: 124px 432px;
  }

  .company-profile-section .section-container {
    max-width: 1132px;
    width: 100%;
    padding: 82px 80px 18px;
  }

  .profile-list { gap: 24px 20px; padding: 40px 14px 0; }
  .profile-list>dt, .profile-list>dd { font-size: 20px; }

  .profile-list>dt {
    width: 102px;
    text-align: left;
    padding: 10px 0px 0px 20px;
  }

  .profile-list>dd { padding: 10px 0 38px 24px; }
  .profile-list .company-location dt { margin: 0 0 6px; }
  .profile-list .company-location dd { font-size: 16px; }
  .company-location .location-last-dd { margin: 0 0 32px; }

  .company-history-section .section-container { padding-bottom: 210px; }
  .company-history-section .h2-type4-wrap { text-align: left; }

  .history-list { padding: 82px 0 0; }
  .history-row { padding-bottom: 38px; }

  .history-date { margin: 0 60px 0 0; width: 162px; }

  .year-main { display: inline; font-size: 32px; padding: 0 4px 0 0; }
  .year-sub { display: inline; font-size: 16px; font-weight: 600; vertical-align: super; }

  .history-content {
    font-size: 16px;
    font-weight: 500;
    padding: 0 0 0 52px;
  }
}

@media screen and (min-width: 1280px) {
  .about-work-section .section-container {
    max-width: 1120px;
    padding-left: 0;
    padding-right: 0;
  }

  .protect-job-wrap .text-content {
    max-width: 545px;
    width: 100%;
  }

  .look-at-number-section .section-container { max-width: 1120px; }

  .look-at-item { height: 323px; width: 352px; }
  .look-at-number { margin: 0 0 18px; }

  .look-at-item.look-at-graph,
  .noodle-items .look-at-item {
    height: 544px;
    width: 544px;
  }

  .noodle-items .look-at-item { margin-bottom: 0; }

  .look-at-item.look-at-graph img { height: auto; max-width: 540px; }

  .look-at-item-wrap h3 { font-size: 24px; }
  .look-at-number { font-size: 32px; }
  .look-at-number span { font-size: 64px; }

  .noodle-items img { height: auto; width: 128px; }
  .noodle-items p { font-size: 28px; }
  .noodle-items .look-at-percentage { font-size: 64px; }
  .noodle-items .look-at-percentage span { font-size: 32px; }

  .benefit-items .look-at-item { height: 544px; width: 544px; }
  .benefit-items .benefit-label { font-size: 24px; }
  .benefit-items .benefit-label::before { top: 54px; left: -24px; width: 488px; }
  .benefit-items .benefit-label::after { height: 36px; margin: 0 53px 0 auto; }

  .president-wrap { padding: 42px 24px 58px; }

  .president-wrap .h2-type1-wrap {
    position: absolute;
    padding: 0 0 0 56px;
  }

  .message-photo-pc { display: block; padding: 0; margin: 0; }

  .president-wrap .main-message-wrap {
    max-width: 1042px;
    gap: 115px;
    margin:0 auto;
  }

  .president-wrap .main-message-catch p { font-size: 24px; padding: 6px 22px; }
  .president-wrap .main-message-catch p:nth-child(1) { margin: 0 0 8px auto; }
  .president-wrap .main-message-catch p:nth-child(2) { margin: 0 0 24px auto; }

  .president-wrap .message-p-wrap { max-width: 1120px; margin: 0 auto; }
  .president-wrap .president-about-wrap{ max-width: 1280px; margin: 0 auto 64px; }
  .president-wrap .message-text{ margin: 0 -24px; }
}
