body,
h1,
h2,
h3,
h4,
h5,
h6,
p,
section {
  margin: 0;
  padding: 0;
}

/* ページタイトル */
.page-title h1 {
  margin-bottom: 40px;
}

.page-title p {
  margin: 20px 0;
  font-size: 1.8rem;
  line-height: 1.6em;
}

.sec1 {
  padding: 70px 0 90px;
}

.sec2 {
  padding: 70px 0 100px;
}

.sec3 {
  padding: 75px 0 40px;
}

/* Sustainability */
.container1 {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
}

.vertical-line {
  width: 1px;
  background-color: #D80C18;
}

.content {
  flex-grow: 1;
  /* コンテンツ部分をフレキシブルに拡張 */
  padding: 20px;
}

.subtitle_1 {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: bold;
  font-size: 20px;
  color: #D80C18;
}

.title_1 {
  font-family: "Outfit", sans-serif;
  font-size: 3.2rem;
  font-weight: bold;
  text-align: center;
  color: #D80C18;
  margin-bottom: 20px;
}

.heading,
.heading2 {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: bold;
  font-size: 24px;
  color: #D80C18;
  margin-left: 55px;
  margin-bottom: 10px;
}

.text {
  width: 80%;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: normal;
  font-size: 18px;
  color: #333333;
  line-height: 1.6;
  margin-inline: auto;
  margin-bottom: 50px;
}


/* 事業を通じた社会貢献 */
.outer-container2 {
  width: 100%;
  background: #F8F8F8;
}

.container2 {
  max-width:  1100px;
  width: 100%;
  margin: 0 auto;
  text-align: center;
}

.title_2 {
  color: #D80C18;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: bold;
  font-size: 3.4rem;
  padding-top: 30px;
}

.columns {
  display: flex;
  margin: 0 auto;
  justify-content: center;
  gap: 30px;
}

.column {
  width: 50%;
  /* margin: 30px; */
  padding: 20px 0;
  box-sizing: border-box;
}

.image-wrapper {
  position: relative;
}

.image-wrapper img {
  width: 100%;
  max-height: 300px;
  display: block;
}

.image-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 80px;
  background-color: #D80C18;
  opacity: 80%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.image-text {
  color: #fff;
  font-family: "Yu Gothic", sans-serif;
  font-weight: bold;
  font-size: 24px;
}

.comment {
  color: #333333;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: normal;
  font-size: 20px;
  line-height: 1.6em;
  padding-top: 10px;
}


/* EGSへの取り組み */
.outer-container3 {
  width: 100%;
  padding-bottom: 70px;
}

.title-bar {
  width: 100%;
  height: 40px;
  background-color: #D80C18;
  display: flex;
  align-items: center;
}

.red_bottomline {
  width: 100%;
  border-bottom: 1px solid #D80C18;
}

.red_topline {
  width: 100%;
  border-top: 1px solid #D80C18;
}

.title-bar-text {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: bold;
  font-size: 24px;
  color: #fff;
  margin-top: -40px;
}

.container3 {
  display: flex;
  max-width: 1100px;
  margin: 0px auto;
  padding: 0px;
  gap: 45px;
}

.section-title3 {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: normal;
  font-size: 5rem;
  text-align: left;
  color: #9E9C9C;
}

.section-title3 span {
  color: #D80C18;
}

.content3 {
  display: flex;
  flex-direction: column;
  margin-inline: auto;
}

.image-area img {
  width: 100%;
  height: auto;
}

.title_3 {
  color: #D80C18;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: bold;
  font-size: 3.4rem;
  padding-top: 30px;
  text-align: center;
}


.comment {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: medium;
  font-size: 18px;
  color: #333;
}

.text-area {
  display: flex;
  flex-direction: column;
}

.subtitle_3 {
  font-size: 2.4rem;
  min-height: 3em;
}

.row_area {
  display: contents;
}

.innercontainer1 {
  width: 100%;
}


/*  トップに戻るボタン   */
.top_button {
  display: block;
  margin: 0 auto;
  border: none;
  background: none;
  padding-bottom: 150px;
  cursor: pointer;
}


@media (max-width: 767px) {

  /* ページタイトル */
  .page-title h1 {
    margin-bottom: 0px;
  }

  .page-title p {
    margin: 20px 0;
    font-size: 1.1rem;
    line-height: 1.6em;
  }

  /* container1 */
  .container1 {
    width: 100%;
    flex-direction: column;
    /* 縦並び */
  }

  .vertical-line {
    display: none;
    /* 縦線を非表示 */
  }

  .content {
    padding: 30px;
  }

  .text {
    width: 100%;
  }

  .subtitle_1,
  .title_1,
  .heading,
  .heading2,
  .text,
  .text2 {

    text-align: justify;
  }

  .title_1 {
    font-size: 2.4rem;
    text-align: center;
  }

  .container2 {
    width: 100%;
    padding: 30px;
    /* パディング調整 */
  }

  .title_2 {
    font-size: 2.7rem;
    padding: 10px 0px;
  }

  .title_3 {
    font-size: 2.7rem;
    padding: 10px 0px;
  }

  .columns {
    flex-direction: column;
    /* 縦並びにする */
  }

  .column {
    width: 100%;
    /* 幅を100%にする */
    padding: 10px;
    /* パディングを調整 */
  }

  .image-wrapper img {
    height: auto;

  }

  .image-text {
    font-size: 20px;
    /* テキストのフォントサイズを調整 */
  }

  .comment {
    font-size: 15px;
    padding-bottom: 10px;
    /* コメントのフォントサイズを調整 */
  }


  /* EGSへの取り組み */
  .outer-container3 {
    padding-bottom: 10px;
  }

  .container3 {
    /* position: relative; */
    width: 100%;
    flex-direction: column;
  }

  .text-area {
    display: flex;
    flex-direction: column;
  }

  .section-title3 {
    font-size: 4.5rem;
  }

  .subtitle_3 {
    font-size: 1.8rem;
  }

  .title-bar-text {
    text-align: center;
  }

  .red_bottomline {
    width: 100%;
    border-bottom: 1px solid #D80C18;
  }

  .red_topline {
    width: 100%;
    margin-top: 50px;
    border-top: 1px solid #D80C18;
  }

  .content3 {
    position: relative;
  }

  .top_button {
    padding-top: 20px;
    padding-bottom: 50px;
    /* パディングを調整 */
  }

  .row_area {
    display: flex;
    flex-direction: column-reverse;
  }

  .sec3 {
    padding: 20px 35px 40px;
  }
}

/* link */
:where(:any-link, :enabled, summary) {
  --default: initial;
  --hover: ;
}

:where(:any-link, :enabled, summary):focus-visible {
  --default: ;
  --hover: initial;
}

/* 使い方 */
/* .button {
  color: var(--default, #246A92) var(--hover, #FFF);
  background-color: var(--hover, #246A92);
  border: 2px solid var(--hover, #246A92);
} */
:where(:focus-visible) {
  outline: 2px solid #005FCC;
  outline-offset: -2px;
}

:where(:focus):not(:where(:focus-visible)) {
  outline: none;
}

.bl_pickupTop {
  max-width: 1280px;
  width: 100%;
  display: grid;
  gap: 3.3rem;
}

.bl_pickupTop_link {
  aspect-ratio: 304/214;
  border: 5px solid var(--default, transparent) var(--hover, #D70C18);
  border-radius: 16px;
  display: grid;
  position: relative;
  transition: border-color .4s;

  & picture {
    block-size: 100%;
    inline-size: 100%;
    inset-block-start: 0;
    inset-inline-start: 0;
    position: absolute;
  }

  & img {
    block-size: inherit;
    border-radius: 11px;
    inline-size: inherit;
  }
}

.bl_pickupTop_link_ttl {
  align-items: center;
  align-self: end;
  background-color: #D70C18;
  block-size: fit-content;
  block-size: 7.3rem;
  border-radius: 0 0 11px 11px;
  color: #FFF;
  display: grid;
  font-family: "Yu Gothic",
    "游ゴシック",
    YuGothic,
    "游ゴシック体",
    "ヒラギノ角ゴ Pro W3",
    "メイリオ",
    sans-serif;
  font-size: 2.1rem;
  font-weight: 700;
  gap: 0 .5em;
  grid-template-columns: 1fr auto;
  line-height: 1.2;
  margin-block-end: unset;
  padding-inline: .7em;
  position: relative;
  z-index: 10;

  & svg {
    justify-self: end;
  }
}

@media screen and (768px <=width) {
  .bl_pickupTop {
    gap: 2.6rem;
    grid-template-columns: repeat(2, 1fr);
  }
}

@media screen and (1025px <=width) {
  .bl_pickupTop {
    width: 80%;
    margin-inline: auto;
    gap: 2rem;
    grid-template-columns: repeat(2, 1fr);
  }

  .bl_pickupTop_link {
    aspect-ratio: 334/240;
  }

  .bl_pickupTop_link_ttl {
    block-size: 8rem;
    font-size: 1.8rem;
    gap: 0 .4em;

    & svg {
      inline-size: 88%;
    }
  }
}

@media (any-hover: hover) {
  :where(:any-link, :enabled, summary):hover {
    --default: ;
    --hover: initial;
  }
}

/*# sourceMappingURL=sourcemaps/top.css.map */