

.navbar.bg-dark{
    background-color: rgba(255,255,255,0.5) !important;
}

.carousel,
.carousel-inner,
.carousel-item{
    height: 100vh;
}
.carousel-caption{
    bottom: auto;
    top: 50%;
  	transform: translateY(-50%);
}

.section{
    padding: 45px 0;
}
@media (min-width: 992px) {
    .section{
        padding: 75px 0;
    }
}
@media (min-width: 1200px) {
    .section{
        padding: 105px 0;
    }
}


.section2{
    padding: 25px 0;
}
@media (min-width: 992px) {
    .section2{
        padding: 45px 0;
    }
}
@media (min-width: 1200px) {
    .section2{
        padding: 65px 0;
    }
}


.section3{
    padding: 10px 0;
}
@media (min-width: 992px) {
    .section3{
        padding: 25px 0;
    }
}
@media (min-width: 1200px) {
    .section3{
        padding: 45px 0;
    }
}


.service-icon [class*=fa-]{
    width: 90px;
    height: 90px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    border-radius: 50%;
    background-color: #14CFA0;
}

.clients img{
    max-width: 150px;
}

.newsletter form{
    max-width: 700px;
}

@media (min-width: 992px) {
    footer .nav{
        max-width: 140px;
    }
}

.up-img {
  cursor: pointer;
  max-width: 500px;
  overflow: hidden;
  width: 100%;
}
.up-img img {
  height: auto;
  transition: transform .6s ease; /* ゆっくり変化させる */
}
.up-img:hover img {
  transform: scale(1.1); /* 拡大 */
}

/*感謝の声のタイトルの横に画像*/
.voice1_title:before {
  position: relative;
  vertical-align: middle;
  margin: 0 15px 0 0;
  content: url("../img/voice01.png");
}

.voice2_title:before {
  position: relative;
  vertical-align: middle;
  margin: 0 15px 0 0;
  content: url("../img/voice02.png");
}

.voice3_title:before {
  position: relative;
  vertical-align: middle;
  margin: 0 15px 0 0;
  content: url("../img/voice03.png");
}


/*不動産獲得LP用*/

.font-14_r {
  font-size: 14px !important;
	line-height: 18px !important;
	color:#FF0000 !important;
}
.font-15_w {
  font-size: 15px !important;
	line-height: 24px !important;
	color:#ffffff !important;
}

.font-16_w {
  font-size: 16px !important;
	line-height: 24px !important;
	color:#ffffff !important;
}

.font-18 {
  font-size: 18px !important;
	line-height: 26px !important;
}

.font-20 {
  font-size: 20px !important;
	line-height: 35px !important;
}

.font-20_w {
  font-size: 20px !important;
	line-height: 35px !important;
	color:#ffffff !important;
}

.font-24_w_top {
  font-size: 24px !important;
	line-height: 24px !important;
	color:#ffffff !important;
}
.font-21_w_top {
  font-size: 21px !important;
	line-height: 21px !important;
	color:#ffffff !important;
}
.font-22_w_top {
  font-size: 22px !important;
	line-height: 22px !important;
	color:#ffffff !important;
}


.font-28 {
  font-size: 24px !important;
	line-height: 32px !important;
}


.font-28_w {
  font-size: 24px !important;
	line-height: 40px !important;
	color:#ffffff !important;
}

.font-28_blue {
  font-size: 28px !important;
	line-height: 40px !important;
			color:#008FD6 !important;
}

.font-32 {
  font-size: 32px !important;
	line-height: 48px !important;
}

.font-35 {
  font-size: 35px !important;
	line-height: 50px !important;
}

.font-35_blue {
  font-size: 35px !important;
	line-height: 50px !important;
			color:#008FD6 !important;
}

.font-65_blue {
  font-size: 65px !important;
	line-height: 100px !important;
			color:#008FD6 !important;
}

.bg-contact {
  background-color: #FFFACA !important;
}

.bg-top {
  background-color: #3B8ECD !important;
}


.f_bk {
  background-image: url("../img/rougo/f_bk.png");
  background-position: center center;
  background-repeat: repeat;
  background-size: auto;
  background-attachment: fixed;
}


/* 画面横のバナーとスマホバナー */

.floating-banner {
    position: fixed;
    z-index: 99999;
    top: 355px;
    right: 0px;
}
.pc {
    width: 70px;
    height: auto;
}
.floating-banner:hover {
    opacity: .8;
}
.sp {
    display: none;
}

@media screen and (max-width: 750px) {
.pc {
    display: none;
}
}

@media screen and (max-width: 560px) {
.sp {
    display: inline;
    width: 100vw;
}
.floating-banner {
    top: unset;
    right: 0;
    bottom: 0;
}
}

.floating-banner2 {
    position: fixed;
    z-index: 99999;
    top: 100px;
    right: 0px;
}
.pc {
    width: 70px;
    height: auto;
}
.floating-banner2:hover {
    opacity: .8;
}
.sp {
    display: none;
}

@media screen and (max-width: 750px) {
.pc2 {
    display: none;
}
}

@media screen and (max-width: 560px) {
.sp {
    display: inline;
    width: 100vw;
}
.floating-banner {
    top: unset;
    right: 0;
    bottom: 0;
}
}


/*メニューをページ下部にお問い合わせボタン固定*/
#sp-fixed-menu {
    position: fixed;
    width: 100%;
    bottom: 0px;
    font-size: 0;
    opacity: 0.9;
    z-index: 99;
}
/*メニューを横並びにする*/
#sp-fixed-menu ul {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
    width: 100%;
}
#sp-fixed-menu li {
    justify-content: center;
    align-items: center;
    width: 50%;
    padding: 0;
    margin: 0;
    font-size: 14px;
    border-right: 1px solid #fff;
}
/*左側メニューを緑色に*/
#sp-fixed-menu li:first-child {
    background: #0071BC;
}
/*左側メニューをオレンジ色に*/
#sp-fixed-menu li:last-child {
    background: #8CC63F;
}
/*ボタンを調整*/
#sp-fixed-menu li a {
    color: #fff;
    text-align: center;
    display: block;
    width: 100%;
    padding: 20px;
}

@media (min-width: 768px) {
.for-sp {
    display: none;
}
}
/*PCで無効*/
.pc_hid {
    display: none;
}

/*スマートフォンで有効*/
@media screen and (max-width:768px) {
.pc_hid {
    display: block;
}
}

/*テーブルの配置*/
.tableSample {
    width: 100%;
    border-collapse: collapse;
}
.tableSample th, td {
    padding: 10px 15px;
    border: 1px solid #ddd;
}
.tableSample th {
    background: #f4f4f4;
    width: 25%;
    text-align: left;
}

.tableSample_pr {
    width: 100%;
    border-collapse: collapse;
}
.tableSample_pr th, td {
    padding: 10px 15px;
    border: 1px solid #ddd;
}
.tableSample_pr th {
    background: #f4f4f4;
    width: 15%;
    text-align: left;
}



@media only screen and (max-width:650px) {
.tableSample th, td {
    width: auto;
    display: block;
    border-top: none;
}
.tableSample tr:first-child {
    border-top: 1px solid #d5d5d5;
}
	
.tableSample_pr th, td {
    width: auto;
    display: block;
    border-top: none;
}
.tableSample_pr tr:first-child {
    border-top: 1px solid #d5d5d5;
}
}


.map {
    width: 100%;
    position: relative;
    padding-top: 56.25%;
}
.map iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/*お知らせ、ブログ、社長ブログバッチ*/
.oshirase-badge, .blog-badge, .top_blog-badge {
  padding: 2px 2px;
  margin-right: 4px;
  margin-left: 1px;
  font-size: 55%;
  color: white;
  border-radius: 3px;
  box-shadow: 0 0 3px #ddd;
  white-space: nowrap;
}

.blog-badge {
  background-color: #e08517; /*青*/
}

.oshirase-badge {
  background-color: #58ACFA; /*緑*/
}

.top_blog-badge {
  background-color: #666666; /*緑*/
}
	
.left, .right {
  display: inline-block;
}

.frame {
  display: flex;
  justify-content: space-between;
}

/*お知らせページ、ブログページバッチ*/

.oshirase-badge2, .blog-badge2 {
  padding: 3px 6px;
  margin-right: 8px;
  margin-left: 1px;
  font-size: 75%;
  color: white;
  border-radius: 6px;
  box-shadow: 0 0 3px #ddd;
  white-space: nowrap;
}

.blog-badge2 {
  background-color: #04B404; /*青*/
}

.oshirase-badge2 {
  background-color: #58ACFA; /*緑*/
}

/*フォーム関連*/
form input, form select {
    border: 1px solid #ccc;
    padding: 10px;
}
form button {
    margin: 10px;
    padding: 5px;
    width: 120px;
}
.parsley-errors-list {
    color: red;
}
.parsley-error, .bs-callout-warning {
    background: #ffe4e4 !important;
}
.parsley-success, .bs-callout-info {
    background: #d5f7d5 !important;
}
.bs-callout {
    margin: 20px 0;
    padding: 20px;
}
.hidden {
    display: none !important;
    visibility: hidden !important;
}

.button {
    display : inline-block;
    font-size : 16pt;        /* 文字サイズ */
    text-align : center;      /* 文字位置   */
    cursor : pointer;     /* カーソル   */
    padding : 24px 100px;   /* 余白       */
    background : #4da6ff;     /* 背景色     */
    color : #ffffff;     /* 文字色     */
    line-height : 1em;         /* 1行の高さ  */
    transition : .3s;         /* なめらか変化 */
    border : 2px solid #4da6ff;    /* 枠の指定 */
}
.button:hover {
    color : #4da6ff;     /* 背景色     */
    background : #ffffff;     /* 文字色     */
}
.br-sp {
    display: none;
}

@media screen and (max-width: 1080px) {
.br-pc {
    display: none;
}
.br-sp {
    display: inline-block;
}
}
.box1 {
    padding: 0.5em 1em;
    margin: 2em 0;
    border: solid 1px #cccccc;
}


.guideline_button {
  display: block;
  background: #5781B5;
  width: 100%;
  padding: 1rem;
  border-radius: .6rem;
  color: #636363;
  text-align: center;
  text-decoration: none;
  letter-spacing: .1rem;
  transition: .5s;
}

.guideline_button:hover {
  background: #2869AF;
  color: #636363;
}


/* モーダルのスタイル */
.modal {
  display: none;
  position: fixed;
  z-index: 1;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgb(0,0,0);
  background-color: rgba(0,0,0,0.9);
  align-items: center;
  justify-content: center;
  animation: modalFadeIn 0.3s;
}

.modal img {
  max-width: 90%;  /* 画像の最大幅を親要素(modal)の90%に制限し、画面内に収まるようにする */
  max-height: 100vh;  /* 画像の最大高さをビューポートの高さ(100vh)に制限し、画面内に収まるようにする  */
  object-fit: contain;  /* 画像の比率を保持しつつ、指定された高さと幅に収める */
}

.clickable-image:hover {
  cursor: zoom-in;  /* ホバー時にカーソルをズームインのアイコンに変更 */
}

.modal img:hover {
  cursor: zoom-out;  /* モーダル内の画像にホバー時にカーソルをズームアウトのアイコンに変更 */
}

@keyframes modalFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes modalFadeOut {
  from { opacity: 1; }
  to { opacity: 0; }
}

textarea {
width:100%;
}