@charset 'UTF-8';

/* ===================================================================
CSS information
 file name  :  style.css
 style info :  大分県デジタルコンテンツ振興協議会　ODEN style CSS
=================================================================== */

/* --------------------------
custom-properties
-------------------------- */
:root {
    /* サイトで最も明るい色 */
    --color-lightest: #fff;

    /* サイトで最も暗い色 */
    --color-darkest: #000;

    /* メインカラー */
    --color-primary: rgba(0, 143, 88, 1);
    --color-secondary: rgba(231, 237, 14, 1);

    /* グレーカラー */
    --color-gray: rgba(224, 224, 224, 1);
    --color-gray2: #E0E0E0;

    /* width */
    --width-mv: min(calc(335 / 375 * 100vw), 700px);
    --width-content: min(calc(335 / 375 * 100vw), 1080px);

    /* margin */
    --margin-center: 0 auto;

    /* padding */
    --padding-main:  min(calc(110 / 750 * 100vw), 110px) min(calc(40 / 750 * 100vw), 40px) min(calc(40 / 750 * 100vw), 40px);

}
/* ---------------------------------------
common
--------------------------------------- */
html {
  font-size: 62.5%;
  box-sizing: border-box;
}

body {
  width: 100%;
  font-family: "Noto Sans JP", sans-serif;
  font-size: min(calc(32 / 750 * 100vw), 3.2rem);
  line-height: 1.6;
  /* font-feature-settings: "palt"; */
}

img, source {
  max-width: 100%;
  height: auto;
  vertical-align: top;
}

@media only screen and (min-width: 751px) {
  img, source {
    width: auto;
  }
}

@media only screen and (min-width: 751px) {
  a[href*="tel:"] {
    pointer-events: none;
    cursor: default;
    text-decoration: none;
  }
}

/* テキストリンク */
.text-link a {
  text-decoration: none;
}

/* PC/SP出し分け */
.pc-only {
  display: block;

  @media only screen and (max-width: 750px) {
    display: none;
  }
}
.sp-only {
  display: none;

  @media only screen and (max-width: 750px) {
    display: block;
  }
}

/* ---------------------------------------
mv-area
--------------------------------------- */
.mv-area {
  width: 100%;
  background-color: var(--color-primary);

  .mv-inner {
    width: var(--width-mv);
    margin: var(--margin-center);
    padding: 83px 0 90px;
    text-align: center;
    color: var(--color-lightest);

    @media only screen and (max-width: 750px) {
      text-align: left;
      padding: calc(60 / 375 * 100vw) 0 calc(55 / 375 * 100vw);
    }
  }

  h1 {
    margin-bottom: 60px;

    @media only screen and (max-width: 750px) {
      margin-bottom: calc(40 / 375 * 100vw);
    }

    picture {
      width: 100%;
      display: block;
    }
  }

  .main-visual {
    margin-bottom: 40px;

    @media only screen and (max-width: 750px) {
      margin-bottom: calc(25 / 375 * 100vw);
    }
  }


  h2 {
    font-size: min(calc(50 / 1080 * 100vw), 4.0rem);
    line-height: 1.5;
    font-weight: 800;
    margin-bottom: 30px;
    color: var(--color-gray2);

    @media only screen and (max-width: 750px) {
      font-size: calc(34 / 375 * 100vw);
      margin-bottom: calc(20 / 375 * 100vw);
    }

    span {
      font-feature-settings: "palt";
    }
  }

  p {
    font-size: 1.8rem;
    font-weight: 500;
    line-height: 2.2;
    color: var(--color-gray2);

    @media only screen and (max-width: 750px) {
      font-size: calc(16 / 375 * 100vw);
      line-height: 1.8;
    }
  }
}

/* ---------------------------------------
content-area
--------------------------------------- */
.content-area {
  width: 100%;
  background-color: var(--color-gray);

  .content-inner {
    width: var(--width-content);
    margin: var(--margin-center);
    padding-top: 85px;
    color: var(--color-primary);

    @media only screen and (max-width: 750px) {
      padding-top: calc(50 / 375 * 100vw);
    }
  }

  .section {
    padding-bottom: min(calc(86 / 1080 * 100vw), 86px);
    margin-bottom: min(calc(80 / 1080 * 100vw), 80px);
    background-image : linear-gradient(to right, var(--color-primary) 2px, transparent 2px);
    background-size: 4px 1px;
    background-repeat: repeat-x; 
    background-position: left bottom;

    @media only screen and (max-width: 750px) {
      padding-bottom: calc(50 / 375 * 100vw);
      margin-bottom: calc(50 / 375 * 100vw);
    }
  }
}

/* ---------------------------------------
about-area
--------------------------------------- */
.about-area {
  h2 {
    font-size:  3.0rem;
    font-weight: 800;
    line-height: 1.6;
    margin-bottom: 17px;

    @media only screen and (max-width: 750px) {
      font-size: calc(24 / 375 * 100vw);
      line-height: 1.5;
      margin-bottom: calc(30 / 375 * 100vw);
    }
  }

  p {
    font-size: 1.6rem;
    font-weight: 500;
    line-height: 2.0;
    margin-bottom: min(calc(55 / 375 * 100vw), 35px);
 
    @media only screen and (max-width: 750px) {
      font-size: calc(16 / 375 * 100vw);
      line-height: 1.6;
    }
  }

  /* membership-area  */
  .membership-area {
    background-color: var(--color-lightest);
    padding: min(calc(42 / 1080 * 100vw), 42px) min(calc(100 / 1080 * 100vw), 100px);
    display: flex;
    justify-content: space-between;
    align-items: center;

    @media only screen and (max-width: 750px) {
      flex-direction: column;
      padding: calc(20 / 375 * 100vw) calc(30 / 375 * 100vw) calc(25 / 375 * 100vw);
    }

    & h3 {
      flex-basis: min(calc(160 / 1080 * 100vw), 120px);
      font-size: min(calc(22 / 1080 * 100vw), 2.2rem);
      font-weight: 800;
      margin-right: min(calc(100 / 1080 * 100vw), 60px);
  
      @media only screen and (max-width: 750px) {
        font-size: calc(22 / 375 * 100vw);
        flex-basis: auto;
        margin-right: 0;
        margin-bottom: calc(20 / 375 * 100vw);
      }
    }

    .membership-list-container {
      flex-basis: min(calc(700 / 1080 * 100vw), 700px);
      padding-left: min(calc(100 / 1080 * 100vw), 100px);
      background-image : linear-gradient(to bottom, var(--color-primary) 2px, transparent 2px);
      background-size: 1px 4px;
      background-repeat: repeat-y; 
      background-position: left top;

      @media only screen and (max-width: 750px) {
        flex-basis: 100%;
        padding-left: 0;
        padding-top: calc(15 / 375 * 100vw);
        background-image : linear-gradient(to right, var(--color-primary) 2px, transparent 2px);
        background-size: 4px 1px;
        background-repeat: repeat-x; 
        background-position: left top;
      }

      .membership-list {
        margin-bottom: 16px;
        display: flex;
        flex-direction: column;
        gap: 5px;

        @media only screen and (max-width: 750px) {
          margin-bottom: calc(20 / 375 * 100vw);
          gap: calc(15 / 375 * 100vw);
        }
        
        li {
          font-size: 1.8rem;
          font-weight: 800;
          line-height: 1.5;
          position: relative;
          padding-left: 20px;

          &::before {
            position: absolute;
            top: 0.5em;
            left: 0;
            content: "";
            width: 12px;
            height: 12px;
            border-radius: 50%;
            background-color: var(--color-primary);
          }
        }
      }

      .membership-note {
        display: flex;
        flex-direction: column;
        gap: 5px;

        @media only screen and (max-width: 750px) {
          gap: calc(5 / 375 * 100vw);
        }

        li {
          font-size: 1.4rem;
          font-weight: 500;

          @media only screen and (max-width: 750px) {
            font-size: calc(14 / 375 * 100vw);
          }
        }
      }
    }
  }
}

/* ---------------------------------------
activity-area
--------------------------------------- */
.activity-area {
  .activity-section {
    margin-bottom: min(calc(70 / 1080 * 100vw), 70px);

    @media only screen and (max-width: 750px) {
      margin-bottom: calc(45 / 375 * 100vw);
    }

    h3 {
      font-size: min(calc(30 / 1080 * 100vw), 3rem);
      font-weight: 800;
      line-height: 1.6;
      margin-bottom: 26px;
      display: flex;
      align-items: center;

      @media only screen and (max-width: 750px) {
        font-size: calc(24 / 375 * 100vw);
        margin-bottom: calc(18 / 375 * 100vw);
        display: block;
        line-height: 1.5;
      }

      span {
        font-size: min(calc(22 / 1080 * 100vw), 2.2rem);
        font-weight: 800;
        height: 44px;
        color: var(--color-secondary);
        display: inline-flex;
        align-items: center;
        padding: min(calc(10 / 1080 * 100vw), 10px) min(calc(20 / 1080 * 100vw), 20px);
        background-color: var(--color-primary);
        border-radius: 100vh;
        margin-right: 10px;

        @media only screen and (max-width: 750px) {
          font-size: calc(20 / 375 * 100vw);
          margin-bottom: calc(10 / 375 * 100vw);
          padding: calc(14 / 375 * 100vw) calc(20 / 375 * 100vw);
          height: calc(43 / 375 * 100vw);
        }
      }
    }

    p {
      font-size: 1.6rem;
      font-weight: 500;
      line-height: 2;
      margin-bottom: 10px;

      @media only screen and (max-width: 750px) {
        font-size: calc(16 / 375 * 100vw);
        line-height: 1.6;
        margin-bottom: calc(20 / 375 * 100vw);
      }

      &.note {
        font-size: 1.4rem;
        margin-bottom: 0;
      }
    }

    /* guest-area */
    .guest-area {
      padding-top: 70px;

      ul {
        display: flex;
        justify-content: space-between;

        @media only screen and (max-width: 750px) {
          flex-direction: column;
          gap: calc(75 / 375 * 100vw);
        }

        li {
          flex-basis: min(calc(300 / 1080 * 100vw), 330px);
          background-color: var(--color-lightest);
          padding: 0 min(calc(30 / 1080 * 100vw), 30px) min(calc(30 / 1080 * 100vw), 30px);

          @media only screen and (max-width: 750px) {
            padding: calc(30 / 375 * 100vw);
          }
          
          .img-box {
            width: min(calc(220 / 1080 * 100vw), 274px);
            margin: -42px auto 16px;

            @media only screen and (max-width: 750px) {
              width: calc(274 / 375 * 100vw);
            }
          }

          .txt-box {
            h4 {
              font-size: min(calc(20 / 1080 * 100vw), 2rem);
              font-weight: 800;
              line-height: 1.5;
              margin-bottom: 15px;

              @media only screen and (max-width: 750px) {
                font-size: calc(20 / 375 * 100vw);
              }

              span {
                display: inline-block;
                font-size: min(calc(13 / 1080 * 100vw), 1.3rem);
                line-height: 1;
                color: var(--color-lightest);
                background-color: var(--color-primary);
                padding: min(calc(6 / 1080 * 100vw), 6px) min(calc(10 / 1080 * 100vw), 10px);

                @media only screen and (max-width: 750px) {
                  font-size: calc(13 / 375 * 100vw);
                  padding: calc(6 / 375 * 100vw) calc(10 / 375 * 100vw);
                }
              }
            }

            .guest-title {
              font-size: min(calc(13 / 1080 * 100vw), 1.4rem);
              font-weight: 800;
              line-height: 1.5;
              margin-bottom: 0;

              @media only screen and (max-width: 750px) {
                font-size: calc(14 / 375 * 100vw);
              }
            }

            .guest-name {
              font-size: min(calc(24 / 1080 * 100vw), 2.4rem);
              font-weight: 800;
              line-height: 1.6;
              letter-spacing: .05em;
              margin-bottom: 10px;

              @media only screen and (max-width: 750px) {
                font-size: calc(24 / 375 * 100vw);
              }

              span {
                font-size: min(calc(16 / 1080 * 100vw), 1.6rem);
                display: inline-block;
                margin-left: .5em;

                @media only screen and (max-width: 750px) {
                  font-size: calc(16 / 375 * 100vw);
                }
              }
            }

            .guest-description {
              font-size: min(calc(13 / 1080 * 100vw), 1.3rem);
              font-weight: 500;
              line-height: 1.5;
              margin-bottom: 0;

              @media only screen and (max-width: 750px) {
                font-size: calc(13 / 375 * 100vw);
              }
            }
          }
        }
      }
    }
  }
  .note {
    font-size: 1.4rem;
    font-weight: 500;
  }
}

/* ---------------------------------------
contact-area
--------------------------------------- */
.contact-area {
  background-color: var(--color-lightest);
  padding: min(calc(40 / 1080 * 100vw), 40px) min(calc(110 / 1080 * 100vw), 110px) min(calc(50 / 1080 * 100vw), 50px);
  display: flex;
  justify-content: space-between;
  align-items: center;

  @media only screen and (max-width: 750px) {
    padding: calc(40 / 375 * 100vw) calc(30 / 375 * 100vw) calc(50 / 375 * 100vw);
    display: block;
    text-align: center;
  }

  h2 {
    flex-basis: min(calc(165 / 1080 * 100vw), 165px);
    font-size: min(calc(22 / 1080 * 100vw), 2.2rem);
    font-weight: 800;

    @media only screen and (max-width: 750px) {
      font-size: calc(20 / 375 * 100vw);
      margin-bottom: calc(18 / 375 * 100vw);
      text-align: center;
    }
  }

  .contact-continer {
    flex-basis: min(calc(580 / 1080 * 100vw), 620px);
    padding-left: min(calc(90 / 1080 * 100vw), 110px);
    background-image : linear-gradient(to bottom, var(--color-primary) 2px, transparent 2px);
    background-size: 1px 4px;
    background-repeat: repeat-y; 
    background-position: left top;

    @media only screen and (max-width: 750px) {
      padding-left: 0;
      padding-top: calc(15 / 375 * 100vw);
      background-image : linear-gradient(to right, var(--color-primary) 2px, transparent 2px);
      background-size: 4px 1px;
      background-repeat: repeat-x; 
      background-position: left top;
    }

    h3 {
      font-size: min(calc(22 / 1080 * 100vw), 2.2rem);
      font-weight: 800;
      line-height: 1.5;
      margin-bottom: 20px;
      text-align: center;

      @media only screen and (max-width: 750px) {
        font-size: calc(20 / 375 * 100vw);
        margin-bottom: calc(22 / 375 * 100vw);
      }
    }

    .contact-cta {
      display: flex;
      align-items: center;
      gap: 30px;

      @media only screen and (max-width: 750px) {
        flex-direction: column;
      }

      .contact-mail {
        a {
          font-size: min(calc(16 / 1080 * 100vw), 1.6rem);
          font-weight: 800;
          line-height: 1;
          width: min(calc(260 / 1080 * 100vw), 260px);
          height: min(calc(55 / 1080 * 100vw), 55px);
          display: flex;
          justify-content: center;
          align-items: center;
          color: var(--color-lightest);
          background-color: var(--color-primary);
          border: var(--color-primary) solid 1px;
          border-radius: 100vh;
          transition: all 300ms;

          @media only screen and (max-width: 750px) {
            font-size: calc(16 / 375 * 100vw);
            width: calc(260 / 375 * 100vw);
            height: calc(55 / 375 * 100vw);
          }

          &:hover {
            background-color: var(--color-lightest);
            color: var(--color-primary);

            @media only screen and (max-width: 1100px) {
              background-color: var(--color-primary);
              color: var(--color-lightest);
            }
          }

          span {
            position: relative;
            padding-left: 2.3em;

            &::before {
              position: absolute;
              top: 50%;
              left: 0;
              transform: translateY(-50%);
              content: "\f0e0";
              font: normal 2rem "Font Awesome 6 Free";
            }
          }
        }
      }

      .contact-tel {
        text-align: center;

        .tel-number {
          font-size: min(calc(20 / 1080 * 100vw), 2.2rem);
          font-weight: 800;
          line-height: 1;
          margin-bottom: 8px;

          @media only screen and (max-width: 750px) {
            font-size: calc(22 / 375 * 100vw);
            margin-bottom: calc(15 / 375 * 100vw);
          }

          a {
            color: var(--color-primary);

            @media only screen and (max-width: 750px) {
              text-decoration: underline;
            }
          }
        }
        .tel-address {
          font-size: min(calc(14.5 / 1080 * 100vw), 1.6rem);;
          font-weight: 500;
          line-height: 1;

          @media only screen and (max-width: 750px) {
            font-size: calc(16 / 375 * 100vw);
          }
        }
      }
    }
  }
}

/* ---------------------------------------
footer
--------------------------------------- */
footer {
  padding: min(calc(100 / 1080 * 100vw), 100px) 0;
  text-align: center;

  @media only screen and (max-width: 750px) {
    padding: calc(45 / 375 * 100vw) 0;
  }

  p {
    font-size: 1.3rem;
    font-weight: 500;
    color: var(--color-primary);
  }
}
