@charset "UTF-8";

/*!
Theme Name: Cocoon Child
Description: Cocoon専用の子テーマ
Theme URI: https://wp-cocoon.com/
Author: わいひら
Author URI: https://nelog.jp/
Template:   cocoon-master
Version:    1.1.3
*/

/************************************
** 子テーマ用のスタイルを書く
************************************/

/* =======================================
    全体の設定
======================================= */
:root {
  --text-red: #f30100;
}
*, *:before, *:after {
  box-sizing: border-box;
}
body {
  background: #fff !important;
}
html, body { height:100%; }
body, h1, h2, h3, h4, h5, h6, ul, dl, ol {
	margin:0;
	padding:0;
}
body {
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
}

.br-sp {
  display: none;
}

.br-pc {
  display: block;
}

hr {
  border: 0;
  height: 1px;
}

.home h3 {
	margin:32px 0 16px;
}

.contentBox > h2 {
	background:#f2f6fa;
  display: block;
}
.contentBox > h2 {
	padding:1% 2%;
}
.contentBox > h2 {
	border-bottom:1px solid #ddd;
}

li {
	list-style:none;
}

ol li {
	list-style:decimal;
}

.left, .alignleft, .rwdTable dt {
	float:left;
}

.right, .alignright {
	float:right;
}

.clear {
	clear:both;
}

.center, .oshirase, .menu-btn, .must, input[type="submit"], .tablenav, .photoBox, .layoutBox div {
	text-align: center;
}

.item-right {
  text-align: right;
}

.mt {
	margin-top: 32px;
}

.mb {
	margin-bottom: 32px;
}

.pt {
	padding-top: 16px;
}

picture {
  display: block;
}

.fontsize-m, .fontsize-l, .fontsize-xl {
  font-weight: bold;
}

.fontsize-l {
  font-size: clamp(16px, 2.4vw, 24px);
}

.fontsize-xl {
  font-size: clamp(18px, 4vw, 40px);
}

.mailform div:nth-child(odd)::before, .must {
	font-size:14px;
}

th, .mailform div th {
	font-weight:normal;
}

.colRed, .red {
  color: var(--text-red);
}

.colorbox01 {
	background:#f5f5f5;
	margin:0 0 1%;
	padding:1% 0 .5%;
}

.boxShadow {
	background:#fff;
	box-shadow:1px 1px 4px #ddd;
	margin:0 0 3%;
	overflow:hidden;
	padding: 16px 24px;
}

.border,
.cardList-border > li {
	background: #fff;
	border: 1px solid #999;
  padding: 16px;
}

.markar-yellow {
  background: linear-gradient(rgba(255, 255, 255, 0) 40%, #ff3 80%);
}

.marker {
  background: linear-gradient(transparent 30%, #ff9 0%);
}

/* ========テーブル========= */
table {
	border-collapse:collapse;
	margin-bottom:3%;
	width:100%;
}

table tr:nth-of-type(2n+1) {
  background-color: transparent;
}

th, td {
	display:block;
	padding:1% 2%;
}

th {
	background:#f9f9f9;
	text-align:left;
}

thead th {
	background:#f2f6fa;
	padding:.5% 2.3%;
}

tbody td span {
  display: block;
}

td {
	vertical-align:top;
}

/*会社概要・メールフォーム内のテーブル設定*/
.rwdTable {
	background:#fff;
}

.rwdTable th, .rwdTable td {
	padding: 12px;
}

/****************************************
          レイアウト
*****************************************/
.archive-title .fa-folder-open {
  display: none;
}
/* =======================================
    テンプレート
======================================= */
.main {
  padding: 8px 16px;
}
.section, .service, .p-flow, .p-sales {
	margin:auto;
	padding:0 10px;
	position:relative;
	z-index:0;
}

.aligncenter {
  display:block;
	margin:auto;
}

.alignright, .alignleft {
	display:inline;
}

.alignleft {
	margin:0 2% 1.5% 0;
}

.cardList {
  display: grid;
  gap: 16px;
}

.cardList02-02,
.cardList02-03,
.cardList02-03-04,
.cardList02-04 {
  grid-template-columns: repeat(2,1fr);
}
/************************************
** 内容
************************************/
/*エントリー・アーカイブの見出し*/
.entry-title,
.archive-title {
  font-size: clamp(22px,3.2vw,32px);
}
.entry-title {
  padding: 0;
}
.article h2 {
  font-size: 22px;
  padding: 16px;
}
/************************************
** ヘッダー
************************************/
.header div.header-in {
  flex-direction: row;
  justify-content: space-between;
}
.logo-header {
  width: 540px;
}
.logo-text {
  padding: 30px 0;
}
.site-name-text {
  font-weight: bold;
  line-height: 1.5;
}
/************************************
** パンくずリスト
************************************/
/*アイコンをまとめて非表示にする*/
.breadcrumb .fa-home,
.breadcrumb .fa-folder,
.breadcrumb .fa-file,
.breadcrumb .fa-file-o {
	display: none;
}

.breadcrumb.sbp-main-before,
.breadcrumb.sbp-footer-before,
.breadcrumb.pbp-main-before,
.breadcrumb.pbp-footer-before {
  margin: 0;
}
/****************************************
          フッター
*****************************************/
.footer {
  background-color: #fafafa;
}
/* =======================================
    トップページ
======================================= */
.red {
	clear:both;
	display:block;
}

.firstview-box01 {
  margin: 16px auto;
  max-width: 1240px;
  width: 96%;
}

.firstview-box02 {
  margin: auto;
  max-width: 1200px;
  width: 96%;
}

.instagram-timeline {
  padding: clamp(16px,4vw,40px);
}
.instagram-timeline > p {
  margin: 0 0 16px;
}
.instagram-timeline-title {
  font-size: 48px;
  font-weight: bold;
  height: 48px;
  line-height: 48px;
  position: relative;
  padding-left: 68px;
}
.instagram-timeline-title::before {
  content: '';
  display: block;
  width: 48px; 
  height: 48px;
  background-image: url("images/top/logo_instagram.png");
  background-size: contain;
  background-repeat: no-repeat;
  position: absolute;
  top: 8px;
  left: 0;
}

#sbi_load span,
.svg-inline--fa.fa-instagram.fa-w-14 {
  color: #fff;
}

/* 契約までの流れ */
.p-flow .boxShadow {
	margin-bottom: 0;
}
.flow__title {
  font-size: clamp(27px,3.8vw,38px);
  font-weight: bold;
  margin: 12px 0 0;
}
.balloon {
  color: #fff;
  background: #00b4d8;
  border-radius: 50%;
  box-sizing: border-box;
  display: inline-block;
  font-size: 16px;
  font-weight: normal;
  height: 48px;
  line-height: 48px;
  margin: 0 0 0 15px;
  padding: 0 5px;
  position: relative;
  text-align: center;
  top:-10px;
  width: 48px;
}
.balloon:before {
  content: "";
  position: absolute;
  top: 50%;
  left: -18px;
  border: 6px solid transparent;
  border-right: 20px solid #00b4d8;
  z-index: 0;
}
.under-title {
  margin: 8px 0 16px;
}
.p-flow small {
  padding-top: 1%;
}
.triangle {
  background: #ddd;
  height: 16px;
  width: 32px;
  clip-path: polygon(0 0, 100% 0, 50% 100%);
  margin: 0 auto 6px;
}

/* 契約までの流れ（DMページ） */
.flow > div {
  background:#fff;
	border-radius:4px;
	box-shadow:0 1px 3px #ddd;
	counter-increment:box;
	margin:2% 0;
	padding:3% 2%;
	position:relative;
	text-align:left;
}

.flow > div dl {
	margin-left:4%;
}

.flow > div dd {
	margin:1% 0;
	z-index:50;
}

.flow > div span {
  font-size: clamp(19px, 2.8vw, 28px);
  font-weight: bold;
}

.sateiin div:nth-child(2) {
  text-align: center;
}

.sateiin img {
  max-width: 240px;
  width: 100%;
}

/* =======================================
    お問い合わせ
======================================= */
.info {
  background: #06b;
  margin: 0;
  padding: 8px;
}

.info > span {
  color: #fff;
  display: block;
  font-size: 22px;
  font-weight: normal !important;
  margin-top: 6px;
  text-align: center;
}

.info li a {
	display:block;
  margin: 4px 0 8px;
  text-decoration: none;
}

.info small {
  color: #fff;
}

/* ========Contact Form 7======== */
.must {
  background: var(--text-red);
  border-radius:4px;
  color:#ff0;
  float: left;
  margin-right:4%;
  padding:.5% 2%;
}

.mailform div table {
  border:none;
  margin:0 auto;
	width:96%;
}

.mailform div th {
  background:none;
  text-align:left;
}

.mailform div th, .mailform div td {
	border-right:none;
	border-bottom:1px dotted #bbb;
	padding:1.5% 0;
}

input, textarea {
	background:#fff;
	border:1px solid #999;
	border-radius:4px;
	box-shadow:1px 1px 2px rgba(0,0,0,.2) inset;
	margin:1% 0;
	padding: 12px;
}

select {
	padding:.5% 1%;
}

input[type="text"],
input[type="tel"],
input[type="email"],
input[type="file"],
textarea {
	width:75%;
}

textarea {
	height:8em;
}

input[type="number"] {
	width:21%;
}

input[type="submit"] {
  appearance: none;
  -webkit-appearance: none;
  background: linear-gradient(#04a, #0d52a2);
	border-radius:6px;
  color: #fff;
  font-size: 20px;
	cursor: pointer;
	outline:none;
	padding: .5% 3%;
}

input[name="kiso"], input[name="secchi"] {
	margin:0;
}

.mailform div th, .mailform div td, .labelStyle label {
	display: block;
}

label {
	cursor:pointer;
}

.mw_wp_form .horizontal-item {
    display: block;
    margin-left:0 !important;
    margin: .5em 0;
}

.mwform-radio-field-text {
  display: inline-block;
}

/* =======================================
    固定ページ・カテゴリページレイアウト
======================================= */
.contentBox {
  background:#fff;
  border:1px solid #ccc;
  clear: both;
  margin:0 0 2.5%;
  overflow: hidden;
}

.posttext {
	padding:1% 3%;
}

.posttext ul {
	margin:2% .5%;
}

.posttext li {
	list-style:inside disc;
	margin-bottom:.3em;
}

/*ページナビ*/
.tablenav {
  clear:both;
  line-height:2em;
  margin:1em auto;
}

.page-numbers, .tablenav .current {
	border:solid 1px #ccc;
	color:#03c;
	padding:.2em .6em;
}

.tablenav .current {
	background:#f2f6fa;
	border-color:#19568a;
	color:#19568a;
}

.tablenav .next, .tablenav .prev {
	background:transparent;
	border:0 none;
	text-decoration:underline;
}
/*ページネーションに表示される「次のページ」を消す*/
.pagination-next-link {
  display: none;
}
/* =======================================
    買取・引取・移設・解体　各ページ
======================================= */
.service-ttl {
  font-size: 20px;
  font-weight: normal;
  letter-spacing: 1px;
  margin: 24px 0 0;
  padding: 8px 16px;
  text-align: center;
}

.service .contentBox {
  padding: 8px 12px;
}

.service > p {
  padding: 0 12px;
}

.service .cardList img {
  margin-bottom: 8px;
}

.heading01 {
    position: relative;
    padding: .5em .7em;
    border-radius: 8px;
    background-color: #00b4d8;
    color: #fff;
}
.heading01::after {
    content: '';
    position: absolute;
    top: 100%;
    left: calc(50% - 10px);
    width: 0;
    height: 0;
    border: 10px solid transparent;
    border-top: 10px solid #00b4d8;
}

.heading02 {
	display: flex;
	justify-content: center;
	align-items: center;
	font-size: 26px;
	text-align: center;
}
.heading02::before,
.heading02::after {
	content: '';
	width: 40px;
	height: 1px;
	background-color: #ccc;
}
.heading02::before {
	margin-right: 12px;
}
.heading02::after {
	margin-left: 12px;
}

.heading03 {
	display: flex;
	justify-content: center;
	align-items: center;
	text-align: center;
}
.heading03::before,
.heading03::after {
	content: '';
	width: 3px;
	height: 20px;
	background-color: #90e0ef;
}
.heading03::before {
	margin-right: 10px;
	transform: rotate(-35deg)
}
.heading03::after {
	margin-left: 10px;
	transform: rotate(35deg)
}

a.service_link {
	display: flex;
  justify-content: space-between;
  align-items: center;
	text-align: center;
	text-decoration: none;
	max-width: 380px;
	margin: auto;
	padding: 8px 24px;
  font-size: 20px;
	font-weight: bold;
	background: #d4eef7;
	color: #09c;
	border-radius: 100vh;
	position: relative;
	transition: 0.5s;
}
a.service_link::before {
	content: '';
	position: absolute;
	top: calc(50% - 2px);
	right: 1em;
	transform: translateY(calc(-50% - 2px)) rotate(45deg);
	width: 10px;
	height: 1px;
	background: #333;
}
a.service_link::after {
	content: '';
	position: absolute;
	top: 50%;
	right: 1em;
	transform: translateY(-50%);
	width: 40px;
	height: 1px;
	background-color: #333;
}
a.service_link:hover {
	background: #fffbcd;
	color: #09c;
}

/* =======================================
    購入ページ
======================================= */
.p-sales .heading03 {
	display: flex;
  font-size: clamp(22px, 2.6vw, 26px);
  font-weight: bold;
	justify-content: center;
	align-items: center;
  margin: clamp(24px, 3vw, 32px) 16px 0;
}

.p-sales .heading03::before,
.p-sales .heading03::after {
	content: '';
	width: 3px;
	height: 30px;
	background-color: #ff98cb;
}

.p-sales .heading03::before {
	margin-right: 16px;
	transform: rotate(-35deg)
}
.p-sales .heading03::after {
	margin-left: 16px;
	transform: rotate(35deg)
}

.sales-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.hanbai-info .tel {
  font-size: clamp(34px, 3vw, 50px);
  font-weight: bold;
}

.hanbai-info .tel::before {
  content:url("https://www.unit-pro.jp/wp/wp-content/themes/unit-pro4/images/bg_tel_sp.png");
  position: relative;
}

.hanbai-info .mail {
  font-size: clamp(22px, 2.6vw, 26px);
  margin-top:8px;
}

.hanbai-info .mail::before {
  content:url("https://www.unit-pro.jp/wp/wp-content/themes/unit-pro4/images/bg_mail_sp.png");
  position: relative;
}

.sales-info div {
  text-align: center;
}

/* =======================================
    事例写真
======================================= */
.photoBox {
  float:left;
  margin:0 1%;
  padding:2% 1%;
  width:46%;
}

.photoBox span {
	display:block;
	overflow: hidden;  
	text-overflow: ellipsis;
	white-space: nowrap;  
}

.infoAll {
  clear:both;
  display:block;
  margin:0 .5em .2em 0;
  text-align:right;
}

/*ギャラリーのスタイル*/
.gallery {
  margin:auto;
}
#gallery-1 .gallery-item {
  margin-right: 16px;
  width: 26% !important;
}
.gallery img {
  border:1px solid #ddd;
}
.gallery .gallery-caption {
  margin-left:0;
}

/* =======================================
    よくある質問
======================================= */
.faq input[type="checkbox"] {
  display:none;
  -webkit-appearance: none;
}

.faq input[type="checkbox"] + div {
  height:0;
  opacity:0;
  overflow:hidden;
  transition:.5s;
}

.faq input[type="checkbox"]:checked + div {
  height:100%;
  margin-bottom: 16px;
  opacity:1;
}

.faq h2 {
  background: #fafafa;
  font-size: 18px;
	font-weight:normal;
  margin-bottom: 8px;
	padding:8px;
}

.faq h2::before {
	content:"Q.";
	margin-right:1%;
}

.faq div {
  padding:0 1% 0 2%;
  transition: all .5s;
}

.faq div::before {
	content:"A.";
}

/* =Responsive Structure
----------------------------------------------- */
@media screen and (min-width: 768px) {
.cardList01-02 {
  grid-template-columns: repeat(2,1fr); 
}

.cardList01-03,
.cardList02-03-04 {
  grid-template-columns: repeat(3,1fr);
}
}

@media screen and (min-width: 992px) {
.section, .service, .p-flow, .p-sales {
	max-width:1000px;
	padding:0 24px;
}
  
.br-sp {
  display: block;
}
  
.br-pc {
  display: none;
}

/* =======================================
    サイド
======================================= */
.side-dm-cat {
  padding: 0 12px 8px;
}

.side-dm-cat li {
  margin-bottom: 12px;
}

.nav-info {
  background: #06b;
  padding: 14px 12px;
}

.nav-info span {
  color: #fff;
  font-size: 22px;
  display: block;
  margin-bottom: 2%;
  text-align: center;
}

.nav-info li {
  margin-bottom: 12px;
}

.widget-sidebar.nav-info p {
  color: #fff;
  font-size: 22px;
  margin-bottom: 8px;
  text-align: center;
}
.widget-sidebar.nav-info img {
  margin-bottom: 12px;
}

/* =======================================
    テンプレート
======================================= */
.alignleft {
	max-width:273px;
	width:45%;
}

.pc-right {
  float: right;
  margin: 0 0 0 2%
}

.marker {
  font-size: 20px;
  font-weight: bold;
}

.marker span {
  font-size: 28px;
}
  
.firstview-box02 {
  margin: 0 auto 16px;
}

  #sbi_images {
    margin-top: 16px !important;
  }

/* 契約までの流れ */
.balloon {
  font-size: 18px;
  height: 56px;
  line-height: 56px;
  top:-10px;
  width: 56px;
}
.triangle {
  height: 20px;
  width: 36px;
}

/* ========テーブル========= */
table {
	border:1px solid #ccc;
}

th, td {
	border-right:1px dotted #ccc;
	border-bottom:1px solid #ccc;
}

th {
	width:26%;
}

thead th {
	border-right:1px dotted #ccc;
}

tbody th {
  width: 28%;
}

th, td, .mailform div th, .mailform div td {
	display:table-cell;
}

.rwdTable th, .rwdTable td {
	padding: 16px;
}

.rwdTable dd {
	margin-left:10em;
}

/* =======================================
    事例写真
======================================= */
.photoBox {
  width:21%;
}

/* ========Contact Form 7======== */
.must {
  padding:1% 4%;
}

.mailform div th {
  width:34%;
}
}

@media screen and (min-width: 1200px) {
.fontsize-m {
  font-size: 22px;
}

/* =======================================
    テンプレート
======================================= */
.section, .service, .p-flow, .p-sales {
	padding:0 32px;
}
.cardList02-03 {
  grid-template-columns: repeat(3,1fr); 
}
.cardList01-04,
.cardList02-04,
.cardList02-03-04 {
  grid-template-columns: repeat(4,1fr); 
}
.sateiin {
  display: flex;
}
.sateiin div:nth-child(1) {
  width: 67%;
}
.sateiin div:nth-child(2) {
  margin-top: auto;
  width: 33%;
}

/* =======================================
    お問い合わせ
======================================= */
.info {
  padding: 0 1% 8px;
}

.info ul {
  display: flex;
}

.info li {
  padding: .5%;
  vertical-align: top;
}

.info li:nth-child(1) {
  flex-basis:  44%;
}

.info li:nth-child(2), .info li:nth-child(3) {
  flex-basis: 28%;
}

.info li a {
  margin: 0;
}

input[type="submit"] {
  font-size: 24px;
}
  
/* =======================================
    買取・引取・移設・解体　各ページ
======================================= */
.service-ttl {
  font-size: 26px;
  margin: 32px 0 16px;
  padding: 8px 16px;
}

.service .contentBox {
  padding: 16px 32px;
}
  
.service > p {
  padding: 0 32px;
}

a.service_link {
	margin: 0;
}
  
.heading02::before,
.heading02::after {
	width: 120px;
}
.heading02::before {
	margin-right: 20px;
}
.heading02::after {
	margin-left: 20px;
}

.heading03::before,
.heading03::after {
	height: 28px;
}
.heading03::before {
	margin-right: 16px;
}
.heading03::after {
	margin-left: 16px;
}

/* =======================================
    購入ページ
======================================= */
.p-sales .heading03 {
	justify-content: left;
}

.sales-info {
  flex-direction: row;
  justify-content: center;
  align-items: flex-start;
}
  
.sales-info div {
  width: calc((100%-32px) / 3);
}
  
.sales-info img {
  width: 90%;
}

.sales-info .staff-illust img {
  max-width: 310px;
}

a[href*="tel:"] {
  pointer-events: none;
  color: var(--text-red);
  cursor: default;
  text-decoration: none;
 }

.hanbai-info .tel {
  line-height: 1.3;
}

.hanbai-info .mail {
  margin-top:0;
}
}
@media screen and (max-width: 1023px) {
/************************************
** ヘッダー
************************************/
.mobile-header-menu-buttons {
  background: #06b;
}
.mobile-header-menu-buttons .menu-button-in {
  color: #fff !important;
}
.mobile-footer-menu-buttons {
  background: #fafafa;
}
}
@media screen and (max-width: 834px) {
/************************************
** ヘッダー
************************************/
.header div.header-in {
  flex-direction: column;
  justify-content: flex-start;
}
.header div.header-in .info {
  display: none;
}
main.main {
  padding: 48px 16px 0;
}
.instagram-timeline-title {
  font-size: 28px;
  height: 28px;
  line-height: 28px;
  padding-left: 44px;
}
.instagram-timeline-title::before {
  width: 32px; 
  height: 32px;
  top: 3px;
}
}
@media screen and (max-width: 640px) {
/************************************
** ヘッダー
************************************/
.mobile-header-menu-buttons .menu-button-in {
  font-size: 19px;
}
/************************************
** パンくずリスト
************************************/
.breadcrumb {
  overflow-x: scroll;
  word-break: keep-all;
  white-space: nowrap;
}
}
@media screen and (max-width: 480px) {
.article h2 {
  font-size: 18px;
  padding: 0.6em 0.8em;
}
}