@charset "UTF-8";
/*
    Template: swell
    Theme Name: SWELL CHILD
    Theme URI: https://swell-theme.com/
    Description: SWELLの子テーマ、レビューフィールドのCSS
    Version: 1.0.0
    Author: LOOS WEB STUDIO
    Author URI: https://loos-web-studio.com/

    License: GNU General Public License
    License URI: http://www.gnu.org/licenses/gpl.html
*/

.comment-form{
  display: flex;
  flex-direction: column;
}

.acf-comment-fields{
  order: 0;
}
.comment-form-comment{
  display: none;
}
.form-submit{
  order:100;
}

/* 点数表示 */

.top_box {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.top_box_row {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: space-around;
}

.top_box:nth-child(2){
  margin: 0 20px;
  flex: 4;
  flex-direction: column-reverse;
}
.top_box:last-child{
  flex: 3;
}

.bar_box {
  width: calc(100% - 6rem);
  border: 1px solid #ccc;
  height: 1.5rem;
}

span.point {
  width: 1rem;
  text-align:end;
  padding-right: .5rem;
}

span.count {
  width: 2rem;
  padding-left: .5rem;
}

.bar {
  background-color: #2B4675;
  height: 100%;
}

.comment_top_box {
  display: flex;
  flex-direction: row;
  align-items: center;
  flex-wrap: wrap;
}

@media (max-width:600px){
  .comment_top_box{
    flex-direction: column;
  }
  .top_box.w_2{
    width: calc( 100% - 40px );
    margin-bottom: 1em;
  }
}

.comment_top_box>div {
  margin-bottom: 1rem;
}

.comment_star{
  font-size: 2.5rem;
}

.icon-star-full,
.icon-star-half,
.icon-star-empty{
  color: #FFC800;
}

.top_box:last-child button{
  background: #2B4675 0% 0% no-repeat padding-box;
  color: #fff;
  border:none;
  border-radius: 40px;
  padding: 5px 10px;
  font-size: .9rem;
  font-weight: 700;
}

.bottom_star{
  font-size: .9rem;
}

/* コメント一覧 */
.c-commentList{
  list-style: none;
}

/* コメント一覧のヘッダー部分 */
.user_row {
  display: flex;
  flex-direction: row;
  align-items: center;
}

.user_row img {
  border-radius: 50%;
}

.user_star, 
.user_point {
  font-size: 1.5rem;
  padding-left: 1rem;
}

.commment-date {
  margin-left: auto;
  font-size: 0.8rem;
}

/* コメント本体 */

.comment_user {
  font-size: .8rem;
  margin: 1rem 8px;
}

.comment_user dt {
  display: block;
  float: left;
  margin-right: .5rem;
  color: #666;
  background-color: #70707033;
  padding: 0 .25em;
  border-radius: .5em;
}

.comment_user dd {
  margin-bottom: .25em;
}

.comment-body {
  margin: 1rem 0;
}

.comment-block {
  margin-bottom: 1rem;
}

.comment-block p {
  font-size: .9rem;
}

.comment-body h5 {
  font-size: 1.2rem;
  margin-bottom: .5rem;
  text-decoration: underline solid #70707033;
  text-decoration-thickness: 5px;
}

.comment-data {
  font-size: .9rem;
}
.comment-block>i{
  color: var(--color_main);
}

.comment-block label {
  font-weight: 700;
  color: #666;
}

ul.c-commentList {
  list-style: none;
  padding-left: 0;
}

#comments {
  margin-top: 0;
}

/* 役に立ったボタン */
.cld-like-dislike-wrap {
  border: 1px solid #1e73be;
  border-radius: 4px;
}
.cld-like-dislike-wrap:hover{
  background-color:#1e73be;
}
.cld-like-dislike-wrap:hover div>a,
.cld-like-dislike-wrap:hover div>.cld-like-count-wrap{
  color: #fff;
}
.cld-like-wrap.cld-common-wrap {
  padding: .1em .25em .25em;
  margin-right: 0;
}

/* コメント一覧へのボタン */
.comment_list_link {
  margin-bottom: 2rem;
}
a.comment_link{
  display: flex;
  justify-content: space-evenly;
  width: 360px;
  background-color: #183C74;
  box-shadow: 6px 6px 16px #98BBE229;
  color: #fff;
  font-weight: bold;
  text-align: center;
  font-size: 16px;
  letter-spacing: 0.96px;
  border-radius: 40px;
  margin: 0 auto;
  padding: .75em 3em;
  line-height: 30px;

}
a.comment_link::after{
  display: block;
  position:relative;
  content: "\e921";
  font-size: 1.5rem;
  font-weight: bold;
  font-family:icomoon!important;
  line-height: 30px;
}
@media (max-width:959px){
  a.comment_link{
    width: 100%;
    padding: .75em;
  }
}

/* コメント投稿ページ */
.acf-field-group>.acf-label>label {
    font-size: 1.2rem;
}
.acf-field[data-name^="g5"] label{
    display: inline-block;
    width: auto;
    float: left;
}

/* コメント投稿へのボタン */
.comment_post_link{
  display: block;
  text-align: center;
  background-color: #2b4675;
  color: #fff!important;
  border-radius: 40px;
  line-height: 2.5rem;
  font-weight: 700;
}
@media (max-width:959px){
  .comment_post_link{
    padding: 0 1em;
  }
}

/* 確認画面 */
.confirm_form .confirm {
  display: none;
  border: 1px solid #ff0;
  z-index: 100;
  background-color: #eee;
  width: 100vw;
  height: 100vh;
  position: fixed;
  top: 0;
  left: 0;
}

h4.confirm_header {
    padding: 0 0 0 16px!important;
    border-left: solid 2px var(--color_htag);
    color: var(--color_text)!important;
    background: transparent!important;
    font-size: 1.4rem;
    margin: 2rem 0;
}

.confirm_form .acf-fields>label {
    display: block;
    font-size: 1.2rem;
    font-weight: bold;
    margin: 0 0 3px;
    padding: 0;  
}

.confirm_form .acf-fields .acf-field {
    font-size: .9rem;
}

.confirm_form .acf-field>label {
    font-weight: 700;
}

.confirm_form .acf-input {
    border: #ccd0d4 solid 1px;
    background: #fff;
    
}

.confirm_form .acf-fields .acf-field:not(:first-child){
    border-top: #EEEEEE solid 1px;
    
}

.confirm_form .acf-field{
    padding: 15px 12px;
}

.confirm_form .acf-field > * {
    font-size: .9em;
}

.confirm_form .acf-fields {
    margin: 15px 0;
}

/* 確認画面ボタン */
.actions {
    margin-top: 2rem;
}

input#submit {
    background-color: var(--color_main);
    border: none;
    color: #fff;
    margin: 1em 0 0;
    padding: .5em 1.5em;
    -webkit-appearance: none;
}

.actions .button {
    background-color: transparent;
    border : 1px solid var(--color_main);
    border-radius: 40px;
    color: var(--color_main);
    margin: 1em 0 0;
    padding: .5em 1.5em;
    display: inline-block;
    -webkit-appearance: none;
    margin-right: 2rem;
}


/* 製品情報h2デザイン */
article .post_content h2{
  padding: 0!important;
  border-bottom: solid 1px #70707033;
  color: var(--color_main)!important;
  background:transparent!important;
}
article .post_content h2::before{
  display:none;
}

/* コメントがないとき */
.no_comment_box p {
  margin-bottom: 1rem;
}

.no_comment_box .comment_post_link {
  width: 60%;
  margin: 0 auto;
}
@media (max-width:959px){
  .no_comment_box .comment_post_link{
    width: 100%;
  }
}

/* チェックボックスの並び */
.acf-field-60acca2ce5ffb, /* タイトルおまかせ */
.acf-field-60464b67e1b55, /* 利用確認 */
.acf-field-60464b94e1b56 /* 個人情報同意 */
{
  display: flex;
  flex-direction: row-reverse;
  justify-content: flex-end;
}

.acf-field-60acca2ce5ffb .acf-label, /* タイトルおまかせ */
.acf-field-60464b67e1b55 .acf-label, /* 利用確認 */
.acf-field-60464b94e1b56 .acf-label /* 個人情報同意 */
{
  margin-left: 10px!important;
}

/* エラー表示時 */
.acf-field-60464b67e1b55.acf-error,
.acf-field-60464b94e1b56.acf-error{
  flex-direction: column;
}