/*
	Theme Name: diver_child
	Template: diver
	Description:  Diverの子テーマです。
	Theme URI: http://tan-taka.com/diver/
	Author: Takato Takagi
 */

/* カスタマイズする場合にはこれより下に追記してください  */
.header-logo #logo{
	display: none !important;
}
.header_image_desc p {
	background-color: #000;
}
.header_inner_icon img {
	min-height: 150px;
}
.firstview_content {
    width: 100%;
}
.header_img_inner_wrap, .firstview_header_inner_content {
    width: 100%;
    background: #000;
}
.di-intro-wrap {
  padding: 40px 0;
}

.di-intro-inner {
  display: flex;
  align-items: center;
  gap: 30px;
}

.di-intro-image img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 6px;
}

.di-intro-image {
  flex: 0 0 30%;
}

.di-intro-text {
  flex: 1;
}

.di-intro-text h2 {
  margin-top: 0;
  margin-bottom: 15px;
  font-size: 1.6rem;
}

.di-intro-text p {
  margin: 0;
  line-height: 1.8;
}

/* スマホ：画像が上・テキストが下で縦並び */
@media (max-width: 768px) {
  .di-intro-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .di-intro-image,
  .di-intro-text {
    flex: 0 0 auto;
    width: 100%;
  }
}

table tbody th {
    color: #000;
}

/* =========================
   Contact Form 7 見た目強制
   ========================= */

/* 余白をこちらで支配（Diver側の margin を潰す） */
.wpcf7, .wpcf7 *{
  box-sizing: border-box;
}

.wpcf7 .f-row{
  margin: 10px 0 !important;
  padding: 0 !important;
}

.wpcf7 .f-row > label{
  display: block !important;
  margin: 0 0 6px 0 !important;
  font-weight: 700 !important;
}

/* 入力系の余白 */
.wpcf7 input,
.wpcf7 select,
.wpcf7 textarea{
  margin: 0 !important;
}

/* 必須バッジ（span.req がある前提） */
.wpcf7 .req{
  display: inline-block !important;
  background: #d33 !important;
  color: #fff !important;
  font-size: 12px !important;
  line-height: 1 !important;
  padding: 3px 8px !important;
  border-radius: 999px !important;
  margin-left: 8px !important;
  vertical-align: middle !important;
  font-weight: 700 !important;
}

/* チェックボックス：縦並び固定 */
.wpcf7 .wpcf7-form-control.wpcf7-checkbox{
  display: block !important;
}

.wpcf7 .wpcf7-checkbox .wpcf7-list-item{
  display: block !important;
  margin: 8px 0 !important;
}

.wpcf7 .wpcf7-checkbox .wpcf7-list-item-label{
  display: inline-block !important;
}



/* 追加 */
.wpcf7 .wpcf7-checkbox .wpcf7-list-item label{
  cursor: pointer;
  padding: 6px 0;
}
.wpcf7 .wpcf7-checkbox input[type="checkbox"]{
  transform: scale(1.1);
  margin-right: 8px !important;
}
.wpcf7 .f-row > label{
  display:flex !important;
  align-items:center !important;
  gap:10px;
}
.wpcf7 .req{ margin-left:0 !important; }
.wpcf7 input[type="submit"][disabled]{
  opacity: .45;
  cursor: not-allowed;
}

/* デフォルトはPC表示とする */
.br-pc {
  display: inline;
}
.br-sp {
  display: none;
}

/* 768px以下をスマホとみなす例 */
@media screen and (max-width: 768px) {
  .br-pc {
    display: none;
  }
  .br-sp {
    display: inline;
  }
}

.usp-images label {
	display: none !important;
}