@charset "UTF-8";
/* ===================================================================
CSS Document
file name  :numbers.css 
style info :NUMBERS Style
=================================================================== */
@media (max-width: 767px) {
  /*--------------------------
      MAIN
   ---------------------------*/
  .main {
    text-align: center;
    padding-top: 40px;
  }
  .main__txt {
    display: grid;
    justify-content: center;
  }
  .main__txt .is-note {
    text-align: right;
  }

  /*--------------------------
    SEC
   ---------------------------*/
  .sec {
    padding-top: 40px;
  }
  .sec+.sec {
    padding-top: 70px;
  }
  .sec__heading {
    display: grid;
    grid-template-rows: 20px auto 20px;
    justify-items: center;
    align-items: center;
    gap: 16px 32px;
    text-align: center;
    margin-bottom: 56px;
  }
  .sec__heading-deco {
    display: grid;
    grid-template-columns: 8px 8px 8px;
    gap: 8px;
  }
  .sec__heading-deco span {
    display: block;
    width: 100%;
    aspect-ratio: 1/1;
    background-color: #FFC900;
  }
  .sec__heading-deco span:nth-child(2) {
    background-color: #808080;
  }
  .sec__heading-inr {
    display: grid;
    gap: 4px;
  }
  .sec__ttl {
    font-weight: 700;
    font-size: 2.2rem;
    letter-spacing: 0.1em;
    color: #333;
  }
  .sec__ttl-sub {
    font-family: "Outfit", sans-serif;
    font-weight: 500;
    font-size: 1.3rem;
    line-height: 1.25;
    text-align: center;
    color: #808080;
  }
  .sec__inner {
    max-width: 1064px;
    padding: 0 20px;
    margin-inline: auto;
  }
  .box__contents {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min-content, 320px));
    justify-content: center;
    gap: 40px;
  }
  .box {
    border-radius: 16px;
    box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.25);
    padding: 8px 8px 20px;    
  }
  .box__img {
    display: grid;
    place-content: center;
    width: 100%;
    height: 100px;
    border-radius: 8px 8px 0 0;
    overflow: hidden;
  }
  .box__img img {
    max-width: 100%;
    height: auto;
  }
  .box__img.is-image {
    margin-bottom: 20px;
  }
  .box__heading {
    display: grid;
    gap: 6px;
    margin-bottom: 16px;
  }
  .box__ttl {
    font-weight: 700;
    font-size: 2.0rem;
    letter-spacing: 0.02em;
    text-align: center;
    color: #333; 
  }
  .box__deco {
    display: grid;
    grid-template-columns: 4px 4px 4px 4px 4px;
    justify-content: center;
    gap: 4px;
  }
  .box__deco span {
    display: block;
    width: 100%;
    aspect-ratio: 1/1;
    background-color: #FFC900;
  }
  .box__main {
    display: grid;
    padding: 0 16px;
  }
  .box__txt {
    line-height: 1.75;
  }
  .box__note {
    font-size: 1.3rem;
    text-align: center;
  }
}

@media (min-width: 768px) {
  /*--------------------------
      MAIN
   ---------------------------*/
  .main {
    text-align: center;
    padding-top: 70px;
  }
  .main__txt {
    display: grid;
    justify-content: center;
  }
  .main__txt .is-note {
    text-align: right;
  }

  /*--------------------------
    SEC
   ---------------------------*/
  .sec {
    padding-top: 80px;
  }
  .sec+.sec {
    padding-top: 140px;
  }
  .sec__heading {
    display: grid;
    grid-template-columns: 40px auto 40px;
    justify-content: center;
    align-items: center;
    gap: 32px;
    text-align: center;
    margin-bottom: 56px;
  }
  .sec__heading-deco {
    display: grid;
    grid-template-columns: 8px 8px 8px;
    gap: 8px;
    padding-bottom: 10px;
  }
  .sec__heading-deco span {
    display: block;
    width: 100%;
    aspect-ratio: 1/1;
    background-color: #FFC900;
  }

  .sec__heading-deco span:nth-child(2) {
    background-color: #808080;
  }
  .sec__heading-inr {
    display: grid;
    gap: 4px;
  }
  .sec__ttl {
    font-weight: 700;
    font-size: 3.2rem;
    letter-spacing: 0.4em;
    color: #333;
  }
  .sec__ttl-sub {
    font-family: "Outfit", sans-serif;
    font-weight: 500;
    font-size: 1.3rem;
    line-height: 1.25;
    text-align: center;
    color: #808080;
  }
  .sec__inner {
    max-width: 1064px;
    padding: 0 20px;
    margin-inline: auto;
  }
  .box__contents {
    display: grid;
    grid-template-columns: repeat(2, minmax(300px, 320px));
    justify-content: center;
    gap: 40px 32px;
  }
  .box__contents.is-col-3 {
    grid-template-columns: repeat(3, minmax(300px, 320px));
  }
  .box {
    min-height: 358px;
    border-radius: 16px;
    box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.25);
    padding: 8px 8px 24px;   
  }
  .box__img {
    display: grid;
    place-content: center;
    width: 100%;
    height: 152px;
    border-radius: 8px 8px 0 0;
    overflow: hidden;
  }
  .box__img img {
    max-width: 100%;
    height: auto;
  }
  .box__img.is-image {
    margin-bottom: 20px;
  }
  .box__heading {
    display: grid;
    gap: 12px;
  }
  .box__ttl {
    font-weight: 700;
    font-size: 1.8rem;
    letter-spacing: 0.05em;
    line-height: 1.44;
    text-align: center;
    color: #333; 
  }
  .box__deco {
    display: grid;
    grid-template-columns: 4px 4px 4px 4px 4px;
    justify-content: center;
    gap: 4px;
  }
  .box__deco span {
    display: block;
    width: 100%;
    aspect-ratio: 1/1;
    background-color: #FFC900;
  }
  .box__main {
    display: grid;
    gap: 16px;
    padding: 0 30px;
  }
  .box__txt {
    line-height: 1.75;
  }
  .box__note {
    font-size: 1.3rem;
    text-align: center;
  }
}