@charset "utf-8";
/* ==================================================================
	Site Name:
	Author:高橋 潤
	Version: 1.0

	Page Title:	TOP

=================================================================== */

h2.title {
    background: url("../../company/images/title-bg.png") no-repeat;
    background-position: center;
}
section h3 {
    font-size: 2rem;
    line-height: 3rem;
    text-align: center;
    background: none;
}

.rental-list {
    display: flex;
    gap: 2rem; /* 物件間のスペース */
    margin: 5rem 0;
}

.rental {
    flex: 1; /* 均等な幅に */
    margin: 0 40px;
    text-align: left; /* h4を左揃えにする */
}

.rental_item {
    display: flex;
    flex-direction: column; /* 子要素を縦に並べる */
    padding: 40px;
    text-align: left; 
    gap: 2rem; /* 上下要素間のスペース */
    background: #fff;
}

.rental_item_img {
    text-align: center; /* 画像を中央揃えに */
    margin-top: 20px;
}

.rental_item_top {
    display: flex;
    gap: 4rem; /* 説明と画像の間のスペース */
    align-items: center; /* 中央揃え（垂直方向） */
}

.rental_item dl,
.rental_item_top p {
    flex: 1; /* 均等な幅に */
    margin: 0;
}

.rental_item dl {
    display: flex; /* dtとddを横並びにする */
    flex-wrap: wrap; /* コンテナの幅で折り返す */
    align-items: baseline; /* テキストのベースラインを揃える */
    border-bottom: 1px solid #0164B3; /* 一番下の罫線 */
}

.rental_item dt {
    color: #0164B3;
    width: 6em; /* dtの幅を固定（文字数に応じて調整） */
    font-weight: bold;
    text-align: center;
    padding: 0.8em 0;
    border-top: 1px solid #0164B3;
}

.rental_item dd {
    width: calc(100% - 6em); /* 残りの幅をddに割り当てる */
    margin: 0; /* ddのデフォルトマージンをリセット */
    padding: 0.8em 0;
    border-top: 1px solid #0164B3;
}
.rental-list .rental h4 {
    position: relative;
    display: inline-block;
    color: #fff;
    z-index: 1;
    padding: 8px 1.5rem;
    padding-right: 48px;
    /* 左側の余白をリセット */
    margin: 0;
    letter-spacing: 0.1em;
    
}
.rental-list .rental h4::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #0064B3;
    clip-path: polygon(0 0, 75% 0, 100% 100%, 0 100%);
    z-index: -1;
}

/* ボタン - 既存のスタイルに合わせる */
.form-actions {
    display: block;
    margin-top: 2rem;
    text-align: center;
}

.btn-primary,
.btn-secondary {
    background: #0064B3;
    border: none;
    border-radius: 5px;
    color: #fff;
    padding: 1rem 3rem;
    font-size: 1.5rem;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    text-align: center;
    transition: none;
}

.btn-primary:before {
    content: "＞";
}

.btn-primary:hover {
    background-color: #0052a3;
    transform: none;
}

.contact-tel {
    margin: 5rem 0;
    font-size: 5rem;
    font-weight: bold;
    color: #0064B3;
}
.contact-tel p {
    text-align: center;
}

/*responsive*/
@media screen and (max-width:768px) {
    .rental-list, .rental_item, .rental_item_top {
        flex-direction: column;
    }
}

@media screen and (max-width:479px) {
section h3 {
    font-size: 1.3rem;
    line-height: 2.5rem;
}
.rental {
    margin: 0;
}
.contact-tel {
    font-size: 3rem;
}

}