@charset "utf-8";

/*base.cssを読み込み*/
@import url('../../../../../inc/css/base.css') layer(foundation);
  
/*カスタムプロパティ*/
:root {
  --pc--width: 1140px;
  --sp--width: 375px;
  --breakpoint01: 750px; /*750pxまではsp表示*/
  --fsz-sp6: max(6px, 1.6vw);
  --fsz-sp7: max(7px, 1.8vw);
  --fsz-sp75: max(7.5px, 2vw);
  --fsz-sp8: max(8px, 2.1vw);
  --fsz-sp9: max(9px, 2.4vw);
  --fsz-sp10: max(10px, 2.6vw);
  --fsz-sp11: max(11px, 2.9vw);
  --fsz-sp12: max(12px, 3.2vw);
  --fsz-sp14: max(14px, 3.7vw);
  --fsz-sp16: max(16px, 4.2vw);
  --fsz-sp17: max(17px, 4.5vw);
  --fsz-sp18: max(18px, 4.8vw);
  --fsz-sp20: max(20px, 5.3vw);

  --fsz-pc12: clamp(8.2px, 1.1vw, 12px);
  --fsz-pc14: clamp(9px, 1.2vw, 14px);
  --fsz-pc15: clamp(9.7px, 1.3vw, 15px);
  --fsz-pc16: clamp(11px, 1.4vw, 16px);
  --fsz-pc35: clamp(22px, 3.0vw, 35px);
  --fsz-pc45: clamp(29px, 3.9vw, 45px);

  --color-green: #078a00;
  --color-red: #eb2100;
  --color-orange: #eb5926;
  --color-beige: #ffe1b5;
  --color-purple: #9c72c0;
  --color-lavender: #e0d7e8;
  --color-white: #ffffff;
}
  
/*レイヤー*/
@layer foundation, layout, component, project, utility, displaySwitch;
  
@layer foundation {
  html {
    scroll-behavior: smooth;
  }
  
  body {
    width: 100%;
    margin: 0;
    font-family: "Noto Sans Japanese", "ヒラギノ角ゴ ProN W3", "Lucida Grande", "Hiragino Kaku Gothic ProN", メイリオ, Meiryo, Verdana, "ＭＳ Ｐゴシック", sans-serif, 游ゴシック, YuGothic;
  }
  
  img {
    max-width: 100%;
    height: auto;
    vertical-align: middle;
  }
  
  h1, h2, h3, h4, h5, h6, p, figure {
    margin: 0;
    padding: 0;
    font-size: 100%;
  }
  
  ul, ol, li {
    list-style-type: none;
    margin: 0;
    padding: 0;
  }
  
  a {
    color: inherit;
    text-decoration: none;
  }
  a:visited {
    color:#007FEB;
  }
  
  q {
    quotes: none;
  }

  em {
    font-style: normal;
  }
}
  
@layer layout {
  #contents_box {
    padding: 0;
  } 

  #wrapper{
    max-width: 1140px;
    margin: 0 auto;
  }
}
  
@layer component {
  .c-eventShop_ttl {
    width: 70%;
    margin: 4% 15% 3% 15%;
  }

  @media screen and (min-width:751px) {
    .c-eventShop_ttl {
      margin: 4% 15%;
    }
  }

  .c-eventInfo_ttl {
    margin-bottom: 3%;
  }

  @media screen and (min-width:751px) {
    .c-eventInfo_ttl {
      margin-bottom: 2%;
    }
  }
}
  
@layer project {
  /*リユース御朱印巡礼祭とは*/
  .p-eventCapTtl {
    padding: 5%;
  }

  .p-eventCapTtl img {
    width: 100%;
  }

  @media screen and (min-width:751px) {
    .p-eventCapTtl {
      margin: 0 auto;
      width: 60%;
    }
  }

  .p-eventCap_mediaTxt {
    padding: 0 5% 8% 5%;
    margin-bottom: 10%;
  }

  @media screen and (min-width:751px) {
    .p-eventCap_mediaTxt {
      margin-bottom: 0;
    }
  }

  .p-eventCapTxt {
    text-align: center;
  }

  .p-eventCapTxt p {
    font-size: var(--fsz-sp14);
    font-weight: bold;
    line-height: 1.5;
  }

  .p-eventCapTxt em {
    color: var(--color-green);
  }

  .p-eventCapTxt small {
    display: block;
    font-size: var(--fsz-sp11);

  }

  @media screen and (min-width:751px) {
    .p-eventCapTxt small {
      font-size: var(--fsz-pc16);
      text-align: left;
    }
  }

  .p-eventCapStampImg img{
    margin-bottom: 5%;
    width: 55%;
  }

  @media screen and (min-width:751px) {
    .p-eventCapStampImg img{
      width: 65%;
    }
  }

  .p-eventCapImg img {
    width: 85%;
    margin: 0 7.5%;
  }

  @media screen and (min-width:751px) {
    .p-eventCapImg img {
      width: 80%;
      margin: 0 10%;
    }
  }

  /*イベント情報*/
  .p-eventInfoBlock {
    padding-top: 5%;
    margin: 5% 5px;
    border: var(--color-purple) 2px solid;
    outline: var(--color-purple) 3px solid;
    outline-offset: 2px;
    background-color: var(--color-lavender);
  }

  @media screen and (min-width:751px) {
    .p-eventInfoBlock {
      margin: 0 5px;
      aspect-ratio: initial;
    }
  }

  .p-eventInfo_special {
    padding: 0 5%;
    text-align: center;
  }

  .p-eventInfo_special small {
    font-size: var(--fsz-sp11);
    display: block;
    text-align: end;
    margin-top: 2%;
    margin-right: 1%;
  }

  @media screen and (min-width:751px) {
    .p-eventInfo_special small {
      font-size: var(--fsz-pc15);
      margin-top: 1%;
      margin-right: 3%;
    }
  }
  
  .p-eventInfo_special small.left {
    text-align: left;
  }
  
  @media screen and (min-width:751px) {
    .p-eventInfo_special small.left {
      margin-left: 1.5em;
    }
  }
  
  .p-specialItem_notes {
    margin-top: 6%;
    position: relative;
    width: 100%;
    aspect-ratio: 303 / 532;
  }

  @media screen and (min-width:751px) {
    .p-specialItem_notes {
      margin: 2% 5% 0 5%;
      width: 90%;
      aspect-ratio: 1026 / 429;
    }
  }

  .p-specialItem_bg {
    display: block;
    width: 100%;
  }

  @media screen and (min-width:751px) {
    .p-specialItem_bg {
      width: 85%;
      margin: 0 auto;
    }
  }

  .p-attentionList {
    position: absolute;
    bottom: 0;
    font-size: var(--fsz-sp11);
    width: 100%;
    line-height: 1.5;
  }

  @media screen and (min-width:751px) {
    .p-attentionList {
      text-align: left;
      font-size: var(--fsz-pc15);
      overflow-wrap: break-word;
      position: absolute;
      bottom: 4%;
      left: 10%;
      width: 40%;
    }
  }

  /*イベント参加の流れ*/
  .p-eventInfo_flow {
    margin: 6% 0 4% 0;
    padding: 0 5%;
    text-align: center;
  }

  @media screen and (min-width:751px) {
    .p-eventInfo_flow {
      margin: 6% 0;
    }
  }

  .p-flowSteps {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    margin: 7% 0 0 3%;
  }

  @media screen and (min-width:751px) {
    .p-flowSteps {
      grid-template-columns: repeat(3, 1fr);
      margin: 7% 0 4% 0;
      width: 105%;
    }
  }

  .p-flowSteps p {
    margin-top: 1%;
    font-size: var(--fsz-sp12);
  }

  .p-flowSteps p span {
    color: var(--color-red);
    font-size: var(--fsz-sp11);
    line-height: 1.2;
    display: block;
  }

  @media screen and (min-width:751px) {
    .p-flowSteps p {
      font-size: var(--fsz-pc16);
    }

    .p-flowSteps p span {
      font-size: var(--fsz-pc12);
    }
  }

  @media screen and (min-width:751px) {
    .p-flowStep_one,
    .p-flowStep_two,
    .p-flowStep_three {
      display: flex;
      width: 100%;
    }
  }

  @media screen and (min-width:751px) {
    .p-flowStep_imgTxt {
      width: 94%;
    }
  }

  .p-flowStepsImg {
    display: block;
    width: 70%;
    aspect-ratio: 212 / 160;
    margin: 0 auto;
  }

  @media screen and (min-width:751px) {
    .p-flowStepsImg {
      width: 83%;
      aspect-ratio: 285 / 200;
    }
  }

  .p-flowStepsImg img {
    width: 100%;
  }

  @media screen and (min-width:751px) {
    .p-flowStep_three .p-flowStepsImg {
      width: 75%;
      aspect-ratio: 207 / 145;
    }
  }

  .p-app_sp {
    width: 100%;
    display: flex;
    justify-content: center;
  }

  @media screen and (min-width:751px) {
    .p-app_sp {
      display: none;
    }
  }

  .p-app_sp a {
    display: block;
    width: 60%;
    margin: 0 auto;
  }

  .p-flowStepsArrow {
    display: block;
    width: 20%;
    margin: 8% 40% 5% 40%;
  }

  @media screen and (min-width:751px) {
    .p-flowStepsArrow {
      width: 10%;
      margin: 20% 0 5% 0;
    }
  }

  .p-flowStep_notes {
    background-color: var(--color-beige);
    padding: 3% 5%;
    border-radius: 10px;
    text-align: left;
    font-size: var(--fsz-sp11);
  }

  @media screen and (min-width:751px) {
    .p-flowStep_notes {
      border-radius: 0;
      font-size: var(--fsz-pc14);
      padding: 1.5% 4%;
      width: 70%;
      margin: 0 auto;
    }
  }

  /*開催期間・店舗*/
  .p-eventShop{
    width: 96%;
    padding: 2%;
    background-image: url(../img/pc/eventPeriod_bg.png);
    background-size: cover;
  }

  @media screen and (min-width:751px) {
    .p-eventShop{
      width: 86%;
      padding: 5% 0;
      margin: 0 7% 5% 7%;
    }
  }

  .p-eventShop_contents {
    padding: 0;
    margin-top: 10%;
    /*border: var(--color-purple) 4px solid;*/
    background-color: var(--color-white);
    text-align: center;
  }

  @media screen and (min-width:751px) {
    .p-eventShop_contents {
      width: auto;
      margin: 0 2%;
      padding: 0 5%;
    }
  }

  .p-eventShop_contents small {
    font-size: var(--fsz-sp11);
    text-align: center;
  }

  @media screen and (min-width:751px) {
    .p-eventShop_contents small {
      font-size: var(--fsz-pc16);
      margin-top: 2%;
      display: inline-block;
    }
  }

  .p-eventShop_contents p {
    font-size: var(--fsz-sp14);
    font-family: "Shippori Mincho", serif;
    font-weight: bold;
  }

  @media screen and (min-width:751px) {
    .p-eventShop_contents p {
      font-size: var(--fsz-pc35);
    }
  }

  .p-eventShop_contents em {
    font-size: var(--fsz-sp20);
  }

  @media screen and (min-width:751px) {
    .p-eventShop_contents em {
      font-size: var(--fsz-pc45);
    }
  }

  .p-eventPeriod {
    top: 3%;
  }

  .p-mapArea {
    width: 96%;
    margin: 1% auto;
    display: block;
    height: 50vh;
    aspect-ratio: 272 / 166;
  }

  @media screen and (min-width:751px) {
    .p-mapArea {
      width: 100%;
      height: 40%;
      margin: 1% 0;
    }
  }

  .p-mapArea iframe {
    width: 100%;
    height: 100%;
  }

  /*公式アプリ*/
  .p-app {
    margin-top: 3%;
    position: relative;
  }

  @media screen and (min-width:751px) {
    .p-app_bg {
      display: block;
      width: 100%;
    }
  }

  .p-app_bg img {
    width: 100%;
  }

  .p-app_btns {
    position: absolute;
    bottom: 10%;
    left: 5%;
    display: flex;
    flex-direction: column;
  }

  @media screen and (min-width:751px) {
    .p-app_btns {
      flex-direction: row;
      justify-content: space-between;
      bottom: 12%;
      left: 25%;
      width: 38%;
    }
  }

  .p-app_btns a {
    margin-top: 8%;
  }

  @media screen and (min-width:751px) {
    .p-app_btns a {
      display: block;
      width: 45%;
    }

    .p-app_btns a img {
      width: 100%;
    }
  }
}
  
@layer utility {
  /* ※（注釈）を追加　*/
  .u-txtAttention {
    padding-left: 1em;
    text-indent: -1em;
  }
  .u-txtAttention:before {
    content: "※";
  }

  .u-red {
    color: var(--color-red);
    font-size: var(--fsz-sp17);
  }

  @media screen and (min-width:751px) {
    .u-red {
      font-size: var(--fsz-pc15);
    }
  }

  .p-flowStep_one p {
    margin-bottom: 6%;
  }

  .u-purple_line {
    display: block;
    width: 85%;
    border-bottom: var(--color-purple) solid 2px;
    padding-bottom: 5%;
    height: fit-content;
    margin: 0 auto 5% auto;
  }

  .u-purple_line img {
    width: 90%;
    margin: 0 5%;
  }

  @media screen and (min-width:751px) {
    .u-purple_lineTtl {
      display: block;
      width: 100%;
      border-bottom: var(--color-purple) solid 2px;
      padding-bottom: 5%;
      height: fit-content;
      margin: 0 auto 5% auto; 
    }
  }

  @media screen and (min-width:751px) {
    .u-stampGet_area {
      position: relative;
      text-align: center;
    }
  }

  .u-orange_lineTxt {
    position: absolute;
    padding: 2% 0 0 7%;
    text-align: left;
  }
    
  @media screen and (min-width:751px) {
    .u-orange_lineTxt {
      padding-left: 10%;
      bottom: 2%;
      text-align: center;
    }
  }

  .u-orange_line {
    width: 93%;
    height: 2px;
    background-color: var(--color-orange);
    display: block;
    margin-bottom: 2%;
  }

  .u-stamprally_txt img {
    margin-bottom: 5%;
  }

  @media screen and (min-width:751px) {
    .u-stamprally_txt img {
      margin-bottom: 3%;
    }
  }

  .u-boku_ha_tanosii img {
    margin-top: 5%;
  }

  @media screen and (min-width:751px) {
    .u-boku_ha_tanosii img {
      margin-top: 3%;
    }
  }

  .u-mapArea img {
    margin-top: 5%;
  }

  @media screen and (min-width:751px) {
    .u-mapArea img {
      margin-top: 4%;
    }
  }
}

@layer displaySwitch {
  @media screen and (min-width:751px) {
    .u-for_sp {
      display: none;
    }
  }

  .u-for_pc {
    display: none;
  }

  @media screen and (min-width:751px) {
    .u-for_pc {
      display: inherit;
    }
  }
}
