@charset "utf-8";
/* CSS Document */
@media screen and (max-width:736px) {
  /* #contents::before {
    background-color: #280b03;
    background: url("images/bg_full_sp.webp") no-repeat center;
    background-size: cover;
    content: "";
    display: block;
    position: fixed; 
    top: 0;
    left: 0;
    background-position: bottom;
    z-index: -100;
    width: 100%;
    height: 100vh;
  }*/
  #famimacafe2025 img {
    width: 100%;
    height: auto;
  }
  #famimacafe2025 .fix {
    clear: both;
  }
  #famimacafe2025 ul {
    width: 100%;
    margin: .5rem 0 0;
    font-size: 0.75rem;
  }
  /*btn */
  .btn, a.btn, button.btn {
    width: 60%;
    font-size: 1.0rem;
    font-weight: 600;
    line-height: 1.5;
    position: relative;
    display: inline-block;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 1rem 2rem;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-transition: all 0.3s;
    transition: all 0.3s;
    text-align: center;
    vertical-align: middle;
    text-decoration: none;
    letter-spacing: 0.05em;
    border-radius: 0;
  }
  a.btn-flat {
    overflow: hidden;
    padding: 1rem 4rem;
    color: #421f0f;
    border-radius: 0;
    background: #fff;
    border: 1px solid #421f0f;
    margin: 4rem auto -2rem;
  }
  a.btn-flat span {
    position: relative;
  }
  a.btn-flat:before {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    content: '';
    -webkit-transition: all .5s ease-in-out;
    transition: all .5s ease-in-out;
    -webkit-transform: translateY(100%);
    transform: translateY(100%);
    background: #421f0f;
  }
  a.btn-flat:hover:before {
    -webkit-transform: translateX(0%);
    transform: translateX(0%);
  }
  a.btn-flat:after {
    content: "\e903";
    position: absolute;
    right: 10px;
    top: 50%;
    font-family: "icn_font";
    transform: translate(-50%, -50%);
  }
  a.btn-flat:hover {
    color: #fff;
  }
  #famimacafe2025 .sp-none {
    display: none;
  }
  #famimacafe2025 {
    margin: 0 calc(50% - 50vw);
    padding: 0;
    margin-top: -10px;
    overflow-x: hidden;
  }
  #famimacafe2025 .w1160 {
    position: relative;
    max-width: 94%;
    min-height: 100vh;
    margin: 0 auto;
    padding: .0 0 1.7rem;
    box-sizing: border-box;
    background-color: #fff;
  }
  #famimacafe2025 .leaf01 {
    position: absolute;
    content: url("leaf01.svg");
    opacity: 0.8;
    width: 100px;
    height: auto;
    bottom: 0;
    left: -35px;
    z-index: 10;
    overflow-x: hidden;
  }
  #famimacafe2025 .leaf02 {
    position: absolute;
    content: url(leaf02.svg);
    opacity: 0.8;
    width: 75px;
    height: auto;
    bottom: 0px;
    right: -12px;
    z-index: 10;
    overflow-x: hidden;
  }
  #famimacafe2025 .ribbon, .ribbon01, .ribbon02 {
    position: relative;
    /*min-width: 107.5%;*/
    max-width: 100%;
    margin: 2rem 0;
    /*margin-left: -3.7%;*/
    padding: 0.8rem 0;
    font-size: 1.1rem;
    color: #FFF;
    background: #594e52;
    text-align: center;
    z-index: 10;
  }
  #famimacafe2025 .ribbon01:before {
    position: absolute;
    content: url("leaf01.svg");
    opacity: 0.8;
    width: 165px;
    height: auto;
    display: block;
    top: 25px;
    left: -40px;
    overflow-x: hidden;
  }
  #famimacafe2025 .ribbon02:before {
    position: absolute;
    content: url(leaf02.svg);
    opacity: 0.8;
    width: 130px;
    height: auto;
    display: block;
    top: -30px;
    right: -20px;
    overflow-x: hidden;
  }
  /*#famimacafe2025 .ribbon:before {
    position: absolute;
    content: '';
    top: 100%;
    left: 0;
    border: none;
    border-bottom: solid 10px transparent;
    border-right: solid 12px #421f0f; /*折り返し部分*/
  /*}*/
  /*#famimacafe2025 .ribbon:after {
    position: absolute;
    content: '';
    top: 100%;
    right: 0;
    border: none;
    border-bottom: solid 10px transparent;
    border-left: solid 12px #421f0f; /*折り返し部分*/
  /*}*/
  a:hover img {
    opacity: 0.7;
    filter: alpha(opacity=70);
    -ms-filter: "alpha( opacity=70 )";
  }
  #famimacafe2025 .tit {
    width: 100%;
    display: flex;
    justify-content: center;
  }
  #famimacafe2025 .tit_h1 {
    width: 68%;
    margin: 0 0 1.5rem;
  }
  #famimacafe2025 .h1_ico {
    width: 10%;
    padding: .75rem .8rem 0 0;
  }
  #famimacafe2025 .lead01 {
    font-size: clamp(0.9rem, -0.048rem + 2.06vw, 1.5rem);
    text-align: left;
    font-weight: 600;
    line-height: 1.8em;
    margin-top: 1.5rem;
  }
  #famimacafe2025 .lead {
    font-size: clamp(0.9rem, -0.048rem + 2.06vw, 1.5rem);
    text-align: center;
    font-weight: 600;
    line-height: 1.8em;
  }
  #famimacafe2025 .note {
    font-size: 0.75rem;
    margin-top: .5rem;
    text-align: left;
  }
  #famimacafe2025 .note::before {
    content: "※";
  }
  #famimacafe2025 .mrl15 {
    margin: 0 15px;
  }
  #famimacafe2025 .machine {
    width: 100%;
    height: auto;
    margin: 2rem 0;
  }
  #famimacafe2025 .new_ico {
    position: absolute;
    top: 5%;
    right: 24.5%;
    width: 6%;
    z-index: 5;
  }
  #famimacafe2025 .new_mph {
    width: 54%;
    margin: 1.5rem 25% 0;
    float: right;
    visibility: hidden;
  }
  #famimacafe2025 sup {
    font-size: 0.7rem;
    letter-spacing: 0.1rem;
    vertical-align: super;
  }
  #famimacafe2025 .red {
    color: rgba(217, 44, 47, 1.00);
  }
  #famimacafe2025 .tit_h2_sm {
    font-size: clamp(1.51rem, 1.31rem + 1vw, 1.77rem);
  }
  #famimacafe2025 .conR {
    width: 25%;
    float: right;
  }
  /*============flex============*/
  #famimacafe2025 .con_area {
    width: 92%;
    margin: 0 auto 4rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
  }
  #famimacafe2025 .con {
    width: calc(100%/ 1 - 0px);
    margin-top: 2rem;
  }
  #famimacafe2025 .con img {
    width: 70%;
    margin: 0 15% 5%;
    border-radius: 50%;
    border: 1px solid #beb6b7;
  }
  #famimacafe2025 .koime img {
    width: 70%;
    margin: 0 15% 5%;
    border-radius: 50%;
    border: 1px solid #b49969;
  }
  #famimacafe2025 .futsu img {
    width: 70%;
    margin: 0 15% 5%;
    border-radius: 50%;
    border: 1px solid #ddcd6e;
  }
  #famimacafe2025 .karume img {
    width: 70%;
    margin: 0 15% 5%;
    border-radius: 50%;
    border: 1px solid #a9c9da;
  }
  #famimacafe2025 .con_tit {
    text-align: center;
    font-size: 1.1rem;
    font-weight: 500;
    background-color: rgba(42, 16, 17, 0.3);
    clip-path: polygon(92% 0, 100% 25%, 100% 100%, 0 100%, 0 0);
    padding: 1rem;
  }
  #famimacafe2025 .con_tit > span {
    font-size: 70%;
  }
  #famimacafe2025 .koime_tit {
    text-align: center;
    font-size: 1.5rem;
    font-weight: 600;
    background-color: #b49969;
    clip-path: polygon(92% 0, 100% 25%, 100% 100%, 0 100%, 0 0);
    padding: 1rem;
  }
  #famimacafe2025 .futsu_tit {
    text-align: center;
    font-size: 1.5rem;
    font-weight: 500;
    background-color: #ddcd6e;
    clip-path: polygon(92% 0, 100% 25%, 100% 100%, 0 100%, 0 0);
    padding: 1rem;
  }
  #famimacafe2025 .karume_tit {
    text-align: center;
    font-size: 1.5rem;
    font-weight: normal;
    background-color: #a9c9da;
    clip-path: polygon(92% 0, 100% 25%, 100% 100%, 0 100%, 0 0);
    padding: 1rem;
  }
  #famimacafe2025 .txtS {
    font-weight: normal;
    font-size: 0.9rem;
    text-align: left;
    margin-top: 1rem;
  }
  .txtS > .sup {
    font-weight: normal;
    font-size: 0.7rem;
    vertical-align: super;
  }
  #famimacafe2025 .dotted-line {
    width: 50%;
    margin: 1.5rem auto .5rem;
    text-align: center;
  }
  #famimacafe2025 .dotted-line::after {
    content: "..........";
    color: #beb6b7;
    font-size: 2rem;
    letter-spacing: 0.2rem;
  }
  /*============comment============*/
  #famimacafe2025 .come_area {
    width: 92%;
    margin: 4rem auto;
  }
  #famimacafe2025 .come_area figure {
    width: 60%;
    height: auto;
    margin: 0 auto 1rem;
  }
  #famimacafe2025 .comment {
    max-width: 100%;
  }
  #famimacafe2025 .come_txt {
    width: auto;
    margin: 0 auto;
    font-size: 0.9rem;
  }
  #famimacafe2025 .commentS {
    font-size: 80%;
    line-height: 1.3rem;
  }
  #famimacafe2025 .come_tit {
    font-size: 1.2rem;
    margin-bottom: 1rem;
  }
  /*============Award============*/
  #famimacafe2025 .award_area {
    width: 92%;
    margin: 0 auto 4rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
  }
  #famimacafe2025 .award {
    width: calc(100%/ 1 - 0px);
    margin: 2rem auto;
  }
  #famimacafe2025 .award img {
    width: auto;
    padding: 0.8rem;
    box-sizing: border-box;
  }
  #famimacafe2025 .award_tit {
    text-align: center;
    font-size: 1.2rem;
    font-weight: 600;
    padding: 1rem 0 .5rem;
  }
  #famimacafe2025 .award_txt {
    text-align: left;
    font-size: 0.9rem;
    margin: 0 0 -0.5rem;
  }
  .ph_frame {
    max-width: 80%;
    margin: 0 10%;
    border-top: 12px solid #d3af6d; /* 上のborderを指定 */
    border-right: 12px solid #d3af6d; /* 右のborderを指定 */
    border-bottom: 12px solid #f6d78f; /* 下のborderを指定 */
    border-left: 12px solid #f6d78f; /* 左のborderを指定 */
    box-shadow: inset 0 0 10px #000; /* 内側に影を指定 */
    display: inline-block; /* 写真に合わせるためインラインブロック要素にする */
  }
  .ph_frame img::after {
    box-shadow: inset 0 0 10px #000; /* 内側に影を指定 */
    z-index: 10;
  }
  /*========History=======*/
  .history_area {
    width: 92%;
    margin: 4rem auto;
  }
  /*----------- slide -----------*/
  .container {
    position: relative;
    width: 100%;
    margin: 0 auto;
    height: auto;
    overflow: hidden;
  }
  .swiper {
    width: 100%;
    height: auto;
    margin: 0;
  }
  .swiper-wrapper {
    max-width: 90% !important;
    padding-bottom: .5rem;
  }
  .swiper-slide {
    width: 100%;
    height: 100%;
    margin-bottom: 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  /* Scrollbar */
  /* .swiper-scrollbar {
    height: 5px !important; /* スクロールバーの太さ */
  /* background-color: #eee !important; /* スクロールバーの色 */
  /* top: 0px; /* 上からの位置 */
  /* left: 4% !important; /* 左からの位置 */
  /* width: 92% !important; /* スクロールバーの横幅 */
  /* margin-bottom: .5rem;
  }
  .swiper-scrollbar .swiper-scrollbar-drag {
    background: #beb6b7; /* スクロールドラッグの色 */
  /* border-radius: 0px; /* 角を丸くする */
  /*width: 400px !important; */
  /* }*/
  .swiper-scrollbar {
    height: 13px !important; /* スクロールバーの太さ */
    background-color: #f5f5f5 !important; /* スクロールバーの色 */
    top: 0px; /* 上からの位置 */
    left: 2.5% !important; /* 左からの位置 */
    width: 95% !important; /* スクロールバーの横幅 */
    z-index: 10;
    margin-bottom: .5rem;
  }
  .swiper-scrollbar .swiper-scrollbar-drag {
    height: 15px !important; /* スクロールバーの太さ */
    background: #421f0f; /* スクロールドラッグの色 */
    border-radius: 100px; /* 角を丸くする */
    width: 26px !important;
  }
  /* 前へ次への矢印カスタマイズ */
  .swiper-button-prev::after, .swiper-button-next::after {
    bottom: 0;
    content: "";
    height: 0;
    margin: auto;
    position: absolute;
    top: 0;
    width: 0;
    z-index: 100;
  }
  /* 前への矢印カスタマイズ */
  .swiper-button-prev::after {
    border-bottom: 18px solid transparent;
    border-right: 14px solid rgba(66, 31, 15, 0.6);
    border-top: 18px solid transparent;
    margin-left: -33px;
  }
  /* 次への矢印カスタマイズ */
  .swiper-button-next::after {
    border-bottom: 18px solid transparent;
    border-left: 14px solid rgba(66, 31, 15, 0.6);
    border-top: 18px solid transparent;
    margin-right: -33px;
  }
  .era {
    width: 95%;
    margin: 0 auto;
  }
  .era_tit {
    font-size: 1.3rem;
    margin-left: 25px;
    margin-bottom: .5rem;
  }
  .era_tit:before {
    content: '';
    display: block;
    width: 25px;
    height: 20px;
    background-image: url("/content/dam/family/campaign/famimacafe/images/bean.svg");
    background-size: contain;
    background-repeat: no-repeat;
    position: absolute;
    top: 6px;
    left: 0;
  }
  /* .era_tit:after {
    content: '';
    display: block;
	  border-bottom: 1px solid #8d4f23;
    width: 94%;
    height: 24px;
    position: absolute;
    top: 7px;
    right: 0;
}*/
  .history_area figure {
    width: 90%;
    margin: .5rem auto;
    background-color: #fff;
    outline: 1px solid #beb6b7;
    outline-offset: 1px;
    padding: 1px;
    box-sizing: border-box;
    overflow: hidden;
  }
  .bean_ico {
    display: block;
    width: 30px;
    height: 24px;
    background-image: url("/content/dam/family/campaign/famimacafe/images/bean.svg");
    background-size: contain;
    background-repeat: no-repeat;
    margin: 0 auto 1rem;
  }
  .kv_img {
    max-width: 100%;
    min-height: 100%;
    margin: 0 auto;
    /*filter: drop-shadow(2px 2px 2px #aaa);
    /* ▼ 追加：初期状態を透明にし、0.2秒後に1秒かけて表示 */
    opacity: 0;
    animation: fadeUpAnim 1s ease-out 0.2s forwards;
  }
}
@keyframes fadeUpAnim {
  0% {
    opacity: 0;
    transform: translateY(0px); /* 30px下からスタート */
  }
  100% {
    opacity: 1;
    transform: translateY(0); /* 本来の位置へ */
  }
}