@charset "utf-8";
/* -------------------------------------
sp CSS
(c) Copyright 2020 Sketches of Design
version 2020-12-26
------------------------------------- */

/* 1280
--------------------------------------*/
@media screen and (max-width: 1280px) {
  #content,
  body #titlearea h1{
    margin: 0 4%;
  }
  ol.bc{
    margin: 20px 4% 10px 4%;
  }
  footer{
    padding: 60px 4% 120px 4%;
  }

}
/*  1024
--------------------------------------*/
@media screen and (max-width: 1024px) {
  
  #banarea .ban p{
    width: calc(50% - 10px);
  }

}

/*  960
--------------------------------------*/
@media screen and (max-width: 960px) {

  /* font */
  body #titlearea h1{
    font-size: 3.4rem;
    padding: 40px 4%;
  }
  body #titlearea h1{
    font-size: 3.0rem;
  }
  h2{
    font-size: 2.0rem;
  }
  header nav a,
  h3{
    font-size: 1.6rem;
  }
  body.shop h1 span,
  footer .title a,
  #langButton,
  main p,
  main dl,
  main table,
  main li{
    font-size: 1.3rem;
  }
  footer a{
    font-size: 1.2rem;
  }

  /**/
  main section .inner{
    padding: 0 4% !important;
    width: auto !important;
    height: 100%;
  }
  #b-logo{
    width: 400px;
    height: auto;
  }
  #b-logo img{
    max-width: 100%;
    height: auto;
    width /***/:auto;
  }
  .bg-back{
    background-size: auto 140px;
    height: 140px;
  }
  .bg-front {
    background-size: auto 120px;
    height: 120px;
  }
  header .kagomochi{
    background-size: auto 200px;
    height: 200px;
  }
  header nav li{
    margin: 0;
    width: 20%;
  }
  header nav a{
    padding: 65px 0 0 0;
    background: center 0 / 60px 60px no-repeat;
    min-width: 60px;
  }
  header nav a::before {
    background: center 0 / 60px 60px no-repeat;
  }
  #history{
    margin-top: 40px;
  }
  #shop-detail{
    max-width: 100%;
  }
  #shop-map  .inner,
  #shop-detail .inner{
    padding: 0 4% 40px 4% !important;
  }
  #banarea .inner{
    padding: 20px 20px 0 20px !important;
  }
  body#shop-idx .item img{
    height: 120px;
  }


}
/*  768
--------------------------------------*/
@media screen and (max-width: 768px) {

  img{
    max-width: 100%;
    height: auto;
    width /***/:auto;
  }
  /* diagram */
  .diagram .sp{
    display: block !important;
  }
  .diagram .image{
    display: none;
  }
  .diagram{
    position: relative;
  }
  .diagram span{
    display: block;
    position: absolute;
    width: 30px !important;
    height: 30px !important;
    right: 10px;
    margin: -40px 0 0 0;
  }
  .diagram img{
    max-width: 100%;
    height: auto;
    width /***/:100%;
  }
  br.sp{
    display: block;
  }
  /**/

  @supports (display: grid) {
    .news-grid {
      grid-template-columns: repeat(2, 1fr);
    }
  }
  @supports not (display: grid) {
    .news-item {
      width: calc(50% - 40px);
    }
    .news-item.large {
      width: calc(100% - 40px);
    }
  }
  /**/
  footer .inner ul{
    margin-bottom: 20px;
    width: 50%;
  }
  footer .inner .shoplist li {
    margin-bottom: 0;
  }
  body#about-greeting .title-area img{
    width: 160px;
  }
  body#about-greeting .title-area h2{
    width: calc(100% - 200px);
    font-size: 1.8rem;
  }
  body#about-idx .ban a{
    padding: 15px 15px 0 15px;
  }
  body#about-idx .ban p{
    font-size: 1.6rem;
    width: calc(100% - 220px);
  }
  body#about-idx .ban .image{
    width: 180px;
  }
  body.shop:not(#shop-idx) #titlearea h1{
    padding: 20px 4%;
  }
  #shop-map #shoplink{
    margin: 40px 0 0 0;
  }


}
/*  667
--------------------------------------*/
@media screen and (max-width: 667px) {
  #history h4,
  header nav a{
    font-size: 1.4rem;
  }
  #b-logo{
    margin: 0 0 0 4%;
    width: 300px;
  }
  .bg-back{
    background-size: auto 120px;
    height: 120px;
  }
  .bg-front {
    background-size: auto 100px;
    height: 100px;
  }
  header .kagomochi{
    margin: 10px 0 0 0;
    background-size: auto 170px;
    height: 170px;
  }
  .lang-switcher{
    right: 10px;
  }
  #langButton {
    padding: 6px 20px 6px 9px;
  }
  #langButton::before{
    right: 6px;
    width: 4px;
    height: 4px;
  }
  #langButton .icon{
    margin-right: 2px;
  }
  footer{
    padding: 40px 4% 80px 4%;
  }
  footer .inner .address_area{
    margin-bottom: 40px;
    width: 100%;
  }
  #banarea .ban,
  footer .inner nav{
    width: 100%;
  }
  body#about-greeting .title-area{
    margin: 0 0 20px 0;
    padding: 10px 10px 0 20px;
  }
  body#about-greeting .title-area img {
    width: 120px;
  }
  body#about-greeting .title-area h2{
    margin: 0 0 10px 0;
    font-size: 1.6rem;
    width: calc(100% - 140px);
  }
  .era .year h4{
    width: 70px;
  }
  .era .year dl{
    width: calc(100% - 70px);
  }
  body#about-idx .ban p{
    font-size: 1.6rem;
    width: calc(100% - 120px);
  }
  body#about-idx .ban .image{
    width: 120px;
  }
  body#shop-idx #items{
    gap: 10px;
  }
  body#shop-idx .item{
    width: calc(50% - 5px);
  }
  body#shop-idx .item .text{
    padding: 10px;
    font-size: 1.4rem;
  }
  body#shop-idx .item .cat{
    font-size: 1.2rem;
  }
  #banarea .inner {
    padding: 20px !important;
  }
  #banarea .dutyfree{
    width: calc(50% - 10px);
  }
  #banarea .ban p img{
    width: auto;
    max-height: 90px;
  }


}
/*  480
--------------------------------------*/
@media screen and (max-width: 480px) {
    @supports (display: grid) {
      .news-grid {
      display: block;
      }
    }
    @supports not (display: grid) {
      .news-item {
        width: calc(100% - 40px);
      }
      .news-item.large {
        width: calc(100% - 40px);
      }
    }
  /**/
  header nav br{
    display: block;
  }
  header nav a{
    line-height: 1.2;
  }
  header nav a{
    padding: 45px 0 0 0;
    background: center 0 / 40px 40px no-repeat;
    min-width: 40px;
  }
  header nav a::before {
    background: center 0 / 40px 40px no-repeat;
  }
  footer p{
    font-size: 1.2rem;
  }
  .news-item{
    margin-bottom: 15px;
  }
  #news-area .text{
    padding: 10px;
  }
  body#about-idx .ban p,
  body#about-greeting .title-area h2{
    font-size: 1.4rem;
  }
  body #titlearea h1 {
      font-size: 2.6rem;
  }
  body.shop h1 span{
    padding: 1px 5px;
    font-size: 1.1rem;
  }
  body#shop-idx #category-list{
    gap: 10px;
  }
  body#shop-idx #category-list li {
    width: calc(33.33% - 7px);
  }
  body#shop-idx #category-list img{
    width: 50%;
  }
  body#shop-idx .item img{
    height: 80px;
  }

}
/*  375
--------------------------------------*/
@media screen and (max-width: 375px) {
  #b-logo {
    margin: 15px 0 0 4%;
  }
  header{
    padding: 20px 0 0 0;
  }
  body#about-greeting .title-area img {
    width: 100px;
  }
  body#about-greeting .title-area h2{
    font-size: 1.4rem;
    width: calc(100% - 120px);
  }
  body#about-idx .ban p{
    font-size: 1.3rem;
    width: calc(100% - 90px);
  }
  body#about-idx .ban .image{
    width: 90px;
  }
  body#about-idx .ban em{
    font-size: 120%;
  }


}
