@charset "utf-8";

/*　サイドメニュー　*/
#sideMenuTitle1 { border-bottom: 4px solid #ffe934;}
#sideMenuTitle1 span { background: #0072bf; }
.sideMenuInner ul { border-top: none; }


/*--------------------------------------------------------

    SP用ドロップダウンメニュー

--------------------------------------------------------*/
.dropdownMenu { margin-bottom: 20px; width: 100vw; margin: 0 calc(50% - 50vw); }
/*#pageTitle + .dropdownMenu + .container { display: flex; flex-wrap: wrap-reverse;}*/
.dropdown { width: 100%; border-bottom: 1px solid #007DD0; background-color: #EDF3FA; padding: 15px; text-align: center; font-weight: bold; display: block; }
.dropdown span { position: relative; }
.dropdown span::before { content:""; width: 10px; height: 10px; border: 0px; border-top: solid 2px #007DD0; border-right: solid 2px #007DD0; -ms-transform: rotate(135deg); transform: rotate(135deg); position: absolute; top: 50%; left: -30px; margin-top: -4px; z-index: 5;}
.dropdown span::after { content:""; width: 14px; height: 14px; position: absolute; top: 0; left: -35px;  background-color: #fff; border-radius: 50%; padding: 10px; z-index: 1; }

.dropdown { width: 100%; border-bottom: 1px solid #007DD0; background-color: #EDF3FA; padding: 15px; text-align: center; font-weight: bold; display: block; }
.dropdown span { position: relative; }
.dropdown span::before { content:""; width: 10px; height: 10px; border: 0px; border-top: solid 2px #007DD0; border-right: solid 2px #007DD0; -ms-transform: rotate(135deg); transform: rotate(135deg); position: absolute; top: 50%; left: -30px; margin-top: -4px; z-index: 5;}
.dropdown span::after { content:""; width: 14px; height: 14px; position: absolute; top: 0; left: -35px;  background-color: #fff; border-radius: 50%; padding: 10px; z-index: 1; }


/* カテゴリー一覧内リスト部分   */
.widget ul { margin: 0; }
.widget li { position: relative; width: 100%; background-color: #EDF3FA; font-weight: bold; display: block; }
.widget li a { position: relative; font-size: 1.1rem; text-decoration: none; color: #000; height: 50px; padding: 0 1em; display: -webkit-flex; display: flex; -webkit-align-items: center; align-items: center; border-bottom: 1px solid #007DD0; }
.widget li a:hover { color: #000; }


/* 子カテゴリー 階層調整*/
.widget li ul { margin: 0; }
.widget li ul a { padding-left: 2em; }
.widget li ul li ul a { padding-left: 4em; }
.widget li ul li ul li ul a { padding-left: 6em; }


/*開閉ボタン*/
.accordionBtn { display: block; width: 50px; height: 50px; position: absolute; top: 0; right: 0; padding: 13px 15px 15px 17px; border-left: 1px solid #007DD0; /*border-right: 1px solid #007DD0;   */}
.accordionBtn:before { display: inline-block; cursor: pointer; content: ""; position: absolute; top: 50%; left: 69%; width: 25px; height: 4px; margin: -8% 0 0 -42%; background: #007DD0; }
.accordionBtn:after { content:""; display: inline-block; cursor: pointer; position: absolute; top: 50%; left: 69%; width: 24px; height: 4px; margin: -8% 0 0 -42%; background: #007DD0; transform: rotate(90deg);}
.accordionBtn.active::after { display: none; }



/*--------------------------------------------------------

    合鍵作製リスト

--------------------------------------------------------*/
#sparekey .caution { padding: 25px 25px 0; }

#sparekey .keyList { margin-bottom: 30px;  padding: 0 5px; display: flex; justify-content: flex-start; flex-wrap: wrap; }
#sparekey .keyWrapper { margin-bottom: 30px; margin-right: 10px; }
#sparekey .keyItem { background: #fcfbd2; margin: 0 auto; height: 100%; }
#sparekey .keyItem .name { display: flex; align-items: center; background: #ffe934; color: #2e73da; min-height: 60px; text-align: center; padding: 0 5px; }
#sparekey .keyItem .name h4 { margin: 0 auto; line-height: 1.2; }
#sparekey .keyItem .img { background: #fff; max-height: 220px; max-width: 165px; text-align: center; border-top: 1px solid #cccccc; border-right: 1px solid #cccccc; border-left: 1px solid #cccccc; display: flex; justify-content: center; align-items: center; }
#sparekey .keyItem img { width: auto; /*height: 100%;*/ max-width: 100%; max-height: 100%; }
#sparekey .keyItem .info {  padding: 10px; display: flex; flex-wrap: wrap; flex-direction: column; justify-content: space-between; }
#sparekey .keyItem .info a { background: #0086e0; font-size: 13px; color: #fff; text-decoration: none; display: block; text-align: center; height: 27px; line-height: 27px;}
#sparekey .keyItem .info a:hover { opacity: 0.9; }
#sparekey .keyItem ul { list-style: none; }
#sparekey .keyItem ul li { font-size: 13px; font-weight: bold; }
#sparekey .keyItem ul li:first-child::before { content: ''; background-image: url(../images/sparekey/kagiIcon02.png); display: inline-block; background-size: contain; width: 16px; height: 16px; vertical-align: middle; margin-right: 5px; }
#sparekey .keyItem ul li:last-child::before { content: ''; background-image: url(../images/sparekey/kagiIcon01.png); display: inline-block; background-size: contain; width: 16px; height: 16px; vertical-align: middle; margin-right: 5px; }
#sparekey .keyItem ul li:last-child{ margin-bottom: 7px; }
#sparekey .noImg { background: #ddd; max-height: 220px; max-width: 165px; height: 100%; margin: 0 auto; }

@-moz-document url-prefix(){
  #sparekey .keyItem ul li:last-child{ margin-bottom: 0;}
  #sparekey .keyList .info { padding: 2px 10px; }
}

@media (min-width: 769px){
  #sparekey .caution .text { margin-bottom: 0px; }
  #sparekey .listWrapper { padding: 25px 0; }
  #sparekey .keyList {}
  #sparekey .keyWrapper { width: 25%; max-width: 165px; }
  #sparekey .keyItem { max-width: 165px; }
  /*#sparekey .keyItem { width: 25%; max-width: 165px; }*/
  #sparekey .keyWrapper:nth-child(4n) { margin-right: 0; }
}

@media (max-width: 768px) {
  #sparekey {}
  #sparekey .caution .text { margin-bottom: 35px; }
  #sparekey .listWrapper {}
  #sparekey .keyWrapper { width: 30%; margin-right: 5%; }
  #sparekey .keyWrapper:nth-child(3n) { margin-right: 0; }
  #sparekey .keyItem { max-width: 165px; }
  /*#sparekey .keyItem .img ,
  #sparekey .keyItem .name ,
  #sparekey .keyItem .info { }*/

}

@media (max-width: 480px){
  #sparekey .listWrapper {}
  #sparekey .keyList {}
  #sparekey .keyWrapper { width: calc(50% - 10px); margin-right: 20px; }
  #sparekey .keyWrapper:nth-child(3n) { margin-right: 20px; }
  #sparekey .keyWrapper:nth-child(2n) { margin-right: 0; }
  #sparekey .keyItem {}
  #sparekey .keyList .name h4 { font-size: 1.4rem; }

}


/*--------------------------------------------------------

    詳細ページ

--------------------------------------------------------*/
#sparekey_single .body { min-height: 800px; }
.keyDetails .img { max-height: 350px; width: 240px; display: flex; justify-content: center; align-items: center; }
.keyDetails .img img { /*height: 100%;*/ width: auto; max-width: 240px; max-height: 320px;}
.keyDetails .noImg { background: #ddd; height: 320px; width: 240px; float: left; margin-right: 35px; }

.sparekeyText { background: #fcfbd2; padding: 20px 20px 70px 20px; }
.sparekeyText ul li { list-style: none; margin-top: 5px; position: relative; }
.sparekeyText ul li:nth-of-type(1)::before { content: ''; position: absolute; top: 4px; left: 0; background-image: url(../images/sparekey/kagiIcon02.png); background-size: contain; width: 16px; height: 16px; vertical-align: text-bottom; margin-right: 7px; }
.sparekeyText ul li:nth-of-type(1)::after { content: none; }
.sparekeyText ul li:nth-of-type(2):before { content: ''; position: absolute; top: 4px; left: 0; background-image: url(../images/sparekey/kagiIcon01.png); background-size: contain; width: 16px; height: 16px; vertical-align: text-bottom; margin-right: 7px; }
.sparekeyText ul li:nth-of-type(2)::after { content: none; }
.sparekeyText ul li:nth-of-type(n + 3):before {}

@media (min-width: 769px){
  .keyDetails { overflow: hidden; margin-bottom: 35px; }
  .keyDetails .img { float: left; margin-right: 35px; }
  .sparekeyText { float: left; width: 60%; }
}

@media (max-width: 768px){
  .keyDetails { display: flex; flex-direction: column; align-items: center; margin-bottom: 35px; }
  .keyDetails .img { margin-bottom: 30px; }
  .sparekeyText{ width: 90%; max-width: 330px; }

  .oneAd { margin-bottom: 50px; }
}

@media (max-width: 480px){

}