/*---------------------------------
お問い合わせフォームに関する設定
---------------------------------*/

/*---------------------------------
共通項目
---------------------------------*/

/* 共通 > メールフォームの配置 */
.contact-form {
  margin-top: 40px;
}

.header-inquiry-top {
  width: 100%;
  margin-bottom: 20px;
}

.header-inquiry img {
  width: 100px;
  margin-right: 20px;
}

.header-inquiry h2 {
  font-size: 21px;
  font-weight: bold;
}

ul.touchTel li {
  width: 46%;
  margin: 0 2%;
}

div.submit {
  text-align: center;
}

/* 共通 > パンチカーペットを選択 */
.punch-select ul {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

.punch-select li {
  list-style: none !important;
  margin: 0;
  padding: 4px;
}

.punch-select li img {
  display: block;
  width: auto;
}

/*---------------------------------
お知らせ(倉庫引取)
---------------------------------*/
.pickup-notice-common {
  display: none;
  margin-top: 10px;
  padding: 12px 14px;
  background: #f7f2e8;
  border: 1px solid #d9c9a3;
  border-radius: 6px;
  line-height: 1.8;
  font-size: 14px;
  color: #333;
}

/*---------------------------------
共通箇所
---------------------------------*/
.crow .wpcf7-text:hover,
.crow .wpcf7-textarea:hover,
.crow .wpcf7-select:hover,
.crow .wpcf7-date:hover,
.crow .wpcf7-quiz:hover,
.crow .wpcf7-wpcf7-date:hover,
.crow .wpcf7-text:focus,
.crow .wpcf7-textarea:focus,
.crow .wpcf7-quiz:focus,
.crow .wpcf7-wpcf7-date:focus,
.crow .wpcf7-select:focus {
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.09), 0 5px 5px rgba(0, 0, 0, 0.1), 0 5px 15px rgba(0, 0, 0, 0.1) !important;
}

.crow .wpcf7-text,
.crow .wpcf7-textarea,
.crow .wpcf7-date,
.crow .wpcf7-quiz,
.crow .wpcf7-wpcf7-date,
.crow .wpcf7-select {
  border-radius: 4px;
  transition: 0.2s ease-in-out;
}

input[type="date"] {
  background: #f5f5f5 !important;
}

.wpcf7-date {
  border: none !important;
  background: #f5f5f5 !important;
  padding: 0.4em;
}

.wpcf7-date:hover {
  background: #f5f5f5 !important;
}

.cright th,
.cright td {
  border: 1px solid #fff !important;
}

.cright th {
  background-color: #fff !important;
}

.cright tr>* {
  border: none;
}

.cright tr:first-child>*:first-child {
  border-radius: 4px 0 0 0;
}

.cright tr:first-child>*:last-child {
  border-radius: 0 4px 0 0;
}

.cright tr:last-child>*:first-child {
  border-radius: 0 0 0 4px;
}

.cright tr:last-child>*:last-child {
  border-radius: 0 0 4px 0;
}

.wpcf7-list-item {
  margin: 0 0 0 0 !important;
}

.wpcf7-quiz {
  display: block;
  background: #f5f5f5;
  border: none !important;
}

.wpcf7-select {
  appearance: none;
  /* 矢印を消す */
  -webkit-appearance: none;
  /* Safari 用 */
  -moz-appearance: none;
  /* Firefox 用 */
  background-color: #f5f5f5 !important;
  /* 背景色 */
  border: none;
  /* ボーダー */
  background-image: url('data:image/svg+xml;charset=US-ASCII,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 10 6"><path d="M0 0l5 6 5-6z" fill="black"/></svg>') !important;
  /* 矢印のアイコン */
  background-size: 10px;
  background-repeat: no-repeat;
  background-position: right 10px center;
  /* 矢印の位置 */
}

.wpcf7-select:hover,
.wpcf7-select:focus {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-color: #fff;
  border: none;
  background-image: url('data:image/svg+xml;charset=US-ASCII,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 10 6"><path d="M0 0l5 6 5-6z" fill="black"/></svg>') !important;
  background-size: 10px !important;
  background-repeat: no-repeat !important;
  background-position: right 10px center !important;
}


.wp-block-column-is-layout-flow form {
  margin: 0.4em 0 2em 0 !important;
}

.wp-block-column-is-layout-flow h4 {
  margin: 0.4em 0;
}

div.submit .wpcf7-submit {
  background-color: #ff8c00;
  color: #fff;
}

.crow {
  font-weight: bold;
  border-bottom: 2px solid #f5f5f5;
}

.cright table {
  width: 100%;
}

.cright table th {
  width: 40%;
}

.cright table p {
  margin-bottom: 0.4em !important;
}

.any {
  background: #999;
}

.require {
  background: #d90000;
}

.require,
.any {
  color: #fff;
  text-align: center;
  border-radius: 4px;
}

.crow .wpcf7-text,
.crow .wpcf7-textarea {
  background: #f5f5f5;
  border: none;
}

.crow input[type="number"] {
  background: #f5f5f5;
  border: #ccc 1px solid;
  padding: 0.4em;
  border-radius: 4px;
}



.stageoption .wpcf7-list-item,
.select-day .wpcf7-list-item {
  display: block;
}

.wpcf7-radio .wpcf7-list-item {
  display: block;
}

.cf7-details-advance details {
  width: 100%;
  margin-bottom: 0.4em;
  position: relative;
  cursor: pointer;
}

.cf7-details-advance details div {
  margin: 0.4em 0 1.2em 0;
}

.cf7-details-advance details summary {
  padding: 0.4em;
  border-radius: 4px;
}

.cf7-details-advance details summary:hover {
  background: #f2f3ff;
}

.cf7-details-advance[open] div {
  animation-name: PullDown;
  animation-duration: 0.2s;
  transition: 0.2s ease-in-out;
}

.cf7-details-advance details>summary::before {
  content: '\f107';
  right: 0.4em;
  position: absolute;
  font-size: 1.4em;
}

.cf7-details-advance details[open]>summary::before {
  content: '\f107';
  transform: rotate(180deg);
  transition: 0.2s ease-in-out;
}

.cf7-details-advance details[open] {
  transition: 0.2s ease-in-out;
  padding: 0;
}

.cf7-details-advance details[open] details,
.cf7-details-advance details[open] div,
.cf7-details-advance details[open] details div {
  padding: 0;
  animation-name: PullDown;
  animation-duration: .2s;
  transition: .2s ease-in-out;
}

.cf7-details-advance details summary::-webkit-details-marker {
  display: none;
}

.cf7-details-advance summary {
  list-style: none;
}

/*---------------------------------
スマホ
---------------------------------*/

@media screen and (max-width:599px) {
  /* スマホ > Contactform7 > 幅調整 */
  input[type="text"],
  input[type="password"],
  input[type="email"],
  input[type="tel"],
  input[type="search"],
  input[type="url"] {
    width: 100%;
  }

  /* スマホ > 全般 > 拡張機能 > お問い合わせフォームに関する設定 */
  .wpcf7-form-control-wrap {
    display: block;
  }

  .wpcf7-select {
    width: 100%;
  }

  .require,
  .any {
    padding: 3px;
    width: 40px;
    height: 30px;
    margin-right: 10px;
  }

  .wpcf7-text,
  .wpcf7-textarea {
    border: none;
    font-size: 16px;
    padding: 12px 0 12px 14px;
    width: 100%;
  }

  .wpcf7-textarea {
    height: 150px;
  }

  .two-input span .wpcf7-text {
    margin: 5px 15px 5px 0;
  }

  .email .wpcf7-text {
    margin-bottom: 15px;
    width: 100%;
  }

  .cleft {
    color: #999;
    font-size: 92%;
  }

  .cright {
    font-size: 115%;
  }

  .cright table {
    width: 100%;
  }

  .cright th {
    width: 33%;
  }

  .cright td {
    width: 66%;
  }

  div.submit .wpcf7-submit {
    width: 100%;
    display: block;
  }

  .punch-select ul {
    display: block !important;
    overflow-x: auto;
    white-space: nowrap;
  }

  .punch-select li {
    display: inline-block !important;
    width: 64px !important;
    list-style: none !important;
    margin: 0;
    padding: 4px;
  }

  .punch-select li img {
    width: auto;
    height: auto;
    max-width: 100%;
    display: block;
  }

  .punch-select small {
    display: block;
    text-align: right;
  }

  /* スマホ > メールフォームに関する設定 > 姓名を横並びに */
  .two-input {
    display: flex;
  }

  .two-input span {
    width: 100% !important;
    padding-right: 2%;
  }

  .two-input span:last-child {
    width: 100% !important;
    padding-right: 0%;
  }

  /* スマホ > メールフォームに関する設定 > 配送先住所の間のスペース */
  .cf7-place span.place-method {
    margin-top: 1em;
    display: block;
  }

  /* スマホ > メールフォームに関する設定 > 開閉後の入力欄を列揃え */
  .cright.cf7-details-advance td p {
    position: relative;
    padding: 0 0 2em 0;
  }

  .cright.cf7-details-advance td p .wpcf7-form-control-wrap {
    position: absolute;
    right: 0;
    top: 0;
  }

  .cright.cf7-details-advance td p .wpcf7-form-control-wrap input[type="number"] {
    width: 80px;
  }

  .cright.cf7-details-advance td p .wpcf7-form-control-wrap select {
    width: 120px;
  }

  .cf7-details-advance th {
    vertical-align: top;
  }

  .cf7-details-advance tr {
    border-bottom: 1px solid #eee;
  }
  
  /* スマホ > 問い合わせページ > 問い合わせの送信ボタンを全幅に */
  div.submit .wpcf7-submit {
    width: 100%;
    font-size:120%;
    letter-spacing:0.3rem;
  }
}

/*---------------------------------
タブレット
---------------------------------*/

@media screen and (min-width: 600px) and (max-width: 959px) {

  /* タブレット > 全般 > 拡張機能 > お問い合わせフォームに関する設定 */
  .header-inquiry-top {
    display: flex;
    align-items: center;
  }

  .header-inquiry h2 {
    width: calc(100% - 140px);
  }

  .crow {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 20px;
    padding: 20px 0;
  }

  .crow .cleft {
    width: 40%;
    margin-right: 20px;
  }

  .crow .cright {
    width: calc(60% - 20px);
    display: flex;
    flex-wrap: wrap;
  }

  .require,
  .any {
    padding: 3px;
    width: 40px;
    height: 30px;
    margin-right: 10px;
  }

  ul.touchTel,
  span.box {
    width: calc(100% - 60px);
    display: flex;
    flex-wrap: wrap;
  }

  .crow .wpcf7-text,
  .crow .wpcf7-textarea {
    font-size: 14px;
    padding: 12px 0 12px 14px;
    width: 400px;
  }

  .crow .wpcf7-textarea {
    height: 150px;
  }

  .crow .two-input span .wpcf7-text {
    width: 193px;
    margin: 0 15px 10px 0;
  }

  .crow .email .wpcf7-text {
    margin-bottom: 15px;
  }

  .punch-select small {
    display: none;
  }

  .punch-select ul {
    display: flex;
    flex: 1;
    flex-wrap: wrap;
  }

  .punch-select li {
    width: 60px;
  }
  
   /* タブレット > 候補日の書式 */
  .cf7-candidate th {
	width:25% !important;
  }

}

/*---------------------------------
ラップトップ
---------------------------------*/

@media screen and (min-width:960px) {

  /* ラップトップ > 全般 > 拡張機能 > お問い合わせフォームに関する設定 */
  .header-inquiry-top {
    display: flex;
    align-items: center;
  }

  .header-inquiry h2 {
    width: calc(100% - 140px);
  }

  .crow {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 20px;
    padding: 20px 0;
  }

  .crow .cleft {
    width: 40%;
    margin-right: 20px;
  }

  .crow .cright {
    width: calc(60% - 20px);
    display: flex;
    flex-wrap: wrap;
  }

  .require,
  .any {
    padding: 4px 6px;
    width: 40px;
    height: 30px;
    margin-right: 10px;
    font-size: 13px;
  }

  ul.touchTel {
    width: calc(100% - 60px);
    display: flex;
    flex-wrap: wrap;
  }

  span.box {
    display: block;
  }

  .crow .wpcf7-text,
  .crow .wpcf7-textarea {
    background: #f5f5f5;
    border: none;
    font-size: 14px;
    padding: 12px 0 12px 14px;
    width: 100%;
    border-radius: 6px;
  }

  .crow .wpcf7-textarea {
    height: 150px;
  }

  .crow .two-input span .wpcf7-text {
    width: 193px;
    margin: 0 15px 10px 0;
  }

  .crow .email .wpcf7-text {
    margin-bottom: 15px;
  }

  /* デスクトップ > メールフォームに関する設定 > 各テキストボックスを幅100%に */
  .cf7-company p,
  .cf7-mail p,
  .cf7-phone p,
  .cf7-bikou p,
  .cf7-place p,
  .cf7-company span,
  .cf7-phone span,
  .cf7-bikou span,
  .cf7-mail span,
  .cf7-place p {
    width: 100%;
  }

  .punch-select small {
    display: none;
  }

  .punch-select ul {
    display: flex;
    flex: 1;
    flex-wrap: wrap;
    height: 320px;
    overflow: auto;
  }

  .punch-select li {
    width: 72px;
  }

  div.submit .wpcf7-submit {
    background-color: #ff8c00;
    color: #fff;
    padding: 18px 122px;
  }

  .wpcf7-select {
    min-width: 120px !important;
  }

  /* デスクトップ > メールフォームに関する設定 > 開閉後の入力欄を列揃え */
  .cright.cf7-details-advance tr:first-child td p {
    padding-bottom: 1.4em !important;
  }

  .cright.cf7-details-advance td p {
    position: relative;
    padding-bottom: 2.4em;
  }

  .cright.cf7-details-advance td p .wpcf7-form-control-wrap {
    position: absolute;
    right: 0;
    top: 0;
  }

  .cright.cf7-details-advance td p .wpcf7-form-control-wrap select {
    width: 106px;
  }

  .cright.cf7-details-advance td p .wpcf7-form-control-wrap input[type="number"] {
    width: 121px;
    border: none;
  }

  .cf7-details-advance th {
    vertical-align: top;
  }

  .cf7-details-advance tr {
    border-bottom: 1px solid #eee;
  }

  /* デスクトップ(高解像度) > パンチカーペット選択 > サイズを小さく */
  .punch-select.image-selector li {
    width: 68px !important;
  }
  
   /* ラップトップ > 候補日の書式 */
  .cf7-candidate th {
	width:25% !important;
  }
}