/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* Add your custom styles here */

body {
	padding:0;
	margin:0;
}

font-family: "Yu Gothic", "游ゴシック体", "YuGothic", sans-serif;


/* ============================= */
/* 改行調整
/* ============================= */
.text-block .br-sp {
  display: inline;
}

@media screen and (min-width: 768px) {
  .text-block .br-sp {
    display: none;
  }
}


/* ============================= */
/* HOME テキスト装飾
/* ============================= */
.text-block .underline {
  position: relative;
  display: inline-block;
}

.text-block .underline::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background-color: #fff;
}


/* ============================= */
/* ボタン装飾
/* ============================= */
.read-more-button .elementor-button {
  position: relative;
}

.read-more-button .elementor-button::after {
  content: "";
  position: absolute;
  right: -1.75rem;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  background-image: url('/wp/wp-content/themes/hello-theme-child-master/img/button-icon.png');
  background-size: cover;
  background-position: center;
}


/* ============================= */
/* 沿革タイムライン
/* ============================= */
.timeline {
  position: relative;
  border-left: 2px solid #ffffff;
}

.timeline::before {
  content: '';
  position: absolute;
  top: 3.5rem;
  left: -0.5rem;
  width: 15px;
  height: 15px;
  background-color: #ffffff;
  border-radius: 50%;
  z-index: 2;
}

@media (max-width: 768px) {

}


/* ============================= */
/* elementor 調整
/* ============================= */
.elementor-element ul {
	padding-left:1rem;
}


/* ============================= */
/* コンタクトフォーム 
/* ============================= */

.wpcf7-form label {
  color: #ffffff;
  margin-bottom: 0.5rem;
  display: block;
}

.wpcf7-form input,
.wpcf7-form select,
.wpcf7-form textarea {
  background-color: rgba(255, 255, 255, 0.1); 
  color: #ffffff;
  border: none;
  border-radius: 10px;
  padding: 1rem;
  width: 100%;
  margin-bottom: 1.5rem;
  box-sizing: border-box;
}

.wpcf7-form ::placeholder {
  color: rgba(255, 255, 255, 0.7);
}

.wpcf7-form .wpcf7-submit {
  background-color: #f9c449;
  color: #000000;
  padding: 1rem 2rem;
  border-radius: 5px;
  border: none;
}

.required-mark {
  color: #f9c449;
  font-size: 0.9em;
  margin-left: 0.2em;
}


/* ============================= */
/* ブログ
/* ============================= */

.blog-archive .wpr-grid-media-wrap {
  aspect-ratio: 4 / 3;
  height: auto !important;
  overflow: hidden;
  position: relative;
}

.blog-archive .wpr-grid-image-wrap {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
}

.blog-archive .wpr-grid-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* 電話番号 */
.tel-style .wpr-pc-btn-icon {
	position:relative;
	top:5px;
}
.tel-style .wpr-pc-btn-icon svg{
	fill: #1BC5A3 !important;
}


/*  */
.office-list p {
  position: relative;
  padding-left: 1.5em;
  margin-bottom: 1em;
}

.office-list p::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 0.75em;
  height: 0.75em;
  background-color: #FF9275;
  border-radius: 50%;
}



/* ============================= */
/* Gutenberg
/* ============================= */

.wpr-post-content p {
  margin-bottom: 2em;
}

.wp-block-heading {
	margin:3.5rem 0 2rem 0;
	line-height:1.5;
}

@media screen and (max-width: 768px) {
	.wpr-post-content p {
  margin-bottom: 1.5em;
}

	.wp-block-heading {
	margin:3rem 0 1.5rem 0;
}

}

h2.wp-block-heading {
  font-size: 28px;
}
h3.wp-block-heading {
  font-size: 24px;
}
h4.wp-block-heading {
  font-size: 20px;
}
h5.wp-block-heading {
  font-size: 18px;
}

@media screen and (max-width: 768px) {
  h2.wp-block-heading,
  h3.wp-block-heading {
    font-size: 18px;
  }
  h4.wp-block-heading,
  h5.wp-block-heading {
    font-size: 16px;
  }
}

.wp-block-list ul {
  list-style-type: disc;
  padding-left: 1.5em;
}

.wp-block-list li {
	margin-bottom:0.5rem;
}

.elementor-widget-wpr-post-content .wp-block-image {
  margin-top: 2rem !important;
  margin-bottom: 2rem !important;
}

@media screen and (max-width: 768px) {
	  margin-top: 1.5rem !important;
  margin-bottom: 1.5rem !important;
}

.elementor-widget-wpr-post-content .wp-block-image img {
  display: block;
  margin-left: auto;
  margin-right: auto;
}
