.grecaptcha-badge {
  visibility: hidden;
}

#pickup_menu ul li:nth-child(1) a h3 {
  line-height: 1.2;
}

#pickup_menu ul li:nth-child(1) a img {
  width: 45px;
}

#pickup_menu ul li:nth-child(2) a img {
  width: 35px;
}

#pickup_menu ul li:nth-child(3) a img {
  width: 35px;
}

.sp-only {
  display: none:
}


@media screen and (max-width: 768px) {
  .sec-mv .mv-inner .catch {
    display: block;
    margin-left: 60px;
    margin-right: auto;
    /* 		position: absolute; */
    z-index: 999;
  }
}

@media screen and (max-width: 414px) {
  .sec-mv .mv-inner .catch {
    display: block;
    margin-left: 35px;
    margin-right: auto;
    /* 		position: absolute; */
    z-index: 999;
  }

  #pickup_menu ul li:nth-child(1) a h3 {
    line-height: 1.2;
    font-size: 9px;
    font-feature-settings: "palt";
  }

  .sp-only {
    display: block;
  }

  .concept {
    padding-top: 50px;
  }
}

.insta h2 {
  -webkit-align-items: center;
  align-items: center;
  display: -webkit-flex;
  display: flex;
  -webkit-justify-content: center;
  justify-content: center;
  background: #EDEFEF;
  color: #595757;
  font-family: "Times New Roman", YuMincho, "Hiragino Mincho ProN", Meiryo, serif;
  font-size: 30px;
  height: 35px;
  line-height: 35px;
  letter-spacing: .2rem;
  margin-bottom: 15px;
  position: relative;
  text-align: center;

  img {
    height: 29px;
    margin-right: 15px;
    width: 29px;
  }
}

/* 高解像度ディスプレイ用の設定 */
/* front-page */
.top-event {
  dt {
    width: 300px;

    img {
      height: auto;
      width: 100%;
    }
  }

  dd {
    &:after {
      content: '';
      display: table;
      clear: both;
    }
  }
}

.event-index .event-box .img {
  height: auto;
  max-width: 100%;
}

.event-img {
  img {
    height: auto;
    max-width: 100%;
  }
}

@media (max-width: 680px) {

  .top-event dl dd {
    width: calc(100% - 80px);
  }

  .sp_blog article {
    width: calc((100vw - 20px*2)/1);
  }

  /* event */
  .contents {
    display: grid;
    box-sizing: border-box;
  }

  .event-img {
    order: 1;
    box-sizing: border-box;
  }

  .event-data {
    order: 2;
    box-sizing: border-box;
  }
}


/* 全ステータス共通のスタイル */
.status-flag {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 4px;
  font-weight: bold;
  color: #fff !important;
  margin-bottom: 10px;
}

/* 受付中 (スラッグ: start) */
.status-flag.start {
  background-color: #28a745;
  /* 緑 */
}

/* 満員御礼 (スラッグ: full) */
.status-flag.full {
  background-color: #dc3545;
  /* 赤 */
}

/* 終了 (スラッグ: end) */
.status-flag.end {
  background-color: #6c757d;
  /* グレー */
}

#home #main_blow_out h1 {
  background: transparent;
}

.sec-event {
  width: 80vw;
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  margin-bottom: 100px;
  margin-top: 100px;

  h1 {
    color: #595757;
    font-family: "Times New Roman", YuMincho, "Hiragino Mincho ProN", Meiryo, serif;
    font-size: 30px;
    letter-spacing: 1rem;
    line-height: 30px;
    margin-bottom: 30px;
    text-align: center;
    width: 100%;
  }

  .top_event_dl {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    padding: 0;
    margin: 0;

    dl {
      display: flex;
      flex-direction: column;
      margin: 0;
      background-color: #fff;
      text-align: center;
      position: relative;

      dt {
        width: calc((80vw - 30px*2)/3);
        height: calc((80vw - 30px*2)/3);
        overflow: hidden;
        display: flex;
        justify-content: center;
        align-items: center;

        img {
          width: auto;
          height: auto;
          max-width: 100%;
          max-height: 100%;
          object-fit: cover;
          object-position: center center;
        }
      }

      dd {
        text-align: left;

        a {
          text-decoration: none;
          color: #333;

          span {
            color: #8fc31f;
          }
        }
      }
    }

    .status-flag {
      display: inline-block;
      height: 60px;
      line-height: 60px;
      text-align: center;
      padding: 7px 0;
      font-size: 18px;
      background: rgba(141, 107, 53, 0.95);
      color: #FFF;
      box-sizing: border-box;
      border-radius: 0;
      position: absolute;
      top: -10px;
      left: -10px;

      /* 位置固定 */
      padding-right: 0px;
      clip-path: polygon(0% 0%, 100% 0%, calc(100% - 15px) 50%, 100% 100%, 0% 100%);

      h3 {
        margin: 0;
        padding: 0 35px 0 15px;
        border-top: dashed 1px #FFF;
        border-bottom: dashed 1px #FFF;
        line-height: 44px;
        color: #fff;
      }
    }

    .status-flag.full {
      background: #dc3545;
    }

    .status-flag.end {
      background: #6c757d;
    }
  }
}

@media (max-width: 680px) {
  .sec-event {
    width: 90vw;

    .top_event_dl {
      grid-template-columns: repeat(1, 1fr);
      gap: 20px;

      dl {
        dt {
          width: 100%;
          height: 80vw;
        }

        dd {
          width: 100%;
          height: auto;
          padding: 10px 0;
        }
      }
    }
  }
}

/* オーナー様をたずねて */
.report_sec_home {
  display: flex;
  flex-wrap: wrap;
  width: 80vw;
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  margin-top: 100px;
  margin-bottom: 100px;

  h1 {
    color: #595757;
    font-family: "Times New Roman", YuMincho, "Hiragino Mincho ProN", Meiryo, serif;
    font-size: 30px;
    letter-spacing: 1rem;
    line-height: 30px;
    margin-bottom: 30px;
    text-align: center;
    width: 100%;
  }

  h2 {
    width: 100%;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 30px;

    a {
      color: #595757;
      display: flex;
      justify-content: center;
      align-items: center;
      text-decoration: none;

      img {
        margin-right: 1rem;
      }
    }
  }

  .report-img {
    width: 100%;
    max-width: 200px;
    height: 300px;
    margin-right: 20px;

    a {
      display: block;
      width: 100%;
      height: 100%;

      img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: 15% center;
      }
    }

    @media (max-width: 768px) {
      max-width: 100%;
      height: 200px;
      margin-right: 0;
      margin-bottom: 15px;
    }
  }

  .report-flow {
    width: calc(100% - 250px);

    ul {
      list-style: none;
      padding: 0;
      margin: 0;
      display: flex;
      flex-wrap: nowrap;
      gap: 20px;
      justify-content: space-between;

      li {
        width: calc(20% - 16px);
        flex-shrink: 1;
        min-width: 0;
        background: #fff;
        border-radius: 8px;
        overflow: hidden;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
        transition: transform 0.3s ease, box-shadow 0.3s ease;
        height: 300px;

        a {
          display: block;
          text-decoration: none;
          color: #333;
        }

        div {
          img {
            width: 100%;
            height: 130px;
            object-fit: cover;
            object-position: 60% center;
            display: block;
          }
        }

        p {
          padding: 0.75em;
          font-size: 14px;
          line-height: 1.4;
        }

        &:hover {
          transform: translateY(-4px);
          box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
        }
      }
    }

    @media (max-width: 1024px) {
      width: 100%;
    }

    @media (max-width: 768px) {
      ul {
        flex-wrap: wrap;
        gap: 16px;

        li {
          width: calc(50% - 8px);
          flex-shrink: 0;
          height: auto;

          div {
            img {
              height: 140px;
            }
          }
        }
      }
    }

    @media (max-width: 480px) {
      ul {
        li {
          width: 100%;
        }
      }
    }
  }

  @media (max-width: 768px) {
    width: 90vw;
    margin-top: 60px;
    margin-bottom: 60px;

    h1 {
      font-size: 24px;
      letter-spacing: 0.5rem;
      margin-bottom: 20px;
    }

    h2 {
      margin-bottom: 20px;
    }
  }
}


#top-works {
  h1 {
    color: #595757;
    font-family: "Times New Roman", YuMincho, "Hiragino Mincho ProN", Meiryo, serif;
    font-size: 30px;
    letter-spacing: 1rem;
    line-height: 30px;
    margin-bottom: 30px;
    text-align: center;
    width: 100%;
  }
}

#home #main_blow_out {
  margin-top: 100px;
  width: 80vw;
  margin-left: calc(50% - 40vw);
  margin-right: calc(50% - 40vw);
}

/* ↑の設定を打ち消し */
#home #main_blow_out.pc-topic-cover {
  width: 100%;
  margin-left: auto;
  margin-right: auto;
}

/* スマートフォン表示（画面幅767px以下）の設定 */
@media (max-width: 767px) {
  #home #main_blow_out {
    margin-left: 0;
    margin-right: 0;
  }
}

.pc_blog_cover .top_blog div.blog_cover_child:nth-of-type(1) {
  width: calc((100% - 20px) / 3 * 2);
}

.pc_blog_cover .top_blog div.blog_cover_child:nth-of-type(2) {
  width: calc((100% - 20px) / 3 * 1);
}

.pc_blog_cover .top_blog div.blog_cover_child:nth-of-type(1) ul li {
  width: calc((100% - 20px * 1) / 2);
}

.pc_blog_cover .top_blog ul li a .first_img,
.pc_blog_cover .top_blog ul li a .icatch,
.pc_blog_cover .top_blog ul li a .no_img {
  height: calc(((80vw - 20px * 2) / 3) * 2 / 3);
}

.bnr_wrap {
  width: 100%;
  max-width: 850px;
  margin-inline: auto;
  box-sizing: border-box;
  /* パディングやボーダーによるはみ出しを防止 */
}

/* 枠内の画像や要素も画面幅に合わせて収まるように指定 */
.bnr_wrap img {
  max-width: 100%;
  height: auto;
}


.entry-body {
  iframe {
    height: calc(700px*(538/956));
    width: 700px;
  }
}

@media screen and (max-width: 768px) {
  .entry-body {
    iframe {
      height: calc((100vw - 20px*2)*(538/956));
      width: calc(100vw - 20px*2);
    }
  }

  .wp-caption {
    max-width: 100% !important;

    img {
      width: 100%;
    }
  }
}

/*  */
.wp-caption p.wp-caption-text {
  color: #808080;
}

/* リフォーム */

body#staff {
  .works-cat-index li {
    max-height: 500px;
  }

  .works-cat-index li:nth-child(3n) {
    margin-right: 0;
  }

  .works-cat-index li:nth-child(4n) {
    margin-right: 20px;
  }
}

body#works {
  .works-cat-index {
    li {
      max-height: 500px;
    }

    li:nth-child(4n) {
      margin-right: auto;
    }
  }
}

@media screen and (max-width: 1100px) {
  body#staff {
    .works-cat-index li:nth-child(3n) {
      margin-right: auto;
    }

    .works-cat-index li:nth-child(4n) {
      margin-right: auto;
    }
  }
}

/* HOME Blog */
.top_blog ul li a h3 {
  display: block;
}

/* 高解像度ディスプレイ対応 */
.work-gallery {
  #work-img {

    .active {
      img {
        height: 100%;
        max-width: 100%;
        max-height: 460px;
      }
    }
  }
}

.event-img {
  img {
    width: 100%;
    height: auto;
  }
}

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

  .work-gallery {
    #work-img {
      width: 100%;
    }
  }

  #event {
    .contents {
      display: flex;
      flex-direction: column;

      .event-head {
        order: 1;
      }

      .event-img {
        order: 2;
      }

      .event-data {
        order: 3;
      }
    }
  }

  /* 	icatch */
  .icatch,
  .first_img {
    display: block;
  }

  .top_blog ul li .icatch a {
    display: block;

    img {
      height: auto;
      width: 100%;
    }
  }

  .icatch {
    height: auto !important;
  }

  span.blog-title {
    font-size: 13px;
    line-height: 1.5;
    color: #1d2327;
    display: block;
  }

  span.blog-category {
    font-size: 11px;
    background: #A0A0A0;
    color: #fff;
    display: inline-block;
    padding: 0 5px;
  }

  span.blog-date {
    color: #8FC322;
    font-size: 13px;
  }

  span.blog-excerpt {
    display: block;
    color: #595757;
    font-size: 13px;
    padding-bottom: 0;
    margin-top: 5px;
    word-break: break-all;
  }
}

.flex-direction-nav {
  display: none;
}

/* .flex-direction-nav a{
	top:-200% !important;
}

.flex-direction-nav a:before{
	color:#fff!important;
	font-size:30px !important;
} */

#header {
  #site-title {
    position: absolute;
    left: calc((100vw - 950px)/2 *-1 + 10px);
    top: 5px;
    font-size: .85rem;
  }
}

 .sp-only{
  display: none;
 }

@media screen and (max-width: 680px) {
  #header {
    /* padding-top: 1em; */
    #site-title{
      left: auto;
      text-align: center;
      position: relative;
      margin-inline: auto;
    }
  }

  .sp-only{
    display: block;
  }
}

.concept {
  h2 {
    margin-bottom: 50px;
    font-weight: bold;
    font-size: 23px;
  }
}


#home #main_blow_out {
  .h-tooics{
    /* background: #EEEFEF; */
    color: #595757;
    font-family: "Times New Roman", YuMincho, "Hiragino Mincho ProN", Meiryo, serif;
    font-size: 30px;
    letter-spacing: 1rem;
    line-height: 30px;
    margin-bottom: 30px;
    text-align: center;
    width: 100%;
  }
}


.pc_blog_cover{
  .top_blog{
    p.sub-title{
      font-size: 13px;
      margin-bottom: .5em;
      padding-left: 1em;
      padding-bottom: 0;
    }
  }
}
