/* ロゴとメインコピー */
.first_view {
  position: relative;
  padding: 3em 0 4em 0;
  text-align: center;
  .main_logo {
    width: 4.5em;
    margin: auto;
  }
  .main_copy {
    padding: 4em 0 2em 0;
    .main_copy_image img {
      width: 7em;
      margin: 0 auto 1em;
    }
    .main_copy_text {
      font-weight: 500;
      font-size: 1.0625em;
      font-family: var(--serif);
    }
  }
  .main_logo img,
  .main_copy img {
    -webkit-filter: brightness(1) invert(0);
    filter: brightness(1) invert(0);
    transition: 1s;
  }
  .container {
    position: relative;
    z-index: 2;
  }
  .first_view_bg {
    position: absolute;
    width: 100%;
    top: 0;
    left: 0;
    transition: 1s;
    & img {
      width: 100%;
    }
  }
}
@media (max-width: 739px) {
  .first_view {
    min-height: calc(100vh + 8em);
    background-color: rgba(255, 255, 255, 1);
    color: var(--base-color);
    transition: 2s;
  }
  .first_view.loaded {
    background-color: rgba(255, 255, 255, 0);
    color: #fff;
    .first_view_bg {
      opacity: 0;
    }
    .main_logo img,
    .main_copy img {
      -webkit-filter: brightness(0) invert(1);
      filter: brightness(0) invert(1);
      transition: 2s;
    }
  }
}
@media (min-width: 740px) {
  .first_view {
    background-color: rgba(255, 255, 255, 1);
  }
}
@media (min-width: 960px) {
  .first_view {
    position: relative;
    .main_copy {
      display: flex;
      flex-direction: row-reverse;
      justify-content: center;
      gap: 2em;
      .main_copy_text {
        writing-mode: vertical-rl;
        font-feature-settings: normal;
        text-align: left;
        line-height: 1.8;
        font-size: 1.0625em;
      }
    }
    .main_logo {
      width: 7em;
    }
    .bg_img {
      top: -6em;
    }
  }
}
/* お知らせ */
.news {
  background: #fff;
  color: #e42d47;
  .news_block {
    padding: 2.5em 0 12em;
  }
  .news_list > li {
    padding: 2em 0 0 0;
  }
  .news_list li > div {
    display: flex;
    gap: 1em;
    .news_image {
      width: 7em;
      & div {
        aspect-ratio: 1/1;
        overflow: hidden;
        position: relative;
      }
      & img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: 50% 50%;
      }
    }
    .news_text {
      flex: 1;
      line-height: 1.8;
      .news_tag {
        padding: 0;
        line-height: 0;
        margin: 0 0 0.5em 0;
      }
      .news_tag li {
        display: inline-block;
        font-size: 0.75em;
        line-height: 1.8;
        border: 1px solid rgba(233, 68, 92, 0.4);
        padding: 0 0.5em;
        margin-right: 0.3em;
      }
      .news_title {
        font-weight: 700;
      }
      .news_date {
        font-size: 0.9em;
      }
    }
  }
}
@media (max-width: 739px) {
  .news {
    border-top-right-radius: 8em;
    margin-top: -8em;
    .news_block {
      padding: 4em 0 12em;
    }
  }
}
@media (any-hover: hover) {
  .news .underline {
    background-image: linear-gradient(90deg, #e42d47, #e42d47);
  }
}
/* コンセプト */
.about {
  background-color: #ffe9ec;
  padding: 5em 0 17em;
  position: relative;
  overflow: hidden;
  border-top-left-radius: 8em;
  margin-top: -8em;
  & .container {
    width: 100%;
    position: relative;
    z-index: 3;
  }
  & h2 {
    padding: 0 0 2em 0;
    width: 82%;
    margin: auto;
  }
  .about_text {
    background-color: #fff;
    padding: 2em;
    & h3 {
      font-size: 2.125em;
      line-height: 1.5;
      padding: 0 0 0.75em 0;
      font-family: var(--serif);
      white-space: nowrap;
    }
  }
  .about_block_1 {
    padding: 0 0 4em 10%;
  }
  .about_block_2 {
    padding: 0 10% 0 0;
  }
  .bg_image_1,
  .bg_image_2 {
    position: absolute;
    width: 75%;
    mix-blend-mode: multiply;
  }
  .bg_image_1 {
    position: absolute;
    top: 0em;
    left: 0;
    z-index: 1;
  }
  .bg_image_2 {
    position: absolute;
    bottom: 7em;
    right: 0;
    z-index: 1;
  }
}
@media (min-width: 740px) {
  .about {
    & .about_text {
      padding: 2em 2.5em;
      & h3 {
        font-size: 2.125em;
        line-height: 1.6;
      }
    }
    .bg_image_1,
    .bg_image_2 {
      width: 60%;
    }
    .bg_image_1 {
      top: 1em;
    }
  }
}
/* 豆説明 */
.beans {
  padding: 5em 0 13em 0;
  background-color: #e2d6ce;
  border-top-right-radius: 8em;
  position: relative;
  margin-top: -8em;
  z-index: 2;
  & h2 {
    padding: 0 0 2em 0;
  }
  & h2 + p {
    font-size: 1.187em;
    text-align: center;
    margin: 0 0 0.5em 0;
    font-weight: 500;
    line-height: 1.8;
  }
  .roast_step {
    background: #fff;
    padding: 1.5em 1.2em;
    margin: 2.5em 0 0 0;
    & ol {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      column-gap: 5px;
      row-gap: 1em;
      text-align: center;
      .roast_step_num {
        line-height: 1;
        font-weight: 600;
        font-size: 1.5em;
        color: #6d3521;
      }
      & p {
        font-size: 0.72em;
        line-height: 1.4;
        font-weight: 700;
        letter-spacing: 0;
      }
    }
  }
  .roast_graph {
    padding: 2.5em 0;
  }
  .onlineshop_link {
    padding: 2.5em 0 0 0;
  }
  .onlineshop_link a {
    text-decoration: underline;
    text-underline-offset: 5px;
    text-decoration-thickness: 2px;
    font-weight: 500;
  }
  .onlineshop_link > p {
    margin: 0 0 1em 0;
  }
  .notice1 {
    font-size: 1.125em;
  }
  .notice2 {
    font-size: 0.95em;
  }
  .shop_select_title {
    margin: 3.5em auto 0 auto;
    text-align: center;
    & h3 {
      font-size: 1.5em;
      font-weight: 700;
    }
    & img {
      width: 3.5em;
      transform: translateY(-0.5em);
      filter: invert(16%) sepia(10%) saturate(2981%) hue-rotate(329deg)
        brightness(89%) contrast(91%);
    }
  }
  .shop_select_title > div {
    display: inline-flex;
    align-items: center;
    gap: 0.5em;
    margin: 0 0 0 -0.5em;
  }
  .shop_select {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 1.5em;
    text-align: center;
    margin: 1.5em 0 0 0;
    font-size: 0.875em;
    & a {
      display: block;
    }
    & a > div {
      background-color: #fff;
      margin: 0 0 0.5em 0;
    }
    .shop_select_rakuten img {
      width: 80%;
      margin: auto;
    }
  }
}
@media (min-width: 740px) {
  .roast_step_image img {
    width: 84%;
    margin: auto;
  }
  .beans {
    .order_info {
      text-align: center;
    }
    .shop_select {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 1em;
      .shop_select_rakuten img {
        width: 100%;
        margin: auto;
      }
      & a > div {
        background-color: #fff;
        padding: 0.75em 0;
      }
    }
  }
}
/* コラム */
.column {
  padding: 3.5em 0 5em 0;
  border-top-left-radius: 8em;
  position: relative;
  margin-top: -8em;
  z-index: 3;
  background-color: #fff;
  & h2 {
    padding: 0 0 2em 0;
  }
  .column_title_image {
    margin: 0 auto 2em auto;
    max-width: 400px;
  }
  & p.asterisk {
    margin: 1em 0 0 0;
  }
  .column_list ul {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    column-gap: 1em;
    row-gap: 2.5em;
    padding: 3em 0 0 0;
    & a {
      display: block;
    }
    & h3 {
      font-size: 1.0625em;
      line-height: 1.5;
      padding: 0.75em 0 0.5em;
      font-weight: 500;
    }
    & p {
      font-size: 0.85em;
      opacity: 0.8;
      line-height: 1.8;
      overflow: hidden;
      display: -webkit-box;
      text-overflow: ellipsis;
      -webkit-box-orient: vertical;
      -webkit-line-clamp: 3;
      line-clamp: 3;
    }
    .column_list_date {
      font-family: var(--font-serif);
      font-size: 0.85em;
      padding: 0.75em 0 0 0;
    }
  }
  .backnumber a {
    display: block;
    text-align: center;
    padding: 1em;
    border: 1px solid;
    margin: 2.5em 0 0 0;
  }
  .backnumber a span::after {
    content: "";
    display: inline-block;
    width: 1em;
    height: 1em;
    background: url(/assets/images/icon_link_blank.svg) no-repeat;
    background-size: cover;
    opacity: 0.7;
    margin: 0 0 0 0.5em;
    transform: translateY(0.1em);
  }
}
.shopinfo {
  background-color: #fff;
  .container {
    padding: 5em 0 2.5em;
  }
  & address,
  .open_time,
  .telfax {
    text-align: center;
  }
  & address {
    margin: 2em 0 1em;
  }
  & address a {
    display: block;
    font-weight: 500;
    margin: 0.5em 0 0 0;
  }
  & address a i {
    display: inline-block;
    padding-right: 0.5em;
  }
  & address a i svg {
    fill: #6d3521;
  }
  & address a span {
    text-decoration: underline;
    text-underline-offset: 5px;
  }
  .telfax {
    & dt {
      font-weight: 500;
    }
    & dd {
      font-size: 2.25em;
      line-height: 1.2;
    }
  }
  .open_time {
    margin: 2em 0 1em;
    & h3 {
      font-weight: 500;
    }
    & table {
      margin: 1em auto 0.5em;
      border-collapse: collapse;
      border-top: 1px solid rgba(71, 39, 28, 0.3);
      & th {
        font-weight: normal;
      }
      & th,
      & td {
        border-bottom: 1px solid rgba(71, 39, 28, 0.3);
        padding: 0.5em;
      }
      & td {
        font-weight: 500;
      }
    }
    & p {
      font-size: 0.9em;
    }
  }
  .payment {
    text-align: center;
    margin: 0 0 2em 0;
    padding: 0.5em 0;
    border: 2px solid;
    line-height: 1.6;
  }
  .shop_outside {
    margin: 0 0 1.5em 0;
    position: relative;
  }
  .shop_outside::after {
    content: "";
    display: block;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    border: 1px solid rgba(71, 39, 28, 0.1);
  }
}
/* google map表示 */
.mapWrapper {
  position: relative;
  background-color: #eee;
}
.mapWrapper::before {
  content: "";
  display: block;
  padding-top: calc(1 / 1 * 100%);
}
.mapWrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: 100%;
}
