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. If you link to another Pen, it will include the CSS from that Pen. If the preprocessor matches, it will attempt to combine them before processing.

+ add another resource

JavaScript

Babel is required to process package imports. If you need a different preprocessor remove all packages first.

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

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

              
                <div id="menupagebox">
<!-- 大見出し -->    
  <h2>施術メニュー</h2>
<!-- 中見出し -->  
            <div class="nayamiMidashi"><i class="far fa-check-square"></i>お悩みをお選びください</div>
<!-- コメント --> 
            <div class="menup">お悩みからおすすめの施術メニューをご提案いたします。</div>
            <div class="leftBox">
                <form>
                  <!-- チェックリスト -->  
                    <div class="search-box">
                        <ul>
                            <li><label for="label1"><input type="checkbox" name="color" class="checkbox01-input" value="頭" id="label1"><span class="checkbox01-parts a">頭がつらい</span></label></li>
                            <li><label><input type="checkbox" name="color" class="checkbox01-input" value="首"><span class="checkbox01-parts">首がつらい</span></label></li>
                            <li><label><input type="checkbox" name="color" class="checkbox01-input" value="肩"><span class="checkbox01-parts">肩こりがある</span></label></li>
                            <li><label><input type="checkbox" name="color" class="checkbox01-input" value="腰"><span class="checkbox01-parts">腰がつらい</span></label></li>
                            <li><label><input type="checkbox" name="color" class="checkbox01-input" value="骨盤"><span class="checkbox01-parts">骨盤のゆがみ・姿勢が悪い</span></label></li>
                            <li><label><input type="checkbox" name="color" class="checkbox01-input" value="産後"><span class="checkbox01-parts">産後の体型・骨盤の開き</span></label></li>
                            <li><label><input type="checkbox" name="color" class="checkbox01-input" value="骨盤"><span class="checkbox01-parts">冷え・むくみがある</span></label></li>
                            <li><label><input type="checkbox" name="color" class="checkbox01-input" value="産後"><span class="checkbox01-parts">ぽっこりお腹・痩せたい</span></label></li>
                            <li><label><input type="checkbox" name="color" class="checkbox01-input" value="骨盤"><span class="checkbox01-parts">ストレス・イライラ</span></label></li>
                            <li><label><input type="checkbox" name="color" class="checkbox01-input" value="骨盤"><span class="checkbox01-parts">眠りが浅い・眠れない</span></label></li>
                            <li><label><input type="checkbox" name="color" class="checkbox01-input" value="骨盤"><span class="checkbox01-parts">疲れが取れない・だるい</span></label></li>
                        </ul>
                        <div class="clear"></div>
                    </div>
                </form>
            </div>
            <div class="rightBox">
                <ul>
                    <li><span class="hidden1"></span></li>
                </ul>
            </div>
            <div class="clear"></div>
  <!-- メニュー -->  
            <ul class="list">
                <h2 style="margin:0;">あなたにおススメの施術メニュー</h2>
               <!-- ジャンル -->
                <div class="osusumeMenu"><span class="underLine">上半身のお悩み</span></div>
               <!-- メニュー -->
                <li class="list_item" data-kind="整体" data-color="頭">
                   <!-- リンク先 -->
                  <a href="">
                   <!-- 画像 -->
                    <img src="https://kabuyui-wp.com/wp-content/uploads/zutsu.jpg" alt="">
                   <!-- メニュー名 -->
                  <span class="menulistTit">頭痛</span>
                   <!-- 説明文 -->
                    <span class="menulistSt">説明文説明文説明文説明文説明文説明文説明文説明文説明文説明文説明文説明文説明文説明文説明文説明文</span></a></li>
                <li class="list_item" data-kind="整体" data-color="首"><a href=""><img src="https://kabuyui-wp.com/wp-content/uploads/kubi.jpg" alt=""><span class="menulistTit">首痛</span><span class="menulistSt">説明文説明文説明文説明文説明文説明文説明文説明文説明文説明文説明文説明文説明文説明文説明文説明文</span></a></li>
                <div class="clear"></div>
            </ul>
            <ul class="list">
                <div class="osusumeMenu"><span class="underLine">下半身のお悩み</span></div>
                <li class="list_item" data-kind="整体" data-color="骨盤"><a href=""><img src="https://kabuyui-wp.com/wp-content/uploads/kotsuban.jpg" alt=""><span class="menulistTit">骨盤矯正</span><span class="menulistSt">説明文説明文説明文説明文説明文説明文説明文説明文説明文説明文説明文説明文説明文説明文説明文説明文</span></a></li>
                <li class="list_item" data-kind="整体" data-color="産後"><a href=""><img src="https://kabuyui-wp.com/wp-content/uploads/sango-1.jpg" alt=""><span class="menulistTit">産後骨盤矯正</span><span class="menulistSt">説明文説明文説明文説明文説明文説明文説明文説明文説明文説明文説明文説明文説明文説明文説明文説明文</span></a></li>
                <div class="clear"></div>
            </ul>
            <ul class="list">
                <div class="osusumeMenu"><span class="underLine">その他の症状のお悩み</span></div>
                <li class="list_item" data-kind="整体" data-color="骨盤"><a href=""><img src="https://kabuyui-wp.com/wp-content/uploads/jiritsu.jpg" alt=""><span class="menulistTit">自律神経失調症</span><span class="menulistSt">説明文説明文説明文説明文説明文説明文説明文説明文説明文説明文説明文説明文説明文説明文説明文説明文</span></a></li>
                <div class="clear"></div>
            </ul>
            <p align="center"><a class="square_btn" href="price"><span><i class="fas fa-arrow-circle-right"></i>料金表はこちら</span></a></p>
        </div>
              
            
!

CSS

              
                
/*
checkbox.css
メニュー
=================================================================================================*/
.list{
        background-color: #faf3dd;
        padding: 48px;padding: 24px 48px 0px;
        width: 90%;
}

.list_item{
    float: left;
    padding: 8px;
    width: 48%;   
        margin-bottom: 2em; 
}

.menulistTit{
        display: block;
    font-weight: bold;
    font-size: 24px;
    color: #fc913a;    
}

.menulistSt{
        display: block;
    font-size: 14px;
}

#menupagebox ul li img{
    width: 100%;
    max-width: 100px;
    border-radius: 3px;
    float: left;
    margin-right: 16px;    
}

.nayamiMidashi {
    font-size: 24px;
    margin-bottom: 8px;
    margin-left: 8px;
    font-weight: bold;
    color: #fc913a;
}

@media (max-width: 763px){
.nayamiMidashi{
    font-size: 24px;
    margin-bottom: 8px;
    margin-left: 16px;
    font-weight: bold;
    color: #fc913a;
}

.menulistSt {
    display: block;
    font-size: 12px;
    letter-spacing: 0;
}

.list_item {
float: left;
    padding: 8px 0 20px 0px;
    width: 100%;
    margin-bottom: 1em;
}

.list {
    background-color: #faf3dd;
    padding: 8px;
    width: 90%;
}



}

.menup{
    margin-left: 32px;
    padding: 16px 0;
    margin-top: 1em;
    margin-bottom: 1em;
}
@media (max-width: 763px){
.menup {
    margin-left: 0;
    padding: 16px 16px;
    margin-top: 0;
    margin-bottom: 0;
    line-height: 1.5;
}
}

#menupagebox{
        margin-bottom: 2em;
}

.osusumeMenu{
     text-align: left;
    letter-spacing: 0;
    font-weight: bold;  
    margin-bottom: 16px; 
        font-size: 24px;
}

.underLine{
    display: inline-block;
    width: 32%;
    padding: 0 0 8px;
    border-bottom: 2px solid #fc913a;
}

@media (max-width: 763px){
.underLine{
    display: inline-block;
    width: 70%;
    padding: 0 0 8px;
    border-bottom: 2px solid #fc913a;
}

.osusumeMenu {
    text-align: left;
    letter-spacing: 0;
    font-weight: bold;
    margin-bottom: 16px;
    font-size: 20px;
}
    }

.search-box_label {
    font-weight: bold;
}

.search-box{
       
     line-height: 3;
}

.search-box ul li{
width: 30%;
    margin: 0 0 24px;
    float: left;
    position: relative;
    margin-left: 24px;
}


.is-hide {
    display: none;
}
/* css checkbox01 */
.checkbox01-input{
  display: none;
}
.checkbox01-parts{
padding-left: 20px;
    position: relative;
    margin-right: 20px;
    width: 100%;
    box-sizing: border-box;
    padding: 0 0 0 32px;
    font-size: 18px;
}
.checkbox01-parts::before{
content: "";
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 20px;
    height: 20px;
    border: 1px solid #d0d0d0;
    background-color: #fff;
}
.checkbox01-input:checked + .checkbox01-parts{
  color: #fc913a;
}
.checkbox01-input:checked + .checkbox01-parts::after{
  content: "";
  display: block;
  position: absolute;
    top: 0px;
    left: 7px;
    width: 7px;
  height: 14px;
  transform: rotate(40deg);
  border-bottom: 3px solid #fc913a;
  border-right: 3px solid #fc913a;
}



@media (max-width: 763px) {
.checkbox01-parts {
    padding-left: 0px;
    position: relative;
    margin-right: 0px;
    width: 100%;
    box-sizing: border-box;
    padding: 0 16px 0 30px;
    font-size: 16px;
    line-height: 1.5;
    display: block;
    letter-spacing: 0;
}

.search-box {
    line-height: 3;
    padding:8px 16px 0;
}

.search-box ul li {
    width: 50%;
    margin: 0 0 16px;
    float: left;
    position: relative;
}

}
              
            
!

JS

              
                
              
            
!
999px

Console