@charset "UTF-8";

/*----------------------------------------------------
	☆TOP
----------------------------------------------------*/

/*--page name--*/

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

  .mdSpan i {
    margin-top: -138px;
    padding-top: 138px;
  }

  /*--イチビキの歴史--*/
 #history .history_blok {
    margin-bottom: 120px;
    margin-top: 70px;
    padding-bottom: 40px;
    padding-top: 100px;
  }

  #history .history_blok ul.nenpyou li {
    padding: 10px 0 20px;
    width: 100%;
    display: block;
    margin: auto;
    filter: none;
    box-shadow: 1.5px 1.5px 1.5px 1.5px rgba(0,0,0,0.2);
  }

  #history .history_blok ul.nenpyou li.special {
    padding: 10px 0 20px;
    width: 100%;
  }

  #history .history_blok ul.nenpyou li .ttl_style03 {
    font-size: 16px;
  }

  #history .history_blok ul.nenpyou li .ttl_style03 span {
    font-size: 24px;
  }

  #history .history_blok ul.nenpyou li .history_txt p {
    font-size: 16px;
  }

  #history .history_blok ul.nenpyou li .history_img02 {
    width: 248px;
    margin: auto;
  }

  #history .history_blok ul.nenpyou li .history_img03 {
    width: 119px;
    margin: auto;
  }

  #history .history_blok ul.nenpyou li:nth-child(odd) {
    margin-left: 0%;
  }

  #history .history_blok ul.nenpyou li:nth-child(odd)::before {
    display: none;
  }

  #history .history_blok ul.nenpyou li:nth-child(even) {
    margin-left: 0%;
  }

  #history .history_blok ul.nenpyou li:nth-child(even)::before {
    display: none;
  }

  #history .history_blok ul.nenpyou li.special::before {
    display: none;
  }

  #history .history_blok ul.nenpyou li:nth-child(1) {
    margin-top: -40px;
  }

  #history .history_blok ul.nenpyou li:nth-child(2) {
    margin-top: 115px;
  }

  #history .history_blok ul.nenpyou li:nth-child(3) {
    margin-top: 115px;
  }

  #history .history_blok ul.nenpyou li:nth-child(4) {
    margin-top: 115px;
  }

  #history .history_blok ul.nenpyou li:nth-child(5) {
    margin-top: 10px;
  }

  #history .history_blok ul.nenpyou li:nth-child(6) {
    margin-top: 10px;
  }

  #history .history_blok ul.nenpyou li:nth-child(7) {
    margin-top: 10px;
  }

  #history .history_blok ul.nenpyou li:nth-child(8) {
    margin-top: 115px;
  }

  #history .history_blok ul.nenpyou li:nth-child(9) {
    margin-top: 10px;
  }

  #history .history_blok ul.nenpyou li:nth-child(10) {
    margin-top: 10px;
  }

  #history .history_blok ul.nenpyou li:nth-child(11) {
    margin-top: 10px;
  }

  #history .history_blok ul.nenpyou li:nth-child(12) {
    margin-top: 10px;
  }

  #history .history_blok ul.nenpyou li:nth-child(13) {
    margin-top: 10px;
  }

  #history .history_blok ul.nenpyou li:nth-child(1)::before {
    position: absolute;
    content: '';
    display: inline-block;
    background-image: url("../image/anniversary-year01.png");
    background-size: contain;
    vertical-align: middle;
    width: 100px;
    height: 100px;
    margin-left: -50px;
    top: -95px;
    left: 50%;
    background-repeat: no-repeat;
  }

  #history .history_blok ul.nenpyou li:nth-child(2)::before {
    position: absolute;
    content: '';
    display: inline-block;
    background-image: url("../image/anniversary-year02.png");
    background-size: contain;
    vertical-align: middle;
    width: 100px;
    height: 100px;
    margin-left: -50px;
    top: -95px;
    left: 50%;
    background-repeat: no-repeat;
  }

  #history .history_blok ul.nenpyou li:nth-child(3)::before {
    position: absolute;
    content: '';
    display: inline-block;
    background-image: url("../image/anniversary-year03.png");
    background-size: contain;
    vertical-align: middle;
    width: 100px;
    height: 100px;
    margin-left: -50px;
    top: -95px;
    left: 50%;
    background-repeat: no-repeat;
  }

  #history .history_blok ul.nenpyou li:nth-child(4)::before {
    position: absolute;
    content: '';
    display: inline-block;
    background-image: url("../image/anniversary-year04.png");
    background-size: contain;
    vertical-align: middle;
    width: 100px;
    height: 100px;
    margin-left: -50px;
    top: -95px;
    left: 50%;
    background-repeat: no-repeat;
  }

  #history .history_blok ul.nenpyou li:nth-child(8)::before {
    position: absolute;
    content: '';
    display: inline-block;
    background-image: url("../image/anniversary-year05.png");
    background-size: contain;
    vertical-align: middle;
    width: 100px;
    height: 100px;
    margin-left: -50px;
    top: -95px;
    left: 50%;
    background-repeat: no-repeat;
  }


  #history .history_blok .nenpyou_last {
    max-width: 100%;
    bottom: -90px;
    right: 0%;
    text-align: center;
  }

  #history .history_blok .nenpyou_last img {
    max-width: 300px;
    width: 100%;
    margin: auto;
  }

}

/*デバイスの横幅が760px以下の場合*/
@media only screen and (max-width: 760px) {

  .anniversary_nav {
    background-color: #e60012;
    max-width: 960px;
    width: 100%;
    margin: auto !important;
  }

  .anniversary_nav ul {
    text-align: center;
    position: relative;
  }

  .anniversary_nav ul::after {
    content: '';
    display: block;
    width: 100%;
    border: solid 0.5px #fff;
    position: absolute;
    top: 50%;
    right: 0;
    background-repeat: no-repeat;

  }

  .anniversary_nav ul li {
    display: inline-block;
    padding: 5px 0;
  }

  .anniversary_nav ul li:nth-child(1) {
    width: 32%;
  }

  .anniversary_nav ul li:nth-child(2) {
    width: 32%;
  }

  .anniversary_nav ul li:nth-child(3) {
    width: 32%;
  }

  .anniversary_nav ul li:nth-child(4) {
    width: 48.5%;
  }

  .anniversary_nav ul li:nth-child(5) {
    width: 48.5%;
  }


  .anniversary_nav ul li a {
    padding: 10px 20px;
    display: block;
    line-height: 1.2em;
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    border-left: solid 1px #fff;
  }

  .anniversary_nav ul li:nth-child(1) a,
  .anniversary_nav ul li:nth-child(4) a {
    border-left: none;
  }

  .anniversary_nav ul li:last-child a {
    border-right: none;
  }

  .anniversary_nav ul li:nth-child(1) {
    margin-left: 0;
  }

  #t1 {
    max-width: 960px;
    margin: auto;
    border: none;
  }

  #t1 img {
    width: 100%;
  }

  /*--コンテンツ内テンプレ--*/
  #contents_wrapper {
    max-width: 960px;
    margin: auto;
  }

  /*--セクション--*/
  .group {
    margin-bottom: 60px;
    padding: 0 10px;
  }

  /*--タイトルスタイル01--*/
  .tti_style01 {
    font-size: 29px;
    margin-bottom: 30px;
  }


  /*--タイトルスタイル02--*/
  .tti_style02 {
    margin-bottom: 20px;
    width: 100%;
    background-image: url("../image/anniversary-bg.jpg");
  }

  .tti_style02 p {
    padding: 15px 0;
    color: #fff;
    font-weight: bold;
    font-size: 28px;
    text-align: center;
  }

  /*--テキストスタイル--*/
  .normal_txt {
    margin: auto;
  }

  .normal_txt p {
    line-height: 1.8em;
    font-size: 16px;
    font-weight: bold;
    text-align: center;
  }



  /*--100周年ロゴ--*/
  #logo_mean .logo {
    width: 80%;
    margin: auto;
  }

  #logo_mean .logo img {
    width: 100%;
    margin-left: 3%;
    margin-bottom: 20px;
  }

  #logo_mean .logo_txt {
    font-size: 22px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 30px;
  }

  /*--イチビキの歴史--*/
  #history a img {
    width: 100%;
  }

  /*--キャンペーン--*/
  #campaign .campaign_list li {
    display: block;
    width: 100%;
    margin-left: 0%;
    margin-bottom: 10px;
  }

  #contents_aside ul li {
    display: block !important;
  }
}
