/*
Theme Name:     Divi Child
Theme URI:      https://www.elegantthemes.com/gallery/divi/
Description:    Divi Child Theme
Author:         Elegant Themes
Author URI:     https://www.elegantthemes.com
Template:       Divi
Version:        1.0.0
*/

/* =Theme customization starts here
------------------------------------------------------- */



/* -------------------------------------------------------
	Common Style
------------------------------------------------------- */

/* All */
a {
	overflow-wrap: break-word !important;
	word-wrap: break-word !important;
/* 	word-break: break-all !important; */
}
span.red-text {
	color: #da0a17;
}
span.bold-text {
	font-weight: bold;
}

/* Post Common Style */
.wp-element-caption {
	text-align: left !important;
}

/* Call NowButton */
.call-now-button {
	transition: .3s ease-in-out !important;
}
.call-now-button:hover {
	transform: translateY(-.5rem) !important;
	transition: .3s ease-in-out !important;
}

/* Main Area */
#main-content .et_pb_section:first-child {
	margin-top: 5rem !important;
}

/* Table Area */
.horizontal-scroll-table-wrapper {
	overflow-x: auto;
	border-radius: 0.5rem;
}
.horizontal-scroll-table-wrapper table {
	border-collapse: collapse;
	width: 100%;
}
.horizontal-scroll-table-wrapper th,
.horizontal-scroll-table-wrapper td {
	border: 1px solid #fff;
	padding: 0.5rem 1rem;
	text-align: center;
	white-space: nowrap;
}
.horizontal-scroll-table-wrapper th {
	left: 0;
	z-index: 1;
	line-height: 1.4;
	background-color: #da0a17;
	color: #fff;
}
.horizontal-scroll-table-wrapper th:first-child {
	z-index: 2;
}
.horizontal-scroll-table-wrapper th span {
	display: block;
}
.horizontal-scroll-table-wrapper tbody tr:nth-child(odd) {
	background-color: rgba(218, 10, 24, 0.1);
}
.horizontal-scroll-table-wrapper tbody tr:nth-child(even) {
	background-color: rgba(218, 10, 24, 0.2);
}
.horizontal-scroll-table-wrapper tbody th {
	left: 0;
}
.horizontal-scroll-table-wrapper.sticky-cell thead th,
.horizontal-scroll-table-wrapper.sticky-cell tbody th {
	position: sticky;
}

/* CF7 Coomon */
.wpcf7-form {
  width: 100%;
  max-width: 640px;
  margin: 0 auto;
  background: #ffffff;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}
.wpcf7-form-control-wrap:not([data-name="privacy-policy-agreement"]) {
  width: 100%;
}
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="url"],
.wpcf7 input[type="tel"],
.wpcf7 input[type="number"],
.wpcf7 textarea,
.wpcf7 select {
  display: block;
  width: 100%;
  padding: 10px 15px;
  border: 1px solid #cccccc;
  border-radius: 4px;
  font-size: 16px;
  background: #f9f9f9;
  transition: border-color 0.3s ease;
  box-sizing: border-box;
}
.wpcf7 input[type="text"]:focus,
.wpcf7 input[type="email"]:focus,
.wpcf7 input[type="url"]:focus,
.wpcf7 input[type="tel"]:focus,
.wpcf7 input[type="number"]:focus,
.wpcf7 textarea:focus,
.wpcf7 select:focus {
  border-color: #0073aa;
  outline: none;
  background: #ffffff;
}
.wpcf7 .privacy-policy {
  text-align: center;
  font-size: 14px;
}
.wpcf7 input.wpcf7-submit {
  display: block;
  padding: 12px 30px;
  background: #0073aa;
  color: #ffffff;
  font-size: 16px;
  font-weight: bold;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.3s ease;
  margin: 0 auto;
}
.wpcf7 input.wpcf7-submit:hover {
  background: #005177;
}
.wpcf7-spinner {
  display: none !important;
}

/* CF7 Common Style */
.wpcf7-form.sent>p {
	display: none !important;
}

/* CF7 Response Output Style */
.wpcf7-form.invalid .wpcf7-response-output,
.wpcf7-form.unaccepted .wpcf7-response-output,
.wpcf7-form.failed .wpcf7-response-output,
.wpcf7-form.aborted .wpcf7-response-output,
.wpcf7-form.spam .wpcf7-response-output,
.wpcf7-form.sent .wpcf7-response-output {
	margin-top: 2rem !important;
	border: .1rem solid #da0a17 !important;
	border-radius: .3rem !important;
	text-align: center !important;
	font-weight: bold !important;
	color: #da0a17 !important;
}
.wpcf7-not-valid-tip {
	color: #da0a17 !important;
	font-size: .8rem !important;
	font-weight: bold !important;
}

/* Document Download Button Style */
.link-template-default {
	border: none !important;
}
.link-template-default .media {
	display: flex !important;
	justify-content: center !important;
}
.link-template-default .media>div:not(:last-child) {
	display: none !important;
}
.link-template-default .media>div:last-child {
	margin: 0 !important;
}

/* Document Download Button Action */
.dvppl_cf7_styler+.doc-dl-btn-box {
	display: none !important;
}
.dvppl_cf7_styler:has(.wpcf7-form.sent)+.doc-dl-btn-box {
	display: block !important;
}


/* -------------------------------------------------------
	Header Style
------------------------------------------------------- */

/* Header Menu Adjustment */
#header-left-column {
	width: 12rem !important;
}
#header-center-column {
	width: calc(100% - 15rem) !important;
}
#header-right-column {
	width: 3rem !important;
}
@media screen and (max-width: 980px) {
  #header-left-column {
    margin-right: auto !important;
  }
  #header-right-column {
    margin-left: auto !important;
  }
}

/* Header Menu Drawer　Button */
.drawer-menu-button {
	width: 3rem;
	height: 3rem;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	border: 1px solid #da0a17;
	border-radius: 50%;
	cursor: pointer;
	transition: .3s ease-in-out;
	gap: .2rem;
}
.drawer-menu-button:hover {
	background-color: #da0a17;
	transition: .3s ease-in-out;
}
.drawer-menu-button .line {
	width: 40%;
	height: 2px;
	border-radius: 1rem;
	background-color: #da0a17;
	transition: .3s ease-in-out;
}
.drawer-menu-button:hover .line {
	background-color: #fff;
	transition: .3s ease-in-out;
}
.drawer-menu-button.open {
	background-color: unset !important;
	border: unset !important;
}
.drawer-menu-button.open .line {
	background-color: #fff;
}
.drawer-menu-button.open .line-1 {
	transform: rotate(45deg) translate(.3rem, .15rem);
}
.drawer-menu-button.open .line-2 {
	opacity: 0;
}
.drawer-menu-button.open .line-3 {
	transform: rotate(-45deg) translate(.3rem, -.15rem);
}

/* Header Menu Drawer　List */
.drawer-menu-container {
	overflow-y: scroll;
	visibility: hidden;
	opacity: 0;
}
.drawer-menu-container.slide-in-menu {
	visibility: visible !important;
	opacity: 1 !important;
	transition: .5s ease-in-out !important;
}
.drawer-menu-list-box {
  margin: 0 auto;
  padding: 0 0 1rem 0 !important;
  width: 100%;
  max-width: 20rem;
}
.drawer-menu-list-box > li:not(:last-child) {
  border-bottom: 1px dotted #fff;
}
.drawer-menu-list-box > li > a {
  padding: 1rem 0;
  display: block;
  transition: 0.3s ease-in-out;
}
.drawer-menu-list-box > li > a:not([href]) {
  font-weight: bold;
}
.drawer-menu-list-box > li > a:not([href])::before,
.drawer-menu-list-box > li > a:not([href])::after {
  content: "-";
  margin: 0 .5rem;
}
.drawer-menu-list-box > li > a[href]:hover,
.drawer-menu-list-box > li > ul > li > a:hover{
  background-color: rgba(255, 255, 255, 0.2);
  transition: 0.3s ease-in-out;
}
.drawer-menu-list-box > li > ul > li > a {
  padding: 0.5rem 0;
  display: block;
  transition: 0.3s ease-in-out;
}


/* -------------------------------------------------------
	Footer Style
------------------------------------------------------- */

/* SNS Icon List */
.sns-icon-list {
  padding: 0 !important;
  display: flex !important;
  justify-content: center !important;
  column-gap: 2rem !important;
}
.sns-icon-list li:hover {
  animation:rumble 0.1s linear infinite !important;
}
@keyframes rumble {
    0%   { transform:translate(0, 0) rotate(0); }
    25%  { transform:translate(2px, 0) rotate(-2deg); }
    50%  { transform:translate(0, -2px) rotate(0); }
    75%  { transform:translate(-2px, 0) rotate(2deg); }
    100% { transform:translate(0, 2px) rotate(0); }
}

/* Footer Navi List */
.footer-navi-list>li>a {
  font-size: 1rem !important;
  display: inline-block !important;
}
.footer-navi-list>li>a[href] {
  margin-bottom: .5rem !important;
}
.footer-navi-list>li>a[href]::after {
  content: "\f0a9" !important;
  margin-left: .5rem !important;
  display: inline-block !important;
  font-family: "Font Awesome 6 Free" !important;
  font-weight: 900 !important;
  transform: scale(1.6) !important;
  transition: .3s ease-in-out !important;
}
.footer-navi-list>li>a[href]:hover::after {
  transform: scale(1.6) translateX(.5rem) !important;
  transition: .3s ease-in-out !important;
}
.footer-navi-list>li>ul>li>a::before {
  content: "\f105" !important;
  margin: 0 .5rem 0 -.5rem !important;
  display: inline-block !important;
  font-family: "Font Awesome 6 Free" !important;
  font-weight: 900 !important;
  transition: .3s ease-in-out !important;
}
.footer-navi-list>li>ul>li>a:hover::before {
  padding-right: .5rem !important;
  transition: .3s ease-in-out !important;
}
.footer-document-list {
  padding: 0 !important;
}
.footer-document-list li {
  border-top: 1px dotted #fff !important;
  text-indent: .5rem !important;
}
.footer-document-list li:last-child {
  border-top: 1px dotted #fff !important;
  border-bottom: 1px dotted #fff !important;
}
.footer-document-list li a {
  padding: 1rem !important;
  display: block !important;
  transition: .3s ease-in-out !important;
}
.footer-document-list li a:hover {
  background-color: rgba(255,255,255,0.2) !important;
  transition: .3s ease-in-out !important;
}
.footer-document-list li:first-child a:before,
.footer-document-list li:last-child a:before{
  margin: 0 1rem 0 -1rem !important;
  display: inline-block !important;
  font-family: "Font Awesome 6 Free" !important;
  font-weight: 900 !important;
  transition: .3s ease-in-out !important;
}
.footer-document-list li:first-child a:before {
  content: "\f518" !important;
}
.footer-document-list li:last-child a:before {
  content: "\f1d8" !important;
}