@charset "utf-8";

/* ==========================================================
 *
 * 💡 リニューアル（2025/12）
 *
 * ========================================================== */

.print-sp-br {
  display: none;
}
/* ここまで */

@media screen and (max-width: 1065px) {
  header,
  header.fixed {
    height: auto;
  }
  .head-inner {
    grid-template-columns: min(15.4rem, 40vw);
  }
  .head-nav,
  .head_logo .text {
    display: none;
  }
  .head-inner {
    padding-top: min(2rem, 2.8vw);
    padding-bottom: min(2rem, 2.8vw);
  }
  header.fixed .head_logo {
    padding-bottom: 0;
  }
  #fixed_header .head_logo img {
    scale: 1;
  }
  header.fixed #unfixed_header {
    translate: 0 0;
  }
  header.fixed #fixed_header {
    translate: 0 -100%;
  }
  #hum-btn {
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: flex;
    justify-content: center;
    -ms-align-items: center;
    align-items: center;
  }
}

@media screen and (max-width: 900px) {
  main {
    padding-bottom: 0;
  }
  #content {
    grid-template-columns: 1fr;
  }
  #l-side {
    padding-left: 0;
    grid-template-columns: min(45rem, 70vw);
    justify-content: center;
    padding-top: min(8rem, 15vw);
    padding-bottom: min(8rem, 15vw);
  }
  #l-side::before {
    left: 50%;
    width: 100vw;
    translate: -50% 0;
  }
}
@media screen and (max-width: 768px) {
  /*footer
  =====================================*/
  footer {
    background-image: url("../images/wall/pattern_sp.png");
  }
  .foot-inner {
    grid-template-columns: 1fr;
    place-items: center;
  }
  .foot-logo {
    grid-area: 1 / 1 / 2 / 2;
  }
  .foot__nav {
    grid-area: 2 / 1 / 3 / 2;
  }
  .foot-inquiry {
    width: auto;
    grid-area: 3 / 1 / 4 / 2;
    margin-left: 0;
    place-items: center;
    text-align: center;
  }
  .foot-inquiry .in-text {
    width: min(21em, 100%);
  }
  .foot-inquiry .dial {
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: flex;
    -webkit-flex-wrap: wrap;
    -moz-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    -o-flex-wrap: wrap;
    flex-wrap: wrap;
    justify-content: center;
    -ms-align-items: center;
    align-items: center;
  }
  .foot-inquiry .dial .title span {
    display: none;
  }
  .foot-inquiry .dial .title {
    padding-left: 3em;
  }
  .foot-inquiry .dial .title::before {
    width: 2.5em;
    translate: 0 -40%;
  }
  .foot-inquiry a.num {
    margin-top: 0;
    font-size: min(4rem, calc(100vw / 10));
  }
  .foot-inquiry .dial .time {
    width: 100%;
    text-align: center;
  }
  .foot-inquiry .rect-btn.min {
    width: 100%;
  }
  .foot__about {
    grid-area: 4 / 1 / 5 / 2;
    text-align: center;
  }
  .foot__about .comp-name {
    font-size: 1.2em;
  }
  .foot__about .add span:not(.sp-block) {
    display: inline;
    padding-right: 0.5em;
  }
  .foot__about .add span.sp-block {
    display: inline-block;
    padding-left: 0;
  }
  .foot__about .links > div {
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: flex;
    justify-content: center;
  }
  .foot__about .links > div.spView {
    margin-top: min(1.5rem, 4vw);
  }
}
@media screen and (max-width: 600px) {
  .rect-btn.min {
    height: 5rem;
  }

  /*index flow ++++++++++++++++++++++++++*/

  .index-flow-list::before,
  .flow-items:not(:last-child) .tag::after {
    content: none;
  }

  .flow-items {
    grid-template-columns: 1fr;
  }

  .flow-items .tag {
    position: absolute;
    top: 1rem;
    left: 1rem;
    z-index: 1;
    width: min(7rem, 15%);
  }
  .flow-items .thumb {
    grid-area: 1 / 1 / 2 / 2;
  }
  .flow-items .comment {
    grid-area: 2 / 1 / 3 / 2;
  }

  /* ==========================================================
 *
 * 💡 リニューアル（2025/12）
 *
 * ========================================================== */

  /* 見出しキャラクター */
  .sec-title {
    display: flex;
    align-items: center;
    position: relative;
  }

  .sec-title.red-line::before {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 0;
  }
  .sub-chara {
    height: 2em;
  }

  /* フードプリント */
  .food-print-list .print-thumb-box {
    grid-template-columns: repeat(2, 1fr);
  }

  .print-sp-br {
    display: block;
  }

  .other-print-sample {
    flex-direction: column;
    gap: 20px;
  }

  .other-print-sample figure {
    flex: none;
    width: 100%;
  }

  /* マシュマロサンプル */

  .marsh-size-container {
    flex-wrap: wrap;
    padding: 20px 10px;
  }

  .marsh-item {
    width: calc(50% - 10px);
    margin-bottom: 20px;
    padding: 0;
  }

  /* クーパ紹介 */

  .flex-about-flame {
    flex-basis: 100%;
    width: 100%;
    margin-bottom: 30px;
  }
  .flex-about-flame:last-child {
    margin-bottom: 0;
  }

  /* サポートキャラクター紹介 */

  .support-row {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .page-character-support .in-text {
    text-align: left;
  }

  .support-col {
    max-width: 80%;
    margin-left: auto;
    margin-right: auto;
  }

  /* 環境とキャラクター */
  .support-3chara {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .support-3chara .support-item:nth-child(1),
  .support-3chara .support-item:nth-child(3) {
    border-radius: 0;
  }

  .support-3chara .support-item:nth-child(1) {
    border-radius: 10px 10px 0 0;
  }
  .support-3chara .support-item:nth-child(3) {
    border-radius: 0 0 10px 10px;
  }

  /* 動画 */

  .video-mite {
    max-width: 63%;
  }
}
