/* 全体のスタイル */
html {
    font-size: 14px;
}
body {
    font-family: 'Noto Sans JP', sans-serif;
}

.view-pc {
    display: block;
}

.view-sp {
    display: none;
}
@media screen and (max-width: 767px) {
    .view-pc {
        display: none;
    }
    
    .view-sp {
        display: block;
    }
}
/* グラデーションライン */
.gradient-line {
    height: 5px;
    background: linear-gradient(to right, #ee2c3c, #0b4da2);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1031;
}

/* ローディング */
.page-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.9);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* ナビゲーション */
.navbar {
    transition: all 0.3s ease;
    background-color: rgba(255, 255, 255, 0.95);
}

.navbar.scrolled {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.navbar-brand-text {
    font-size: 1.1rem;
}
/* ナビゲーションのテキストカラー調整 */
.navbar .navbar-brand,
.navbar .nav-link {
    color: #fff;
}

.navbar .navbar-toggler {
    border-color: rgba(0, 0, 0, 0.5);
    max-height: 3rem;
    margin-right: 1rem;
}

.navbar .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3e%3cpath stroke='rgba(0, 0, 0, 0.9)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.navbar .nav-link {
    position: relative;
    min-height: 50px;
    color: rgba(0, 0, 0, 1)!important;
    padding: 0.9rem 1.1rem!important;
}

.navbar .nav-link:hover {
    color: rgba(0, 0, 0, 1)!important;
}

/* ナビゲーションメニューのホバーエフェクト */
.navbar-nav .nav-link {
    position: relative;
    padding-bottom: 5px;
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background-color: #ee4150;
    transition: width 0.3s ease;
}

.navbar-nav .nav-link:hover::after {
    width: 100%;
}

/* ヒーローセクション */
.hero-section {
    position: relative;
    height: 100vh;
}

.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.hero-slide.active {
    opacity: 1;
}

.my-hero-block {
    position: absolute;
    top: 128px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;

}

.hero-content {
    background: rgba(0, 183, 238, 0.5);
    padding: 2rem;
}

.bg-white-alpha {
    background: rgba(0, 183, 238, 0.8);
}

.feature-box {
    height: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #fff;
    transition: all 0.3s ease;
    border-radius: 6px;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
    transition: box-shadow 0.3s ease;
    position: relative;
}
@media screen and (max-width: 767px) {
    .feature-box {
        height: calc(230 / 780 * 100vw);
    }
}

.feature-box p {
    position: absolute;
    top: 3rem;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    color: #1e4191;
    font-size: 16px;
}

.point-label {
    position: absolute;
    top: 1rem;
    left: 50%;
    transform: translateX(-50%);
    background-color: #1e4191;
    color: white;
    padding: 2px 8px;
    border-radius: 4px;
    display: inline-block;
    font-size: 0.9rem;
    width: 100px;
}

/* コンテンツを最前面に */
.container {
    position: relative;
    z-index: 2;
}

/* セクション共通 */
.section01 {
	margin-top: -76px;
	padding-top: 0;
	padding-bottom: 0;
}

/* セクション共通パディング */
section {
	padding: 150px 0;
}
@media screen and (max-width: 767px) {
	section {
		padding: calc(190 / 780 * 100vw) 0;
	}
}

/* 背景色 */
.my-bg-blue {
	background-color: #1e4191;
	color: #fff;
}

.my-bg-white {
	background-color: #ffffff;
	color: #1b1b1b;
}

/* 見出しスタイル */
.my-bg-white h2.display-1 {
	color: #1e4191;
}

.my-bg-blue h2.display-1 {
	color: #fff;
}

/* セクション02の例外スタイル */
.section02 h2.display-1 {
	font-family: "Akshar", sans-serif;
	font-weight: 700;
	font-size: 7rem;
	color: #1e4191;
	line-height: 1;
}
@media screen and (max-width: 767px) {
	.section02 h2.display-1 {
		font-size: 3rem;
	}
}

/* セクション03の例外スタイル */
.section03 h2.display-2 {
	font-family: "Akshar", sans-serif;
	font-weight: 700;
	font-size: 7rem;
	letter-spacing: -0.05em;
	line-height: 1;
}
@media screen and (max-width: 767px) {
	.section03 h2.display-2 {
		font-size: 3rem;
	}
}

/* テーブルスタイル */
.my-bg-blue .table td {
    color: #ffffff;
}

.my-bg-white .table td {
    color: #1b1b1b;
}

/* セクション03のテーブル例外スタイル */
.section03 table td {
    color: #1b1b1b!important;
}

.section02,
.section04,
.section06,
.section08 {
    background-color: #ffffff;
    /* margin-top: 50px; */
    padding: 150px 0;
}
.section03,
.section05,
.section07 {
    /* margin-top: 150px; */
    padding: 150px 0;
}

.section02 h2.display-1,
.section04 h2.display-1,
.section06 h2.display-1,
.section08 h2.display-1 {
    text-align: center;
    font-family: "Akshar", sans-serif;
    font-weight: 700;
    font-size: 7rem;
    color: #1e4191;
    line-height: 1;
}
.catch {
    font-size: 1.4rem;
}
.table td {
    color: #ffffff;
    background-color: transparent;
}
.section03 table td {
    color: #1b1b1b;
}
.table-hover .table-secondary:hover {
    background-color: transparent;
}




.section05 h2.display-1,
.section07 h2.display-1 {
    font-family: "Akshar", sans-serif;
    font-weight: 700;
    font-size: 7rem;
    line-height: 1;
}

.my-section-lead {
    font-size: 1.8rem;
    font-weight: bold;
    color: #000000;
    text-align: center;
    padding: 2rem 0 0;
}
.my-section-text {
    font-size: 1rem;
    text-align: center;
    padding: 2rem 0 1rem 0;
}
.my-section-text2 {
    font-size: 1rem;
    text-align: center;
    padding: 0 0 1rem 0;
}
.my-bg-blue .my-section-lead {
    color: #fff;
}
.my-section-description-block {
    border-color: #1e4191 !important;
}
.my-bg-blue .my-section-description-block {
    border-color: #ffffff !important;
}
.my-section-description {
    font-size: 1.3rem;
    font-weight: bold;
    background-color: #1e4191;
    color: #fff;
    text-align: center;
    padding: 0.6rem 0;
    width: 100%;
}
.my-bg-blue .my-section-description {
    font-size: 1.3rem;
    font-weight: bold;
    background-color: #88abda;
    color: #ffffff;
    text-align: center;
    padding: 0.6rem 0;
    width: 100%;
}
.my-section-description-lead {
    font-size: 1rem!important;
    color: #1b1b1b;
    text-align: center;
    padding: 0.75rem 0.5rem;
    width: 100%;
}
.my-bg-blue .my-section-description-lead {
    color: #ffffff;
}


.my-section-caption-title {
    font-size: 1.2rem!important;
    font-weight: 700;
    color: #1b1b1b;
    text-align: center;
    padding: 0.75rem 0.5rem 0;
    margin-bottom: 0.5rem;
    width: 100%;
}

.my-section-caption-text {
    font-size: 1rem;
    padding: 0 0 1rem 0;
}


.my-bg-blue caption {
    color: #ffffff!important;
}
.table-blue th {
    background-color: #ffffff;
    color: #1e4191;
}
.table thead th {
    border-bottom: 2px solid #ffffff;
}
.my-bg-white .btn-outline-light {
    color: #ffffff;
    background-color: #1e4191;
    border-color: #1e4191;
    transition: all 0.3s ease;
}
.my-bg-white .btn-outline-light:hover {
    opacity: 0.8;
}
.my-section-block-image {
    margin-top: 5vh;
}
.my-section-block-table {
    margin-top: 5vh;
}

h2 +h3 {
    margin-top: 2rem;
}
/* レスポンシブ調整 */
@media (max-width: 768px) {
    .hero-content {
        padding: 2rem !important;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-buttons .btn {
        margin: 0.5rem;
        display: block;
    }
    
    .my-section-text {
        font-size: 1rem;
        text-align: left!important;
        padding: 0 0 1rem 0;
    }
    .my-section-text2 {
        font-size: 1rem;
        text-align: left!important;
        padding: 0 0 1rem 0;
    }
    .my-section-caption-text {
        font-size: 1rem;
        text-align: left;
        padding: 0 0 1rem 0;
    }
    .my-section-block-table {
        margin-top: 2vh;
    }
}

/* 最小賃貸面積のスタイル */
.rental-area {
    border: 2px solid #ffffff;
    padding: 4px 30px;
    display: inline-block;
    color: #ffffff;
    font-weight: bold;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.rental-area p {
    margin: 0;
    line-height: 1.5;
    font-size: 1.4rem;
}

.my-hero-block h2 {
    font-size: 2.5rem;
}

.footer {
    position: relative;
    bottom: 0;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    color: #fff;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .rental-area p {
        font-size: calc(22 / 780 * 100vw);
    }
    .rental-area p span {
        font-size: calc(16 / 780 * 100vw);
        line-height: calc(20 / 16);
    }
    .d-logo {
        margin-left: 1rem;
    }
    .d-flex {
        text-align: center;
    }
    .feature-box p {
        font-size: calc(20 / 780 * 100vw);
        font-weight: 500;
        padding: 0 0.5rem;
    }
    .section01 {
        margin-top: -76px;
    }
    .section02,
    .section04,
    .section06,
    .section08 {
        /* margin-top: 5vh; */
        padding: calc(190 / 780 * 100vw) 0;
    }
    .section03,
    .section05,
    .section07 {
        padding: calc(190 / 780 * 100vw) 0;
    }
}

/* 見出しのレスポンシブ対応 */
@media (max-width: 768px) {
    .section01 h2.display-1,
    .section02 h2.display-1,
    .section03 h2.display-2,
    .section04 h2.display-1,
    .section05 h2.display-1,
    .section06 h2.display-1,
    .section07 h2.display-1,
    .section08 h2.display-1 {
        font-size: 3rem;
    }
    .catch {
        font-size: calc(30 / 780 * 100vw);
    }
    .section01 h3,
    .section02 h3,
    .section03 h3,
    .section04 h3,
    .section05 h3,
    .section06 h3 {
        font-size: 1.5rem;
    }
    
    .my-section-lead {
        font-size: 1.2rem;
    }
}

/* ホバーエフェクト（オプション） */
.feature-box:hover {
    transform: translateY(-3px);
    box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.2);
}

@media (max-width: 768px) {
    .feature-box {
        margin-bottom: 1rem;
    }
}

.my-section-description-block {
    border-color: rgba(0, 123, 255, 0.5) !important; /* 青色を薄く */
}

/* ページトップへ戻るボタン */
.page-top {
    position: fixed;
    right: 20px;
    bottom: 20px;
    width: 50px;
    height: 50px;
    background: rgba(0, 0, 0, 0.7);
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 999;
    text-decoration: none;
    transition: background 0.3s;
}

.page-top i {
    color: #fff;
    font-size: 20px;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    margin: 0;
    padding: 0;
}

.page-top:hover {
    background: rgba(0, 0, 0, 0.9);
    text-decoration: none;
}

/* アニメーション(画像の拡大) */
.hover-zoom-in {
	overflow: hidden;
}
.hover-zoom-in img {
	transition:0.5s all;
}
.hover-zoom-in img:hover {
	transform:scale(1.1);
	transition:0.5s all;
}

/* アニメーション(テキストの下部からのスライドイン) */
/* 左からのスライドイン */
.slideinLeft {
	animation: slideinLeft 2s;
}
@keyframes slideinLeft {
	0% {
		transform: translateX(-450px);
		opacity: 0;
	}
	100% {
		transform: translateX(0);
		opacity: 0.8;
	}
}
/* 右からのスライドイン */
.slideinRight {
	animation: slideinRight 1s;
}
.kv_slideinRight_01 {
	animation: slideinRight 0.2s;
	animation-duration: 1.5s;
}
.kv_slideinRight_02 {
	animation: slideinRight 0.2s;
	animation-duration: 3.0s;
}
.kv_slideinRight_03 {
	animation: slideinRight 0.2s;
	animation-duration: 4.5s;
}
@keyframes slideinRight {
	0% {
		transform: translateX(450px);
	}
	100% {
		transform: translateX(0);
	}
}

.kv_slideinRight_01 {
	animation: slideinKvRight 1s;
	animation-duration: 1.5s;
}
.kv_slideinRight_02 {
	animation: slideinKvRight 1s;
	animation-duration: 2.0s;
}
.kv_slideinRight_03 {
	animation: slideinKvRight 1s;
	animation-duration: 2.5s;
}
@keyframes slideinKvRight {
	0% {
		transform: translateX(550px);
		opacity: 0;
	}
	100% {
		transform: translateX(0);
		opacity: 1;
	}
}


/* 下からのスライドイン */
.slideinBottom {
	animation: slideinBottom 1s;
}
@keyframes slideinBottom {
	0% {
		transform: translateY(250px);
	}
	100% {
		transform: translateY(0);
	}
}

/* フェードインアニメーション */
.fadeTextSection {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 1s ease-out, transform 1s ease-out;
}

.fadeTextSection.visible {
    opacity: 1;
    transform: translateY(0);
}

/* 画像の擬似拡大 */
.flash-box {
	opacity: 1;
	overflow: hidden;
	position: relative;
	cursor: pointer;
}

.flash-box img{
	transform: scale(1);
	transition: .3s ease-in-out;    /*移り変わる速さを変更したい場合はこの数値を変更*/
}

.flash-box img:hover {
	transform: scale(1.2);  /*拡大の値を変更したい場合はこの数値を変更*/
}

/*　画像のマスク　*/
.flash-box .mask{
	display: block;
	line-height: 0;     /*行の高さを0にする*/
	overflow: hidden;   /*拡大してはみ出る要素を隠す*/
}

/* 資料請求/お問い合わせボタン */
.contact-btn {
    width: 200px;
    height: 50px;
    background-color: #ee4150;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: opacity 0.3s;
}

.contact-btn:hover {
    color: #ffffff;
    opacity: 0.8;
    text-decoration: none;
}

.toggle-inner-btn {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

@media (max-width: 576px) {
    /* スマホサイズの調整 */
    .navbar-brand img {
        max-width: 180px;
    }
    
    .navbar-brand-text {
        font-size: 0.9rem;
    }
    
    .feature-box {
        padding: 0.75rem !important;
        margin-bottom: 1rem;
    }
    
    .my-section-lead {
        font-size: 1.1rem;
        padding-top: 0;
    }
    
    .table {
        font-size: 0.8rem;
    }
    
    .table th, .table td {
        padding: 0.75rem;
    }
    
    .display-1, .display-2 {
        font-size: 2rem;
    }
    
    h3 {
        font-size: 1.4rem;
    }

    /* ナビゲーション調整 */
    .navbar {
        padding: 0.5rem 0;
    }
    
    .navbar-brand-container {
        flex-wrap: wrap;
    }
    
    .navbar .nav-link {
        min-height: 40px;
        padding: 0.6rem 0.8rem !important;
    }
    
    /* ヒーローセクション調整 */
    .hero-section {
        height: 70vh;
    }
    
    .my-hero-block {
        top: 94px;
        width: 90%;
    }
    
    .hero-content {
        padding: 1rem !important;
    }
    
    .d-flex.align-items-center.justify-content-center {
        flex-direction: row;
    }
    .my-hero-block h2 {
        font-size: calc(36 / 780 * 100vw);
        font-weight: 700;
        padding-left: 1rem;
    }
    
    .rental-area {
        margin-right: 0 !important;
        /* margin-bottom: 0.5rem; */
        padding: 2px 15px;
    }
    
    /* スライドイン動画対応 */
    @keyframes slideinRight {
        0% {
            transform: translateX(250px);
        }
        100% {
            transform: translateX(0);
        }
    }
    
    /* テーブル調整 */
    .table-responsive {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    /* 画像調整 */
    .flash-box .mask {
        width: 100%;
        height: auto;
    }
    
    /* セクション間隔調整 */
    .section03, .section05, .section07 {
        /* margin-top: 5vh; */
        padding: calc(190 / 780 * 100vw) 0;
    }
    
    /* コンタクトボタン調整 */
    .contact-btn {
        width: 170px;
        height: 40px;
        font-size: 0.9rem;
    }
    
    /* フッター調整 */
    .footer {
        text-align: center;
        padding: 1rem 0;
    }
}

/* CSSの先読み処理用 */
.preload-css {
    position: absolute;
    width: 0;
    height: 0;
    overflow: hidden;
    z-index: -1;
}

/* 画像の遅延読み込み対策 */
.img-lazy {
    opacity: 0;
    transition: opacity 0.3s;
}

.img-lazy.loaded {
    opacity: 1;
}

/* スマートフォン表示時のテーブル横スクロール */

.scroll-table {
    overflow-x: visible;
}
.scroll-table .table {
    width: 100%;
}
@media screen and (max-width: 767px) {
    .scroll-table {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        margin: 0 -15px;
        padding: 0 15px;
    }
    
    .scroll-table .table {
        min-width: 800px; /* テーブルの最小幅を設定 */
    }
}
