@charset "UTF-8";

/*!
Theme Name:  haisha-t Cocoon Child
Description: タカダ歯科医院 Cocoon子テーマ
Theme URI:   https://wp-cocoon.com/
Author:      e-nets
Author URI:  
Template:    cocoon-master
Version:     1
*/

/* カスタム元の子テーマ Cocoon Child 1.1.3 */

/************************************
** レスポンシブデザイン用のメディアクエリ
************************************/
/* 1023px以下 */
@media screen and (max-width: 1023px){
  /* 必要ならばここにコードを書く */
}

/* 834px以下 */
@media screen and (max-width: 834px){
  /* 必要ならばここにコードを書く */
}

/* 480px以下 */
@media screen and (max-width: 480px){
  /* 必要ならばここにコードを書く */
}

/************************************
** 子テーマ用のスタイルを書く
************************************/
/* 必要ならばここにコードを書く */


th {
  font-weight: inherit;
}

table.has-fixed-layout {
	margin-bottom:0;
}

.container.cf {
  max-width: unset;
}

/* ウィジェット
============================================================= */
.widget_recent_entries .post-date {
  display: block;
  margin-top: -.5em;
  line-height: 1em;
}

.widget_recent_entries ul li a {
  margin-top:10px;
}

.widget_recent_entries ul li a, .widget_categories ul li a, .widget_archive ul li a, .widget_pages ul li a, .widget_meta ul li a, .widget_rss ul li a, .widget_nav_menu ul li a, .widget_block ul li a {
  padding-top:5px;
  padding-bottom:5px;
}

/* サイドバー */
.info-list {
  padding: 0;
}
  
.info-list-item {
  padding:5px 4px;
  margin-top:10px;
  font-size:1em;
}

.info-list-item-content {
  margin-bottom:4px;
}

/* コンテンツ上部 */
.content-top {
  margin-top:0;
  margin-bottom:0;
}

.content-top aside{
  margin-bottom:0 !important;
}

/* ブロック
============================================================= */

/* カテゴリー */
.wp-block-categories-list {
  padding-left: 0 !important;
}

.wp-block-categories-list li{
  padding-right: 4px;
  padding-left: 4px;
}

/* stylelint-disable-next-line no-descending-specificity */
.wp-block-categories-list a {
  color: initial;
  text-decoration: none;
}

.wp-block-categories-list a:hover {
  color: #e53900;
  text-decoration: underline;
}

/* フォーム
============================================================= */

.wpcf7 ul {
  width: 100%;
  max-width: 768px;
  padding: 0;
  margin: 0 auto;
  font-size: 16px;
  list-style: none;
}

.wpcf7 li {
  width: 100%;
  margin: 30px 0 0!important;
}

.wpcf7 li > label {
  display: block;
  margin-bottom: 10px;
  line-height: 1em;
  white-space: nowrap;
}

.wpcf7 label > span {
  letter-spacing: .05em;
  vertical-align: -.1em;
}

.wpcf7 .wpcf7-text, .wpcf7 .wpcf7-textarea {
  width: 100%;
  padding: .5em;
  resize: vertical;
  border: 1px solid #ccc;
  border-radius: 3px;
}

.wpcf7-list-item.first {
  margin-left:0;
}

.wpcf7-text:focus, .wpcf7-textarea:focus {
  padding: calc(.5em - 1px);
  outline: 2px solid #4891d3;
}

.wpcf7 .req {
  display: inline-block;
  padding: .2em .5em;
  margin-right: 10px;
  font-size: 10px;
  font-weight: 200;
  line-height:1.5em;
  color: #fff;
  text-align: center;
  background-color: #4891d3 ;
}

.wpcf7 .wpcf7-submit {
  display: block;
  width:fit-content;
  padding: .5em 1em;
  margin: 20px auto 0;
  font-size: 14px;
  font-weight: 500;
  color: #fff;
  text-align: center;
  text-indent: .05em;
  letter-spacing: .05em;
  white-space: nowrap;
  cursor: pointer;
  background-color: #4891d3;
  border: none;
  border: 3px solid #4891d3;
  border-radius: 3em;
  transition: all ease .2s;
}

.wpcf7 .wpcf7-submit:hover {
  color: #4891d3;
  background-color: #ebf6ff;
  opacity: 1;
}

.wpcf7 .wpcf7-submit:disabled {
  color: #fff;
  background-color: #bbb;
  border: 3px solid #bbb;
}

/* 未入力表示 */
.wpcf7-not-valid-tip {
  margin-top: 10px;
}

/* 送信メッセージ表示 */
.wpcf7-response-output {
  display: block;
  width: 100%;
  max-width: 768px;
  padding: .5em !important;
  margin: 20px auto 0!important;
  text-align: center;
}

.wpcf7-spinner {
  display: block !important;
  margin: 20px auto !important;
}

/* really-simple-captcha */
.captcha-wrapper {
	display: flex;
	flex-wrap: wrap;
	gap: .5em;
	align-items: center;
	justify-content: center;
	margin-top: 20px;
}

.captcha-wrapper .wpcf7-captchac {
	display: block;
	width: auto;
	height: 2em;
}
 
.captcha-wrapper .wpcf7-captchar {
	margin: 0;
}

/* ショートコード
============================================================= */

.widget-content-top {
  position: relative;
  z-index: 0;
  padding: 36px 29px;
  margin-top: 20px;
  background-color: #fff;
  border: 1px solid transparent;
  border-radius: var(--cocoon-basic-border-radius);
}

@media screen and (max-width: 834px) {
  .widget-content-top {
    padding: 32px 16px;
    margin: 12px 0;
    border-width: 0;
  }
}

/* お知らせ */
.news-short__title {
  margin-bottom: .5em;
  font-size: 24px;
  font-weight: 500;
  text-align: center;
}

.news-list {
  display: block;
  max-width:840px;
  margin:0 auto !important;
  font-size: 14px;
  border-bottom: 1px dotted #ccc;
}

.news-list__item {
  display: flex;
  gap: .5em 1em;
  align-items: center;
  padding: 1em;
  margin: 0 !important;
  border-top: 1px dotted #ccc;
}

@media screen and (max-width: 834px) {
  .news-list__item{
    flex-wrap: wrap;
    justify-content: center;
    padding: 1em 0;
    text-align:center
  }
}

.news-list__post-date {
  font-weight:500;
  white-space: nowrap;
}

/* stylelint-disable-next-line no-descending-specificity */
.news-list__category a{
  padding:.25em .5em;
  font-size: 12px;
  font-weight:500;
  color: #fff !important;
  color:inherit;
  text-decoration: none;
  white-space: nowrap;
  background-color: #666;

  &:hover {
    opacity:.8;
  }
}

.news-list__title{
  width: 100%;
}

/* stylelint-disable-next-line no-descending-specificity */
.news-list__title a{
  color:inherit;
  text-decoration: none;

  &:hover {
    opacity:.8;
  }
}

.news-short__more {
  display: block;
  width: fit-content;
  padding: .75em 1em;
  margin: 30px auto 0;
  font-size: 14px;
  font-weight: 500;
  color: #fff;
  text-decoration: none;
  background-color: #32a866;
  border-radius: 4px;

  &:hover {
    color: #fff;
    opacity: .8;
  }
}

