Pen Settings

HTML

CSS

CSS Base

Vendor Prefixing

Add External Stylesheets/Pens

Any URL's added here will be added as <link>s in order, and before the CSS in the editor. You can use the CSS from another Pen by using it's URL and the proper URL extention.

+ add another resource

JavaScript

Babel includes JSX processing.

Add External Scripts/Pens

Any URL's added here will be added as <script>s in order, and run before the JavaScript in the editor. You can use the URL of any other Pen and it will include the JavaScript from that Pen.

+ add another resource

Packages

Add Packages

Search for and use JavaScript packages from npm here. By selecting a package, an import statement will be added to the top of the JavaScript editor for this package.

Behavior

Save Automatically?

If active, Pens will autosave every 30 seconds after being saved once.

Auto-Updating Preview

If enabled, the preview panel updates automatically as you code. If disabled, use the "Run" button to update.

Format on Save

If enabled, your code will be formatted when you actively save your Pen. Note: your code becomes un-folded during formatting.

Editor Settings

Code Indentation

Want to change your Syntax Highlighting theme, Fonts and more?

Visit your global Editor Settings.

HTML

              
                <footer id="footer">
  <div class="container-fluid">

    <div class="breadcrumb">
      <ul>
        <li><a href="/">ホーム	</a></li>
        <li><a href="/xxx/">◯◯◯</a></li>
      </ul>
    </div>


    <div class="footer-navi">
      <div id="accordion_id-footer-navi">

        <dl>
          <dt>
            <a href="#" data-toggle="collapse" aria-expanded="false" data-target="#collapse_id-quadcept" class="collapsed">
              <i class="icon-plus-minus">
                <span class="icon-plus-minus__bg">
                  <span class="icon-plus-minus__object"></span>
                </span>
              </i>
              事業内容
            </a>
          </dt>
          <dd class="collapse" id="collapse_id-quadcept" aria-expanded="false" data-parent="#accordion_id-footer-navi">
            <ul>
              <li><a href="#">○○○○○○○○○○</a></li>
              <li><a href="#">○○○○○○○○○○</a></li>
              <li><a href="#">○○○○○○○○○○</a></li>
              <li><a href="#">○○○○○○○○○○</a></li>
            </ul>
          </dd>
        </dl>

        <dl>
          <dt>
            <a href="#" data-toggle="collapse" aria-expanded="false" data-target="#collapse_id-product" class="collapsed">
              <i class="icon-plus-minus">
                <span class="icon-plus-minus__bg">
                  <span class="icon-plus-minus__object"></span>
                </span>
              </i>
              料金体系
            </a>
          </dt>
          <dd class="collapse" id="collapse_id-product" aria-expanded="false" data-parent="#accordion_id-footer-navi">
            <ul>
              <li><a href="#">○○○○○○○○○○</a></li>
              <li><a href="#">○○○○○○○○○○</a></li>
              <li><a href="#">○○○○○○○○○○</a></li>
              <li><a href="#">○○○○○○○○○○</a></li>
            </ul>
          </dd>
        </dl>

        <dl>
          <dt>
            <a href="#" data-toggle="collapse" aria-expanded="false" data-target="#collapse_id-price" class="collapsed">
              <i class="icon-plus-minus">
                <span class="icon-plus-minus__bg">
                  <span class="icon-plus-minus__object"></span>
                </span>
              </i>
              導入実績
            </a>
          </dt>
          <dd class="collapse" id="collapse_id-price" aria-expanded="false" data-parent="#accordion_id-footer-navi">
            <ul>
              <li><a href="#">○○○○○○○○○○</a></li>
              <li><a href="#">○○○○○○○○○○</a></li>
              <li><a href="#">○○○○○○○○○○</a></li>
              <li><a href="#">○○○○○○○○○○</a></li>
            </ul>
          </dd>
        </dl>

        <dl>
          <dt>
            <a href="#" data-toggle="collapse" aria-expanded="false" data-target="#collapse_id-case" class="collapsed">
              <i class="icon-plus-minus">
                <span class="icon-plus-minus__bg">
                  <span class="icon-plus-minus__object"></span>
                </span>
              </i>
              会社概要
            </a>
          </dt>
          <dd class="collapse" id="collapse_id-case" aria-expanded="false" data-parent="#accordion_id-footer-navi">
            <ul>
              <li><a href="#">○○○○○○○○○○</a></li>
              <li><a href="#">○○○○○○○○○○</a></li>
              <li><a href="#">○○○○○○○○○○</a></li>
              <li><a href="#">○○○○○○○○○○</a></li>
            </ul>
          </dd>
        </dl>

        <dl>
          <dt>
            <a href="#" data-toggle="collapse" aria-expanded="false" data-target="#collapse_id-support" class="collapsed">
              <i class="icon-plus-minus">
                <span class="icon-plus-minus__bg">
                  <span class="icon-plus-minus__object"></span>
                </span>
              </i>
              お問い合わせ
            </a>
          </dt>
          <dd class="collapse" id="collapse_id-support" aria-expanded="false" data-parent="#accordion_id-footer-navi">
            <ul>
              <li><a href="#">○○○○○○○○○○</a></li>
              <li><a href="#">○○○○○○○○○○</a></li>
              <li><a href="#">○○○○○○○○○○</a></li>
              <li><a href="#">○○○○○○○○○○</a></li>
            </ul>
          </dd>
        </dl>

      </div><!-- #accordion_id-footer-navi -->
    </div><!-- footer-navi -->



    <div class="utility">

      <div class="btn-group dropup language">
        <a href="#" class="dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
          <span class="icon-lang">Japanese</span>
        </a>
        <div class="dropdown-menu">
          <ul class="language">
            <li><a href="/en/">English</a></li>
            <li><a href="/ja/">Japanese</a></li>
          </ul>
        </div>
      </div>

      <ul class="social">
        <li class=""><a href="#" class="icon-youtube"></a></li>
        <li class=""><a href="#" class="icon-twitter"></a></li>
        <li class=""><a href="#" class="icon-facebook"></a></li>
      </ul>

      <ul class="policy-navi">
        <li class=""><a href="#">サイトポリシー</a></li>
        <li class=""><a href="#">プライバシー</a></li>
        <li class=""><a href="#">利用規約</a></li>
      </ul>

      <ul class="copyright">
        <li class=""><span>&copy; Sample Inc. All Rights Reserved.</span></li>
      </ul>

    </div><!-- utility -->
  </div><!-- footer-body -->
</footer>
              
            
!

CSS

              
                @charset 'utf-8';

@import url('https://fonts.googleapis.com/css?family=Roboto+Condensed:300,300i,400,400i,700,700i&display=swap');

@import url('https://fonts.googleapis.com/css?family=Noto+Sans+JP:100,300,400,500,700,900&amp;display=swap&amp;subset=japanese');


$breakpoint-lg : 992px;
$breakpoint-xl : 1400px;

body{
  padding: 0;
  marging: 0;
  font-family: 'Noto Sans JP', sans-serif;
}


*:focus{
  outline: none !important;
}



//==================================================
//  Footer
//==================================================

#footer{


  padding: 0 0 0 0;
  margin : 0 0 0 0;
  background-color: #0E222C;

  a,span,p,li{
    color: #fff;
    color: #8D98A0;
    font-size: .85rem;
    text-decoration: none;
  }

  a:hover,
  a:focus{
    color: #b7cad6;
  }

  ul{
    padding: 0 0 0 0;
    margin: 0 0 0 0;
    list-style: none;
  }



  //==================================================
  //  パンくず
  //==================================================

  .breadcrumb{
    background: none;
    border-radius: 0;
    padding: 1.5rem 0 1.6rem 0;
    margin : 0 0 0 0;
    display: flex;

    ul{
      display: flex;
      flex-direction: row;
      li{
        line-height: 1.6;
        &::before{
          content: "\203a";
          font-weight: 400;
          color: #8D98A0;
          padding-left : .8em;
          padding-right: .9em;
        }

      }
      li:nth-of-type(1)::before{
        content: "\f015";
        font-family: FontAwesome;
        font-weight: 900;
        font-size: 0.85em;
        padding-left: 0em;
        padding-right: .5em;
        color: #8D98A0;
      }
    }
  }



  //==================================================
  //  フッターナビ
  //==================================================

  .footer-navi{
    width: 100%;
    display: block;
    margin:  0 0 0 0;
    padding: 0 0 0 0;

    dl{
      border-top: 1px solid #2A3840;
      margin: 0 0 0 0;
      padding: 20px 0 20px 0;

      dt{

        //🔸クリックされた状態(開く)
        a{
          color: #ffffff;
          pointer-events:auto;/* desktop=none */
          display         : flex  !important;
          flex-direction  : row;
          justify-content : flex-start;
          align-items     : center;

          .icon-plus-minus{
            padding     : 0 0 0 0;
            margin      : 0 5px 0 0;
            width       : 10px;
            height      : 10px;
            transform   : rotate(360deg); //回転
            background  : none;
            position    : relative;
            display     : inline-block;

            transition  : transform 400ms ease;
            will-change : transform;
          }

          .icon-plus-minus__bg{
            padding     : 0 0 0 0;
            margin      : 0 0 0 0;
            width       : 10px;
            height      : 10px;
            display          : flex;
            align-items      : center;
            justify-content  : center;
            background-color : none;
          }

          //縦棒
          .icon-plus-minus__object{
            padding     : 0 0 0 0;
            margin      : 0 0 0 0;
            position    : relative;
            width       : 10px;
            height      : 2px;
            background-color : #fff;
            //横棒
            .icon-plus-minus__object::before {
              opacity     : 0; //棒を1本非表示にしてマイナスを表現
            }
          }

        }

        //🔸クリックされてない状態(閉じる)
        a.collapsed{
          transform: none;
          transition  : all 5551s !important;

          .icon-plus-minus {
            transform: rotate(0);

            //横棒
            .icon-plus-minus__object::before {
              content          : '';
              position         : absolute;
              z-index          : 2;
              top              : 50%;
              left             : 50%;
              transform        : translate3d(-50%, -50%, 0);
              width            : 2px;
              height           : 10px;
              background-color : #fff;
              opacity          : 1;
              will-change      : opacity;
            }
          }
        }

      }//dt


      dd{
        margin: 0 0 0 0 ;
        ul{
          margin: 20px 28px 10px 28px;
          li{
            margin: 5px 0;
            a{
              font-size: 0.8rem;
              display: block;
            }
          }
        }
      }//dd


    }
  }



  //==================================================
  //  utility
  //==================================================

  .utility{

    border-top: 1px solid #2A3840;
    display: flex;
    flex-direction: wrap;//❗️
    flex-wrap: wrap;//❗️
    justify-content: space-between;
    padding: 20px 0 20px 0;
    margin: 0 0 0 0;


    /* 言語設定のドロップダウン */
    .language{
      padding: 10px 0;
      margin-right: 30px;
      .dropdown-toggle::after{
        content: none;
      }
      .dropdown-menu{
        background: #000;
        padding: 0px 15px 0px 15px;
        border: 2px solid #5c5c5c;
        ul{
          margin: 0;
          padding: 0;
          li{
            margin : 0px;
            padding: 15px 5px;
            border-top: 1px dashed rgba(#ccc,0.3);
            &:nth-of-type(1){
              border-top: none;
            }
            a{
              margin: 0;
              padding: 0;
              display: block;
            }
          }
        }
      }
    }

    /* アイコン:言語切り替え */
    .icon-lang{
      font-family: 'Roboto Condensed', sans-serif;
      font-weight: 400;

      &::before{
        /* FontAwesomeで表現する場合  */
        content: "\f0ac";
        font-size: 0.85rem;
        font-family: FontAwesome;
        font-weight: 900;
        padding-right: 5px;
      }
      // &::before{
      //   /* 画像で国旗を表現する場合  */
      //   content: "";
      //   background: url(/ja/img/flag-jp.svg) no-repeat left center;
      //   background-size: contain;
      //   width: 24px;
      //   height: 16px;
      //   display: inline-block;
      //   position: relative;
      //   top:3px;
      //   left:0px;
      //   margin-right: 5px;
      //   border-radius: 3px;
      // }
    }



    /* ソーシャルボタン */
    ul.social{
      margin-right: auto;
      display: flex;
      padding: 10px 0;
      li{
        margin-right: 30px;

        a::before{
          font-size: 1.1rem;
          font-family: FontAwesome;
          font-weight: 900;
          padding-right: 5px;
        }
      }
    }

    /* アイコン:YouTube */
    .icon-youtube{
      &::before{
        content: "\f167";
      }
    }

    /* アイコン:Twitter */
    .icon-twitter{
      &::before{
        content: "\f099";
      }
    }

    /* アイコン:Facebook */
    .icon-facebook{
      &::before{
        content: "\f39e";
      }
    }



    /* ポリシーリンク */
    ul.policy-navi{
      padding: 10px 0;
      display: flex;
      // margin-left: auto;
      li{
        display: inline-block;
        &::after{
          content: "/";
          font-size: 0.1rem;
          padding: 0 10px;
        }
        a{
          font-size: 0.8rem;
        }
      }
    }



    /* copyright */
    ul.copyright{
      padding: 10px 0;
      li{
        span{
          font-family: 'Roboto Condensed', sans-serif;
          font-weight: 400;
        }
      }
      &::after{
        content: none;
      }
    }

  }



}




/* =========================================================================== */
/* =========================================================================== */



#footer{

  /* 992〜 */
  @media (min-width: $breakpoint-lg) {



    //==================================================
    //  コンテンツ枠
    //==================================================

    .container-fluid{
      width    : 100%;
      min-width: 100%;
    }



    //==================================================
    //  パンくず
    //==================================================

    .breadcrumb{
      border-bottom: 1px solid #2A3840;
      margin-bottom: 10px;
    }



    //==================================================
    //  フッターナビ
    //==================================================

    #accordion_id-footer-navi{
      width: 100%;
      display: flex;
      justify-content: space-between;
      padding-left: 30px;
      padding-right: 30px;
    }

    .footer-navi{
      dl{
        border: none !important;
        dt{
          a{
            pointer-events:none; //リンク無効

            //プラス・マイナスのアイコンは非表示
            .icon-plus-minus {
              display: none;
            }

          }
        }

        dd{
          &.collapse{
            display: block; //非表示を解除
          }
          ul{
            margin: 1rem 0 0 0;
          }
        }
      }
    }



    //==================================================
    //  utility
    //==================================================

    .utility{

      display: flex;
      flex-direction: row;
      justify-content: flex-start;
      padding: 20px 0 20px 0;
      margin: 0 0 0 0;

      /* ポリシーリンク */
      ul.policy-navi{
        margin-left: auto;
      }

      /* copyright */
      ul.copyright{
        margin-left: 20px;
      }

    }



  }
}



/* =========================================================================== */
/* =========================================================================== */



#footer{

  /* 1200〜 */
  @media (min-width: $breakpoint-xl) {

    .container-fluid{
      width    : $breakpoint-xl;
      min-width: $breakpoint-xl;
    }

  }
}




              
            
!

JS

              
                
              
            
!
999px

Console