@charset "utf-8";

header {
    padding: 20px;
}

main {
    display: block;
}

body {
    overflow-wrap: anywhere;
	font-family: YakuHanJP, 'Noto Sans JP', "ヒラギノ角ゴ ProN W3", "Hiragino Kaku Gothic ProN", "メイリオ", Meiryo, "MS Pゴシック", sans-serif;
}

p {
    line-height: 1.5;
    margin: 0 0 1.5rem;
}

h2, h3 {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: max(2rem, 20px);
    font-weight: 700;
    margin: 20px ;
}

ul, ol, li {
    list-style: none;
    box-sizing: border-box;
}

footer {
    text-align: center;
    color: #ffffff;
    background: #005dae;
    padding: 2rem 0;
    font-size: 100%;
    position: relative;
}

footer::before {
    content: "";
    background: url("https://www.hirosima.co.jp/realestate/promotion/mujin/img/footer-illust.png") no-repeat center bottom;
    position: absolute;
    width: 100%;
    height: 3.5rem;
    top: -3.5rem;
    left: calc(50% - 50%);
}

.content {
    padding: 0 10%;
    list-style: none;
}

.pc-only {
    display: block;
}

.sp-only {
    display: none;
}

.accent {
    position: relative;
    display: inline-block;
    text-shadow: 0 0 2px white;
    z-index: 10;
    margin: 3.5rem 10% 2rem;
}

.accent::before {
    content: "";
    position: absolute;
    background: #ffd69d;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    top: 50%;
    left: 10%;
    -webkit-transform: translate(-50%,-50%);
    transform: translate(-50%,-50%);
    z-index: -1;
}

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

	.sp-only {
		display: block;
	}
	.header_logo img {
		max-width: 100%
	}

}

@media screen and (min-width: 768px) {
  a[href^="tel:"] {
    pointer-events: none; /* クリックを無効にする */
  }
}

/*TOP section*/

.TOP{
    position: relative;
    width: 100%;
}

.TOP p{
    position: absolute;
    top: 50%;
    left: 50%;
    -ms-transform: translate(-50%,-50%);/*ベンダープレフィックス*/
    -webkit-transform: translate(-50%,-50%);/*ベンダープレフィックス*/
    transform: translate(-50%,-50%);/*センター寄せの修正*/
    color: #ffffff;
    font-size: 1.8rem;
    margin: 0!important;/*文字がずれている場合や*/
    padding: 0!important;/*文字が折り返される場合*/
}

.TOP img {
    width: 100%;
}

/*attention section*/
.attention .attention-inner {
    width: 100%;
    background: #d4e4f1;
    display: inline-block;
}

.attention .attention-inner h2 {
    font-size: 1.5em;
    background: #ffffff;
    padding: 0.5em;
    text-align: center;
    display: block;
    margin: 1.5rem 10%;
}

.attention .attention-inner ul {
    display: flex;
    row-gap: 4rem;
    margin: 2.5rem 10% 1.5rem;
    list-style: none;
}

.attention .attention-inner ul li {
    position: relative;
    padding: 0 2.5rem;
    -moz-column-gap: 1.5rem;
    column-gap: 1.5rem;
    z-index: 10;
}

.attention .attention-inner ul img {
        width: 100%;
    }

.attention .attention-inner ul li p {
    display: block;
    margin: 0 0 1.5rem;
    text-align: justify;
    font-size: 1.2rem;
}

@media screen and (max-width:768px) {
    .attention .attention-inner ul{
        display: grid;
        justify-items: center;
        gap: 0;
        margin: 1.5rem 0;
    }
    
    .attention .attention-inner ul li {
        padding: 0 2.5rem 1.5rem;
    }

}
/*attention content*/

.attention-cont {
    width: 100%;
    background: #ffffff;
    margin: 0 0 2.5rem;
}

.attention-cont ul {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    margin: 2em 0 0;
}

.attention-cont ul li {
}

.attention .attention-cont ul li {
    position: relative;
    margin: 0 10%;
    width: calc(45% / 2);

}

.attention .attention-cont ul li dl {
    display: inline-block;
}

.attention .attention-cont ul li dl dt {
    width: 100%;
    position: relative;
}

.attention .attention-cont ul li dl dd {
    position: absolute;
    top: 46%;
    left: 50%;
    -ms-transform: translate(-50%,-50%);/*ベンダープレフィックス*/
    -webkit-transform: translate(-50%,-50%);/*ベンダープレフィックス*/
    transform: translate(-50%,-50%);/*センター寄せの修正*/
    color: #005bac;
    font-size: 1.25rem;
    margin: 0!important;/*文字がずれている場合や*/
    padding: 0!important;/*文字が折り返される場合*/
    width: 70%;
}

.attention .attention-cont ul li:nth-child(1) dl dd, .attention .attention-cont ul li:nth-child(2) dl dd {
    top: 43%;
}

.attention .attention-cont ul li dl dd p {
    font-size: 1.05rem;
    margin: 0;
    font-weight: 700;
}

.attention-cont .attention-message p {
    font-size: 2.7rem;
    font-weight: 700;
    text-align: center;
    margin: 2.5rem 10%;
}

.attention-cont .attention-message p::after,
.attention-cont .attention-message p::before {
    font-size: 2.5rem;
    font-weight: 900;
    margin: 1.5rem;
}

.attention-cont .attention-message p::after {
    content: " ／";
}

.attention-cont .attention-message p::before {
    content: "＼ ";
}

.attention-cont ul li dl dt img {
    width: 100%;
}

.attention-cont .attention-img {
    text-align: center;
}

.attention-cont .attention-img img {
    max-height: 200px;
    display: block;
    margin: auto;
}

@media screen and (max-width:768px) {
    .attention .attention-cont ul li {
        width: 100%;
        margin: 0 10%;
    }
    .attention-cont .attention-message p {
        font-size: 2.1rem;
    }
    .attention-cont .attention-message p::after,
    .attention-cont .attention-message p::before {
        position: absolute;
        margin: 0;
    }
    .attention-cont .attention-message p::after {
        right: 0;
        transform: translate(-20%, -50%);
    }

    .attention-cont .attention-message p::before {
        left: 0;
        transform: translate(20%, 50%);
    }
    .attention-cont img {
        width: 100%;
        height: auto;
    }
    
    .attention-cont .attention-img img {
        max-height: 50%;
        max-width: 50%;
    }
}

/*reserv section*/

.reserv-flow{
    width: 100%;
    background: #cbcccc;    
}

.reserv-inner {
    padding-top: 1.5rem;
    padding-bottom: 3.5rem;
}

.reserv-inner ul {
    display: grid;
    row-gap: 4rem;
    margin-top: 2.5rem;
    list-style: none;
}

.reserv-inner li {
    position: relative;
    padding: 0 2.5rem;
    -moz-column-gap: 1.5rem;
    column-gap: 1.5rem;
    background: #ffffff;
    border: 2px solid #005bac;
    z-index: 10;
}

.reserv-inner li::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translate(-50%, 10%) rotate(45deg);
    height: 5rem;
    aspect-ratio: 1 / 1;
    background: #005bac;
    z-index: -1;
}

.reserv-inner li:last-child::after {
    display: none;
}

.reserv-inner ul li dl {
    display: flex;
    align-items: center;
	justify-content: space-between;
    background: #ffffff;
    z-index: 100;
    gap: 5rem;
}

.reserv-inner ul li dl dt {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.reserv-inner ul li dl dt .step {
    position: absolute;
    display: inline-block;
    top: -2px;
    left: -2px;
    padding: 0.3rem 1.5rem;
    background: #005bac;
    color: #ffffff;
    font-size: max(1.5rem, 30px);
    font-weight: 700;
    line-height: 1;
    text-align: center;
}

.reserv-inner ul li dl .flow-text {
	width: 80%;
}

.reserv-inner ul li dl dt .step span {
    display: block;
    font-size: max(1.2rem, 20px);
}

.reserv-inner ul li dl .reserv-img {
    flex: 1;
    text-align: center;
    width: 15rem;
}

.reserv-inner ul li dl .reserv-img img {
    width: auto;
    max-height: 150px;
    margin: 1.5rem;
}

.reserv-inner ul li dd h3 {
    margin-left: 0;
    color: #005bac;
}

.reserv-inner ul li dd p {
    font-size: 1.05em;
    text-align: justify;
}

.reserv-inner ul li dd p a {
	text-decoration: none
}

@media screen and (max-width:768px) {
        .reserv-inner ul li{
        padding: 0 30px;
        }

        .reserv-inner ul li::after {
            height: 50px;
            bottom: -15px;
        }
        .reserv-inner ul li dl {
            display: grid;
            justify-items: center;
            gap: 0;
            margin: 1.5rem 0 0 0;
        }
        .reserv-inner ul li dd p ,.reserv-inner ul li dd img{
            padding: 0 0 1.5rem 0;
        }
        .reserv-inner ul li dd h3 {
            margin: 3.5rem 0 1.5rem 0;
            font-size: 1.75em;
        }
        .reserv-inner ul li dl .reserv-img img {
            max-height: 50%;
            max-width: 100%;
            margin: 0;
        }
}

@media screen and (max-width:1023px) {
		.reserv-inner ul li dl .flow-text {
		width: 100%;
		}
}
	

/*realestate section*/
.realestate{
    width: 100%;
    background: #d4e4f1;
}

.realestate-cart {
    padding: 0 10%;
    padding-top: 1.5rem;
    padding-bottom: 3.5rem;
}

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

.column3 .estate-desc {
    width : calc(95% / 3) ;
} 

.estate-desc {
    padding-left: 0;
    margin-top: 20px;
    margin-bottom: 20px;
    shape-margin: 0.75rem;

}

.estate-desc {
    background: #ffffff;
    text-align: center;
    border-right: 2px solid #e2e2e2;
}

.estate-desc img {
    width: 100%;
    shape-margin: 0.75rem;
}

.estate-desc .estate-inner {
    line-height: 1.5;
    padding: 1.5rem 1rem;
}

.estate-inner .realestate-ttl {
    font-size: 1.05em;
    font-weight: 500;
    margin: 0;
}

.estate-inner .realestate-sub {
    font-size: 0.85em;
}

.estate-inner ul {
    display: block;
    margin: 1.5rem 1.5rem 0;
}

.estate-inner .realestate-cta li {
    background: #ffffff;
    border: 1px solid #005bac;
    border-radius: 10px;    
}

.estate-inner .realestate-cta a {
    display: block;
    text-decoration: none;
    color: #000;
    line-height: 1rem;
    font-weight: 500;
    padding: 0.5rem;
	text-align: center;
}

.estate-inner .realestate-cta li:nth-child(2) {
    background: #005bac;
    margin: 0.9rem 0 0;
    transition: all 0.2s 0s ease-in;
}

.estate-inner .realestate-cta li:nth-child(2) a {
    color: #ffffff;
}

.estate-inner .realestate-cta li:hover {
    background: #ffffff;
}

.estate-inner .realestate-cta li:hover a {
    color: #005bac;
}

/*.estate-inner  .realestate-cta li:nth-child(2):hover {
    background: #ffffff;
}

.estate-inner  .realestate-cta li:nth-child(2):hover a{
    color: #005bac;
}*/

@media screen and (max-width:786px) {
    .realestate-cart .realestate-cta a {
        padding: 0.5rem;
    }
	
	.estate-desc {
    border-right: 0;
	}

}

/*estate-slider*/

.realestate-dots
{
    position: absolute;
    bottom: -25px;

    display: block;

    width: 100%;
    padding: 0;
    margin: 0;

    list-style: none;

    text-align: center;
}
.realestate-dots li
{
    position: relative;

    display: inline-block;

    width: 20px;
    height: 20px;
    margin: 0 5px;
    padding: 0;

    cursor: pointer;
}
.realestate-dots li button
{
    font-size: 0;
    line-height: 0;

    display: block;

    width: 20px;
    height: 20px;
    padding: 5px;

    cursor: pointer;

    color: transparent;
    border: 0;
    outline: none;
    background: transparent;
}
.realestate-dots li button:hover,
.realestate-dots li button:focus
{
    outline: none;
}
.realestate-dots li button:hover:before,
.realestate-dots li button:focus:before
{
    opacity: 1;
}
.realestate-dots li button:before
{
    font-family: 'slick';
    font-size: 30px;
    line-height: 20px;

    position: absolute;
    top: 0;
    left: 0;

    width: 20px;
    height: 20px;

    content: '•';
    text-align: center;

    opacity: .25;
    color: black;

    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
.realestate-dots li.slick-active button:before
{
    opacity: .75;
    color: black;
}


/*slider section*/
.slick {
    width: 100%;
    margin: 0 auto 80px;
    padding: 40px 0;
}

.slick img {
    display: flex;
    align-items: center;
    justify-content: center;
    width: auto;
    height: 571px;
    aspect-ratio: 397 / 571;
    text-align: center;
    color: #ffffff;
    font-size: 32px;
    font-weight: bold;
    margin: auto;
}

.slick-dots li button:before {
    font-size: 30px;
}

.slick-prev {
	margin-left: 10%;
}

.slick-next {
	margin-right: 10%;
}

.slick-prev.slick-disabled:before, .slick-next.slick-disabled:before {
	opacity: 0;
}

@media screen and (max-width:768px) {

    .column3{
        /*display: block;*/
    }

    .column3 .estate-desc {
        width : 100% ;
    }

    .slick img {
        width: 100%;
        height: auto;
    }

}

/*important usage section*/

.important-usage .important-usage-inner {
    padding-top: 1.5rem;
    padding-bottom: 3.5rem;

}

.important-usage .important-usage-inner ul {
    margin: 1.5rem 10%;
    background: #d4e4f1;
    border-top: 5px solid #005bac;
    border-bottom: 5px solid #005bac;
    padding: 2rem;
}

.important-usage .important-usage-inner ul li {
    padding: 0 0 1.5rem;
    line-height: 1.5;
    list-style: square;
    margin: 0 10%;
}

.important-usage .important-usage-inner ul li:last-child {
    padding: 0;

}

.important-usage .important-usage-inner ul li::marker {
    color: #005bac;
}

/*animation*/
.scroll-animation.is-animation .popup {
  animation: popup 1.5s cubic-bezier(0.46, 0.95, 0.68, 0.99) forwards;
  animation-delay: 0s;

}
 
@keyframes popup {
  0% {
    transform: translateY(50px) scale(0.8);
    opacity: 0;
  }
  100% {
    transform: translateY(0) scale(1.0);
  }
  80%, 100% {
    opacity: 1;
  }
}


.scroll-animation.is-animation .fadein {
    animation: fadein 0.9s cubic-bezier(0.46, 0.95, 0.68, 0.99) forwards;
    animation-delay: 0s;
}
 
@keyframes fadein {
  0% {
    transform: translate(30px);
    opacity: 0;
  }
  80% {
    opacity: 1;
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}
