@charset "UTF-8";

.add_to_cart_p{
    width: 60%;
    margin: 0 auto;
    text-align: center;
    background-color: #FCD200;
    padding: 5px;    
    border-radius: 2px;
}

.add_to_cart_a{
    display: block;
    width: 100%;    
    color: #000;
}

.test_content dt{
    background-color: #0068b7;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    padding: 16px;
    max-width: 100%;
    margin:15px 0 15px;
}
.test_content dt p{
    width: 90%;
}
.test_content dt .btn{
    height: 16px;
    width: 16px;
}
.test_content dt .btn span{
    display: block;
    width: 100%;
    height: 100%;
    position: relative;
    transition: transform .3s;
}
.test_content dt.open .btn span{
    transform: rotate(-45deg);
}
.test_content dt .btn span::before{
    content: "";
    width: 100%;
    height: 2px;
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    background-color: #fff;
}
.test_content dt .btn span::after{
    content: "";
    height: 100%;
    width: 2px;
    position: absolute;
    left: 50%;
    top: 0;
    transform: translateX(-50%);
    background-color: #fff;
}
.test_content dd{
    padding: 16px;
    display: none;  /*初期表示（アコーディオンメニューにおいて、＋マークを押していないときは、非表示にする。*/
}
.only_pc{
    display: none;
}

/*----js記事003用----*/
/* フォーム全体のスタイル */
.article_003_form{
    width: 95%;
    margin: 0 auto;
}

.article_003_form p {
    display: flex;
    flex-direction: column;
    margin-bottom: 1em;
}

/* ラベルと入力フィールドのスタイル */
.article_003_form label {
    display: block;
    font-weight: bold;
    margin-bottom: 0.5em;
}

/* テキスト入力のスタイル */
.article_003_form input[type="text"] {
    width: 100%;
    max-width: 100%; /*画面からはみ出さないように。*/
    padding: 0.75em;
    font-size: 1em;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-sizing: border-box; /* 画面幅からはみ出さないようにする */
}

/* ボタンのスタイル */
.article_003_form button {
    width: 100%;
    padding: 0.75em;
    font-size: 1em;
    background-color: #007bff;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    box-sizing: border-box; /* ボタンもはみ出さないようにする */
}

.article_003_form button:hover {
    background-color: #0056b3;
}
/*----js記事003用----*/

/*[start]js記事004用*/
#app{
    font-size: 3rem;
    font-weight: bold;
    text-align: center;
    margin: 15% auto;
    color: #41BA83;
}
/*[finish]js記事004用*/

/*[start]js記事005用*/
#app_2{
    width: 30%;
    margin: 30% auto;
    padding: 1rem;
    background: #40B983;
    color: #ffffff;
    text-align: center;
    box-shadow: 6px 6px #ddd;
}
/*[finish]js記事005用*/

/*[start]js記事006用*/
#app_3 .text{
    margin: 30% auto;
    font-size: 2rem;
    text-align: center;
    border-bottom:2px solid #35495E;
    width: 50%;
}
#app_3 .text-success{
    color: #40b983;
  }
#app_3 .text-danger{
    color: #F1936E;
  }
/*[finish]js記事006用*/

/*[start]js記事007用*/
#app_4{
    width: 50%;
    margin: 30% auto;
    padding: 2rem;
    background: #40b983;
    color: #ffffff;
  }
#app_4 p:first-of-type {
    font-weight: bold;
    font-size: 2rem;
  }
/*[finish]js記事007用*/

/*[start]js記事008用*/
#app_5 .hobby-card{
    width: 50%;
    padding: 1rem;
    margin: 1rem auto;
    color: #ffffff;
    background: #40b983;
    box-shadow: 2px 2px 4px #ddd;
    font-weight: bold;
}
#app_5 .hobby-card:hover{
    opacity: .8;
}
/*[finish]js記事008用*/

@media only screen and (min-width:480px) and (max-width:959px){
    .add_to_cart_p{
        width: 30%;
    }

    .article_003_form{
        width: 50%;
        margin: 0 auto;
    }

}

@media only screen and (min-width:960px) {
    .add_to_cart_p{
        width: 20%;
    }

    .article_003_form{
        width: 50%;
        margin: 0 auto;
    }

}
