@charset "UTF-8";

/* ====================
// reset
// -------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  min-inline-size: 0;
  border-width: 0;
  border-style: solid;
}

:any-link {
  color: unset;
  text-decoration-line: none;
  text-decoration-thickness: 1px;
  text-underline-offset: 2.5px;
}

/* ====================
// document, body
// -------------------- */
:root {
  --vision-col: #171472;
  --action-col: #0a7de3;
  --vision-col-alt: var(--action-col);
  --action-col-alt: #29ace8;
  --bg-col: #eaf8ff;

  --leading-trim: calc((1em - 1lh) / 2);
}
:lang(en) {
  --leading-trim: calc((1cap - 1lh) / 2);
}

body.vision {
  overflow-x: clip;
  color: #000;
  font-size: 12px;
  font-weight: 400;
  font-family: 'Noto Sans JP', 'Helvetica Neue', Helvetica, Arial, 'Hiragino Sans',
    'Hiragino Kaku Gothic ProN', 'Yu Gothic', 'Meiryo', sans-serif;

  --fs-16: calc(16 / 12 * 100%);
  --fs-20: calc(20 / 12 * 100%);
  --fs-22: calc(22 / 12 * 100%);
  --fs-24: calc(24 / 12 * 100%);
  --fs-28: calc(28 / 12 * 100%);
  --fs-30: calc(30 / 12 * 100%);

  @media (769px > width) {
    font-size: 8px;
  }
}

/* ====================
// container
// -------------------- */
.container > .content {
  margin-inline: auto;
  max-width: 1140px;
  width: 100%;
}

/* ====================
// top_fv
// -------------------- */
.top_fv {
  aspect-ratio: 16 / 7;

  picture {
    display: block;

    img {
      width: 100%;
      object-fit: contain;
    }
  }
}

/* ====================
// intro
// -------------------- */
.container.intro {
  padding-top: 120px;
  padding-bottom: 172px;
  padding-inline: 15px;

  @media (769px > width) {
    padding-top: 60px;
    padding-bottom: 85px;
  }
}

.intro__title {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: center;
  row-gap: 40px;
  column-gap: 80px;
  margin-bottom: 97px;

  @media (769px > width) {
    margin-bottom: 48px;
  }
}
.intro__title-logo {
  &.vision {
    width: 215.43px;
  }
  &.action {
    width: 229.71px;
  }

  & > img {
    width: 100%;
    object-fit: contain;
  }
}

.intro__text {
  margin-block: var(--leading-trim);
  font-size: var(--fs-24);
  line-height: calc(50 / 24);

  text-align: center;
  word-break: keep-all;
  text-wrap-style: balance;

  @media (1439px < width) {
    margin-inline: -3em;
  }

  @media (769px > width) {
    text-align: initial;
    word-break: initial;
    text-wrap-style: initial;

    br.pc-br {
      display: none;
    }
  }
}

/* ====================
// section01
// -------------------- */
.container.section01 {
  background-color: var(--bg-col);
  padding-bottom: 142px;

  @media (769px > width) {
    padding-bottom: 56px;
  }

  .content {
    padding-inline: 15px;

    @media (769px > width) {
      padding-inline: 30px;
    }
  }

  /* なみなみ */
  &::before {
    --_repeat: 5;
    content: '';
    display: block;
    width: 100%;
    aspect-ratio: calc(384 * var(--_repeat)) / 58.5;
    background-color: #fff;
    background-image: url('/images/gas-life/vision/wave.svg');
    background-position: left top;
    background-size: calc(100% / var(--_repeat));
    background-repeat: repeat-x;
    margin-bottom: 164px;

    @media (769px > width) {
      --_repeat: 3;
      margin-bottom: 82px;
    }
  }
}

.section01__title-area {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  row-gap: 50px;
  column-gap: 100px;
  margin-bottom: 100px;

  @media (769px > width) {
    margin-bottom: 50px;
  }
}

.section01__title-group {
  text-align: center;

  &.vision {
    color: var(--vision-col);
  }
  &.action {
    color: var(--action-col);
  }

  h2.section01__title {
    text-transform: uppercase;
    font-weight: 100;
    font-size: calc(60 / 12 * 100%);
    letter-spacing: calc(100 / 1000 * 1em);
    margin-top: var(--leading-trim);
    margin-bottom: 10px;

    display: flex;
    align-items: center;
    column-gap: calc(9 / 60 * 1em);

    &::before,
    &::after {
      content: '';
      display: block;
      width: 1em;
      height: 1px;
      background-color: currentColor;
    }
  }

  p.section01__subtitle {
    font-size: var(--fs-20);
  }
}

.section01__body-area {
  text-align: center;
}
.section01__body-text01 {
  & > p {
    font-size: var(--fs-30);
  }
  &:nth-child(1) > p {
    margin-bottom: calc(33 / 30 * 1em);
  }
  &:nth-child(2) > p {
    margin-bottom: calc(60 / 30 * 1em);
  }
}
.section01__body-text02 {
  word-break: keep-all;
  overflow-wrap: anywhere;
  text-wrap-style: balance;
  margin-bottom: 64px;

  @media (769px > width) {
    margin-bottom: 32px;
  }

  & > p {
    display: inline;
    -webkit-box-decoration-break: clone;
    box-decoration-break: clone;
    background-image: linear-gradient(90deg, var(--action-col), #5ad7fd, var(--vision-col));
    padding-inline: 15px;
    padding-block: 5px;
    line-height: 2.5;
    font-size: calc(45 / 12 * 100%);
    color: #fff;

    @media (769px > width) {
      padding: 4px 8px;
      line-height: 2;
    }
  }
}

.box-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;

  @media (769px > width) {
    gap: 20px;
  }
}
.box-list-item {
  width: 290px;
  padding: 40px 20px;
  background-color: #fff;
  color: var(--vision-col-alt);
  border: 3px solid currentColor;

  @media (769px > width) {
    width: 200px;
    padding: 32px 16px;
    border-width: 2px;
  }

  p {
    font-weight: 500;
    font-size: var(--fs-20);
    line-height: calc(33 / 20);
    margin-block: var(--leading-trim);
  }
}

/* ====================
// section02
// -------------------- */
.container.section02 {
  background-color: #fff;
  background-image: url('/images/gas-life/vision/bg.svg');
  background-position: top center;
  background-size: 1920px 100%;
  background-repeat: no-repeat;
  padding-top: 43px;
  padding-bottom: 222px;
  padding-inline: 15px;
  --_content-width: 700px;

  @media (769px > width) {
    background-size: auto 100%;
    padding-top: 20px;
    padding-bottom: 45px;
    padding-inline: 30px;
    --_content-width: 375px;
  }

  & > .content {
    width: min(var(--_content-width), 100%);
  }
}

.section02 .subsection.vision {
  --_col: var(--vision-col-alt);
}
.section02 .subsection.action {
  --_col: var(--action-col-alt);
}
.section02 .arrow {
  margin-top: 75px;
  margin-bottom: 85px;
  height: 40px;

  @media (769px > width) {
    margin-top: 32px;
    margin-bottom: 40px;
    height: 20px;
  }

  & > img {
    display: block;
    object-fit: contain;
    width: 100%;
    height: 100%;
  }
}

.section02 .subsection__title {
  margin-bottom: 40px;
  width: var(--_width);

  @media (769px > width) {
    margin-bottom: 20px;
    width: calc(var(--_width) * 0.5);
  }

  &.logo--vision {
    --_width: 511.36px;
  }
  &.logo--action {
    --_width: 630.22px;
  }

  & > img {
    width: 100%;
    object-fit: contain;
  }
}

.vision-list,
.action-list {
  --_counter-circle-size: 115px;
  display: grid;
  grid-template-columns: var(--_counter-circle-size) 1fr;
  row-gap: 30px;
  column-gap: 26px;

  @media (769px > width) {
    --_counter-circle-size: 64px;
    row-gap: 15px;
    column-gap: 13px;

    font-size: 80%;
  }
}
.vision-list-item,
.action-list-item {
  grid-column: 1 / span 2;
  display: grid;
  grid-template-columns: subgrid;
  align-items: center;
}
.vision-list-item {
  counter-increment: vision;
}
.action-list-item {
  counter-increment: action;
}

.vision-list-item__counter,
.action-list-item__counter {
  aspect-ratio: 1;
  clip-path: circle(50%);
  background-color: var(--_col);
  font-weight: 300;
  color: #fff;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: end;
  row-gap: 0.5em;

  &::before,
  &::after {
    margin-top: calc((1cap - 1lh) / 2);
  }
  &::before {
    text-transform: uppercase;
    font-size: var(--fs-22);
  }
  &::after {
    font-size: calc(57 / 12 * 100%);
  }
}

.vision-list-item__counter {
  &::before {
    content: 'vision';
  }
  &::after {
    content: counter(vision);
  }
}
.action-list-item__counter {
  &::before {
    content: 'action';
  }
  &::after {
    content: counter(action);
  }
}

.vision-list-item__text,
.action-list-item__text {
  color: var(--_col);
  font-size: var(--fs-30);
  line-height: calc(50 / 30);

  @media (769px > width) {
    line-height: 1.5;
  }
}

/* ====================
// bottom
// -------------------- */
.container.bottom {
  background-color: var(--bg-col);
  padding-bottom: 145px;

  @media (769px > width) {
    padding-bottom: 64px;
  }

  .content {
    padding-inline: 15px;

    @media (769px > width) {
      padding-inline: 30px;
    }
  }

  /* ビルのシルエット */
  &::before {
    content: '';
    display: block;
    width: 100%;
    height: 123px;
    background-color: #fff;
    background-image: url('/images/gas-life/vision/building.svg');
    background-position: left top;
    background-size: 640px;
    background-repeat: repeat-x;
    margin-bottom: 134px;

    @media (769px > width) {
      margin-bottom: 40px;
    }
  }
}

.pdf-list {
  margin-inline: auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}
.pdf-list-item {
  display: grid;
  align-items: end;
  width: 350px;
  height: 290px;
  padding: 43.5px 22.5px;
  border-radius: 20px;
  background-color: #fff;
  box-shadow: 0px 3px 6px rgb(from #000 r g b / 0.16);
  text-align: center;

  @media (769px > width) {
    width: 280px;
    height: 230px;
  }
}

.pdf-list-item__title {
  font-size: var(--fs-28);
  margin-bottom: calc(16 / 28 * 1em);

  &:is(.pdf-list-item:nth-child(1) > *) {
    color: var(--vision-col-alt);
  }
  &:is(.pdf-list-item:nth-child(2) > *) {
    color: var(--action-col-alt);
  }
  &:is(.pdf-list-item:nth-child(3) > *) {
    font-size: var(--fs-24);
    margin-bottom: calc(25 / 24 * 1em);
    color: #666;
  }
}
.pdf-list-item__text {
  font-size: var(--fs-16);
  line-height: calc(25 / 16);
  margin-top: var(--leading-trim);
  margin-bottom: calc(31 / 16 * 1em);
}

.pdf-list-item__button {
  display: inline-grid;
  align-content: center;
  width: 100%;
  height: calc(60 / 24 * 1em);
  border-radius: 9999px;
  color: #fff;
  font-size: var(--fs-24);
  background-size: 200% 100%;
  transition: background-position 0.2s;

  span.small {
    font-size: calc(20 / 24 * 100%);
  }

  &:is(.pdf-list-item:nth-child(1) > *) {
    background-color: var(--vision-col-alt);
    background-image: linear-gradient(90deg, transparent 50%, var(--vision-col));
  }
  &:is(.pdf-list-item:nth-child(2) > *) {
    background-color: var(--action-col-alt);
    background-image: linear-gradient(90deg, transparent 50%, #5ad7fd);
  }
  &:is(.pdf-list-item:nth-child(3) > *) {
    background-color: #9cd247;
    background-image: linear-gradient(90deg, transparent 50%, var(--action-col-alt));
  }

  &:hover {
    background-position: 100% 0;
  }
}

/* ====================
// footer
// -------------------- */
.footer {
  width: 100%;
  height: 148px;
  padding-top: 50px;
  border-top: 1px solid #666;
  background-color: #fff;
  color: #666;
  font-size: calc(11 / 12 * 100%);
  text-align: center;

  @media (769px > width) {
    height: 96px;
    padding-top: 20px;
    font-size: calc(10 / 8 * 100%);
  }
}

@media (769px > width) {
  .footer-inner {
    padding-inline: 15px;
  }
}

.fnav-link-list {
  display: flex;
  justify-content: center;
  column-gap: 3em;
  margin-bottom: 1.5em;

  @media (769px > width) {
    column-gap: 1em;
  }
}
.fnav-link-list-item > a {
  padding: 0.5em;
}
.footer :any-link:hover {
  text-decoration-line: underline;
}
