@charset "UTF-8";
/*
Theme Name: y-local-ic
*/

/* フォントのインポート */
/* @import url("https://fonts.googleapis.com/css2?family=Noto+Serif+JP:wght@300;400;500;600;700;800;900&display=swap"); */
@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@300;400;500;600;700;800;900&display=swap");

/* カスタムプロパティ定義 */
:root {
  /* フォントの太さ */
  --Light: 300;
  --Regular: 400;
  --Medium: 500;
  --SemiBold: 600;
  --Bold: 700;
  --ExtraBold: 800;
  --Black: 900;

  /* 画面サイズ関連 */
  --min-window: 1200px;
  /* ウィンドウサイズがこれより小さい場合は */
  --inner: 1000px;
  /* ニュース等の横幅 */
}

/* html全体に関わるもの */
html,
body {
  margin: 0;
  /* font-family: "Noto Serif JP", serif; */
  font-family: "Noto Sans JP", sans-serif;
  background-color: #fff;
  scroll-behavior: smooth;
  min-width: var(--min-window);
}

@media screen and (max-width: 768px) {

  html,
  body {
    width: auto;
    min-width: auto;
  }

  .pc {
    display: none;
  }
}

@media screen and (min-width: 769px) {
  .sp {
    display: none;
  }
}

a {
  text-decoration: none;
  color: inherit;
  transition: 0.3s;
  color: #e84364;

  &:hover {
    opacity: 0.6;
  }
}

.pink {
  color: #e84364;
}

img {
  vertical-align: top;
}

nav ul {
  list-style-type: none;
  margin: 0;
  padding-inline-start: 0;

  & li {
    cursor: pointer;
  }
}

section[id^="page"] {
  width: var(--inner);
  margin: 0 auto;
}

.lum-lightbox-inner {
  img.lum-img {
    max-width: 100%;
  }
}

/* rechaptchaの非表示 */


.grecaptcha-badge {
  visibility: hidden;
}


header {
  display: flex;
  max-width: 970px;
  padding: 0 calc((100% - 970px) / 2);
  height: 134px;
  background-color: #e51d60;
  align-items: center;
  justify-content: center;

  @media screen and (max-width: 768px) {
    height: 80px;

    & img {
      width: 70%;
    }
  }

  h1 {
    margin: 0;
    text-align: center;
  }
}

#front-page-top {
  display: flex;
  width: 100%;
  overflow: hidden;
  justify-content: center;

  @media screen and (max-width: 768px) {
    & img {
      width: 100%;
    }
  }
}

#front-page-content {
  max-width: 970px;
  padding: 0 calc((100% - 970px) / 2);

  .banner {
    display: block;
    margin: 60px auto;

    @media screen and (max-width: 768px) {
      margin: 30px 3%;
    }

    & img {
      max-width: 100%;
    }
  }

  & dl {
    margin: 60px 0;

    @media screen and (max-width: 768px) {
      margin: 30px 3% 60px;
    }

    & .wrap {
      display: flex;
      flex-wrap: wrap;
      border-bottom: 1px solid #e84364;

      @media screen and (max-width: 768px) {
        display: block;
        margin: 35px 0;
      }

      & dt {
        display: flex;
        width: calc(25% - 30px);
        min-height: 3em;
        background-color: #fef3f6;
        color: #e84364;
        font-size: 18px;
        font-weight: var(--Bold);
        border-radius: 5px;
        padding: 0 15px;
        margin: 20px 0;
        align-items: center;
        justify-content: center;

        @media screen and (max-width: 768px) {
          width: 100%;
          padding: 0;
        }
      }

      & dd {
        display: flex;
        flex-direction: column;
        width: calc(75% - 30px);
        min-height: 3em;
        padding: 0 15px;
        margin: 20px 0;
        justify-content: center;
        line-height: 1.8;

        @media screen and (max-width: 768px) {
          width: calc(100% - 30px);
          padding: 0 15px;
          line-height: 2.2;
        }
      }
    }
  }

  .clip {
    color: #e84364;
    cursor: pointer;
  }

  .method {
    display: block;
    width: 6em;
    background-color: #e51d60;
    color: #fff;
    text-align: center;
    font-weight: var(--Bold);

    @media screen and (max-width: 768px) {
      margin: 5px auto;
    }
  }

  .arrow {
    margin: 5px 0 5px 2.5em;
    line-height: 1;

    & img {
      width: 1.2em;
    }

    @media screen and (max-width: 768px) {
      margin: 5px auto;
    }
  }

  .victory {
    display: flex;
    color: #f08300;
    font-size: 18px;
    font-weight: var(--ExtraBold);
    align-items: center;

    @media screen and (max-width: 768px) {
      justify-content: center;
    }

    &.first {
      & img {
        margin-right: 0.5em;
        height: 1.4em;
      }
    }

    &.second {
      & img {
        margin-right: 0.5em;
        height: 1.1em;
      }
    }
  }

  .gift {
    color: #e84364;
    font-size: 18px;
    margin-bottom: 5px;

    @media screen and (max-width: 768px) {
      text-align: center;
    }
  }

  .center {
    @media screen and (max-width: 768px) {
      text-align: center;
    }
  }
}

footer {
  display: flex;
  max-width: 970px;
  padding: 10px calc((100% - 970px) / 2);
  color: #fff;
  background-color: #e51d60;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  text-align: center;

  @media screen and (max-width: 768px) {
    padding: 10px 15px;
  }
}

#rule {
  background-color: #f6f6f6;
  padding: 45px 0;

  @media screen and (max-width: 768px) {
    padding: 45px 15px;
  }

  .content {
    max-width: 970px;
    padding: 10px 30px;
    margin: 0 auto;
    line-height: 1.8;
    background-color: #fff;

    @media screen and (max-width: 768px) {
      padding: 10px 15px;
    }

    & h3 {
      display: flex;
      align-items: center;
      font-size: 20px;
      border-bottom: 1px solid #e84364;
      padding: 0.5em 0 0.5em 0.5em;
      margin: 0 0 1em 0;
      align-items: center;

      &::before {
        content: "";
        display: inline-block;
        min-width: 5.4px;
        width: 0.3em;
        height: 1em;
        margin-right: 0.5em;
        background-color: #e84364;
      }
    }
  }

  .btn {
    position: relative;
    display: block;
    width: 300px;
    margin: 3em auto 1em;
    padding: 0.75em 0;
    background-color: #e84364;
    color: #fff;
    text-align: center;
    border-radius: 10px;
    cursor: pointer;

    &::before {
      content: "";
      display: block;
      position: absolute;
      top: 50%;
      left: 20px;
      width: 0.5em;
      height: 0.5em;
      border-top: 2px solid #fff;
      border-left: 2px solid #fff;
      transform: translateY(-50%) rotate(-45deg);
    }
  }
}

.photo-contest-vote {
  background-color: #f6f6f6;
  padding: 45px 0;

  @media screen and (max-width: 768px) {
    padding: 45px 15px;
  }

  & article {
    max-width: 1000px;
    padding: 10px 30px;
    margin: 0 auto;
    line-height: 1.8;
    background-color: #fff;

    @media screen and (max-width: 768px) {
      padding: 10px 15px;
    }

    & h3 {
      display: flex;
      align-items: center;
      font-size: 20px;
      border-bottom: 1px solid #e84364;
      padding: 0.5em 0 0.5em 0.5em;
      margin: 0 0 1em 0;
      align-items: center;

      &::before {
        content: "";
        display: inline-block;
        min-width: 5.4px;
        width: 0.3em;
        height: 1em;
        margin-right: 0.5em;
        background-color: #e84364;
      }
    }
  }

  h4 {
    display: flex;
    align-items: center;
    font-size: 18px;
    padding: 0.5em 0 0.5em 0.5em;
    margin: 0 0 1em 0;

    &:before {
      content: "";
      display: block;
      width: 0.3em;
      height: 1em;
      margin-right: 0.5em;
      background-color: #e84364;
    }
  }

  & dl {
    margin: 60px 0;

    @media screen and (max-width: 768px) {
      margin: 60px 3%;
    }

    & .wrap {
      display: flex;
      flex-wrap: wrap;
      border-bottom: 1px solid #e84364;

      @media screen and (max-width: 768px) {
        display: block;
        margin: 35px 0;
      }

      & dt {
        display: flex;
        width: calc(25% - 30px);
        min-height: 3em;
        background-color: #fef3f6;
        color: #e84364;
        font-size: 18px;
        font-weight: var(--Bold);
        border-radius: 5px;
        padding: 0 15px;
        margin: 20px 0;
        align-items: center;
        justify-content: center;

        @media screen and (max-width: 768px) {
          width: 100%;
          padding: 0;
        }
      }

      & dd {
        display: flex;
        flex-direction: column;
        width: calc(75% - 30px);
        min-height: 3em;
        padding: 0 15px;
        margin: 20px 0;
        justify-content: center;
        line-height: 1.8;

        @media screen and (max-width: 768px) {
          width: calc(100% - 30px);
          padding: 0 15px;
          line-height: 2.2;
        }
      }
    }
  }

  .red {
    color: #f00;
  }

  .btn {
    position: relative;
    display: block;
    width: 300px;
    margin: 3em auto 1em;
    padding: 0.75em 0;
    background-color: #e84364;
    color: #fff;
    text-align: center;
    border-radius: 10px;
    cursor: pointer;

    @media screen and (max-width: 768px) {
      width: 70%;
    }

    &:before {
      content: "";
      display: block;
      position: absolute;
      top: 50%;
      left: 20px;
      width: 0.5em;
      height: 0.5em;
      border-top: 2px solid #fff;
      border-left: 2px solid #fff;
      transform: translateY(-50%) rotate(-45deg);
    }

    &.entry-btn {
      &:before {
        display: none;
      }
    }

    &.gray {
      background-color: #888;
    }
  }

  .photo-list {
    display: flex;
    flex-wrap: wrap;
    margin-top: 30px;

    .photo {
      width: 330px;
      margin: 0 5px 50px 0;

      @media screen and (max-width: 768px) {

        width: auto;
        margin: 0 0 30px 0;
      }

      &:nth-child(3n) {
        margin: 0 0 50px 0;

        @media screen and (max-width: 768px) {

          margin: 0 0 30px 0;
        }
      }

      a {
        width: inherit;

        img {
          width: inherit;
          object-fit: cover;
          aspect-ratio: 1/1;
          object-fit: cover;
          vertical-align: middle;

          @media screen and (max-width: 768px) {

            width: 100%;
          }
        }
      }

      .text {
        margin: 10px;
      }

      .btn {
        display: inline-block;
        margin: 10px 0 0;
        padding: 7px;
        font-size: 15px;
      }
    }
  }

}

.vote-form {
  background-color: #f6f6f6;
  padding: 45px 0;

  @media screen and (max-width: 768px) {
    padding: 45px 15px;
  }

  & article {
    max-width: 1000px;
    padding: 10px 30px;
    margin: 0 auto;
    line-height: 1.8;
    background-color: #fff;

    @media screen and (max-width: 768px) {
      padding: 10px 15px;
    }

    & h3 {
      display: flex;
      align-items: center;
      font-size: 20px;
      border-bottom: 1px solid #e84364;
      padding: 0.5em 0 0.5em 0.5em;
      margin: 0 0 1em 0;
      align-items: center;

      &::before {
        content: "";
        display: inline-block;
        min-width: 5.4px;
        width: 0.3em;
        height: 1em;
        margin-right: 0.5em;
        background-color: #e84364;
      }
    }
  }

  dl {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    margin-block-end: 0;
    margin-bottom: 50px;

    @media screen and (max-width: 768px) {

      width: 100%;
    }

    dt {
      width: 50%;
      padding: 4em 0;
      border-bottom: 1px solid #aaa;

      @media screen and (max-width: 768px) {

        width: 100%;
        padding: 3em 0 0;
        border-bottom: none;
      }
    }

    dd {
      width: 50%;
      margin-inline-start: 0;
      padding: 4em 0;
      border-bottom: 1px solid #aaa;

      @media screen and (max-width: 768px) {

        width: 100%;
        padding: 0.5em 0 3em;
      }

      input,
      select {
        box-sizing: border-box;
        padding: 1em 0.8em;
        border-radius: 10px;

        &:not(input[type="file"]) {
          &:not(input[type="radio"]) {
            width: 100%;

            @media screen and (max-width: 768px) {

              width: 100%;
            }
          }
        }
      }

      input[type="text"],
      input[type="email"] {
        border: solid 1px;
      }
    }

    .entry-title {
      font-weight: var(--ExtraBold);
    }

    .required {
      display: inline-block;
      padding: 0 0.5em;
      color: #fff;
      background-color: #fe5454;
      font-size: 14px;
      border-radius: 5px;
      text-align: center;
    }
  }

  .rule {
    margin: 3em 0 5em;
    text-align: center;
    border: 2px solid #cc0000;
    padding: 1em;

    a {
      color: #000;
      text-decoration: underline;
    }
  }

  .btn {
    position: relative;
    display: block;
    width: 300px;
    margin: 3em auto 1em;
    padding: 0.75em 0;
    background-color: #e84364;
    color: #fff;
    text-align: center;
    border-radius: 10px;
    cursor: pointer;

  }

  .submit-btn {
    margin-top: 0;
  }

  .back-btn {
    background-color: #000;
    color: #fff;
  }

  .wpcf7-list-item {
    margin: 0;
  }

  .btn.gray {
    margin-top: 150px;
  }

  .wpcf7-form.sent .wpcf7-response-output {
    display: none;
  }

  .wpcf7-form.invalid .wpcf7-response-output {
    border: none;
    color: #ff0000;
  }

  .wpcf7-form-control.wpcf7-submit.has-spinner {
    display: none;

    &:disabled,
    &.sent-now {
      &+.wpcf7-spinner+.entry-btn {
        background-color: #ccc;
        cursor: auto;
      }
    }
  }

  .sent-now {
    pointer-events: none;
  }

  .vote-form-done {
    display: none;
  }

  .recaptcha {
    margin-top: 32px;
    font-size: 12px;
  }
}

.vote-thanks {

  background-color: #f6f6f6;
  padding: 45px 0;

  @media screen and (max-width: 768px) {
    padding: 45px 15px;
  }

  & article {
    max-width: 1000px;
    margin: 0 auto;
    background-color: #fff;
    padding: 6em 2em;
    line-height: 1.8em;

    @media screen and (max-width: 768px) {
      padding: 10px 15px;
    }

    & h3 {
      display: flex;
      align-items: center;
      font-size: 20px;
      border-bottom: 1px solid #e84364;
      padding: 0.5em 0 0.5em 0.5em;
      margin: 0 0 1em 0;
      align-items: center;

      &::before {
        content: "";
        display: inline-block;
        min-width: 5.4px;
        width: 0.3em;
        height: 1em;
        margin-right: 0.5em;
        background-color: #e84364;
      }
    }
  }

  .btn {
    position: relative;
    display: block;
    width: 300px;
    margin: 3em auto 1em;
    padding: 0.75em 0;
    background-color: #e84364;
    color: #fff;
    text-align: center;
    border-radius: 10px;
    cursor: pointer;

  }

  .back-btn {
    background-color: #000;
    color: #fff;
  }

}
