/* 基本スタイル */
:root {
    --primary-color: #303D5E; /* 紺色 */
    --accent-color: #4554A6; /* 青色 */
    --light-color: #F5F5F5;
    --dark-color: #333333;
    --text-color: #333333;
    --border-color: #E0E0E0;
    --bg-pattern: #F2F5FB;
    --mincho: "游明朝体", YuMincho, "游明朝", "Yu Mincho", "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN W3", HiraMinProN-W3, "ヒラギノ明朝 ProN", "Hiragino Mincho ProN", "ヒラギノ明朝 Pro",
  "Hiragino Mincho Pro", "HGS明朝E", "ＭＳ Ｐ明朝", "MS PMincho", Georgia, Times, "Times New Roman", serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    --bg-color: #FFFDF6;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html{
    scroll-behavior: smooth;
    scroll-padding: 100px; /* ヘッダーの高さに合わせて調整 */
    @media (max-width: 768px) {
        scroll-padding: 60px; /* モバイル用の調整 */
    }
}
body {
    font-family: 'Noto Sans JP', sans-serif;
    color: var(--text-color);
    line-height: 1.7;
    overflow-x: hidden;
    background: var(--bg-color);

}

img {
    max-width: 100%;
    height: auto;
    vertical-align: bottom;
}

a {
    color: inherit;
    text-decoration: none;
    transition: all 0.3s ease;
}

ul, ol {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ボタンスタイル */
.btn {
    display: flex;
    align-items: center;
    justify-content: center;
    background: url(../images/bg-btn.png) no-repeat center center / cover;
    color: white;
    font-family: var(--mincho);
    padding: 15px 40px;
    font-weight: 500;
    text-align: center;
    transition: all 0.3s ease;
    width: fit-content;
    svg{
        display: inline-block;
        margin-left: 10px;
    }
    @media (max-width: 768px) {
        width: 100%;
    }
}

.btn:hover {
    background-color: #3a488e;
    transform: translateY(-3px);
}

.btn-outline {
    border: 1px solid;
    color: white;
    padding: 12px 60px;
    font-weight: 500;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    margin: 0 auto;
    @media (max-width: 768px) {
        width: 100%;
    }
    &.black{
        color: var(--text-color);
    }
    svg{
        display: inline-block;
        margin-left: 10px;
    }
}

.btn-outline:hover {
    background-color: white;
    color: var(--primary-color);
}

.btn-text {
    display: inline-flex;
    align-items: center;
    color: var(--primary-color);
    font-weight: 500;
    position: relative;
}

.btn-text::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: var(--primary-color);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
}

.btn-text:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

.arrow {
    margin-left: 10px;
}

/* セクションタイトル */
.section-title {
    font-size: 28px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 40px;
    color: var(--primary-color);
    &.left {
        text-align: left;
    }
}

.section-title.left {
    text-align: left;
}

.subtitle {
    display: block;
    font-size: 14px;
    color: var(--accent-color);
    margin-bottom: 10px;
}

/* ヘッダー */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    padding: 15px 0;
    background: var(--bg-color);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-logo {
    margin: 0;
    & a{
        display: flex;
        font-family: var(--mincho);
        align-items: center;
        & p{
            font-weight: 700;
            color: var(--primary-color);
            margin-left: 10px;
            font-size: 30px;
            @media (max-width: 768px) {
                font-size: 24px;
            }
            & span{
                display: block;
                font-size: 12px;
                @media (max-width: 768px) {
                    font-size: 10px;
                }
            }
        }
    }
    
}

.site-logo img {
    width: 90px;
    height: auto;
    @media (max-width: 768px) {
        width: 9vw;
    }

}

.header-nav {
    flex: 1;
    margin: 0 40px;
}

.header-menu {
    display: flex;
    justify-content: space-around;
}

.header-menu li a {
    font-size: 14px;
    font-weight: 500;
    padding: 5px 10px;
    position: relative;
    font-family: var(--mincho);

}

.header-menu li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--accent-color);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.header-menu li a:hover::after {
    transform: scaleX(1);
}

.header-menu li a.active {
    color: var(--accent-color);
    font-weight: 700;
}

.header-menu li a.active::after {
    transform: scaleX(1);
    background-color: var(--accent-color);
}

.header-contact {
    text-align: right;
}

.header-contact-text {
    font-size: 12px;
    margin-bottom: 5px;
}

.header-contact-tel {
    font-size: 20px;
    font-weight: 700;
    color: #000;
    line-height: 1;
    display: flex;
    align-items: center;
    svg{
        width: 30px;
        height: auto;
        margin-right: 5px;
        align-items: center;
        
    }
}

.header-contact-hours {
    font-size: 11px;
    color: #666;
}

/* ヒーローセクション */
.hero {
    padding-top: 100px;
    padding-bottom: 50px;
    
    position: relative;
}

.hero-container {
    display: flex;
    align-items: center;
    min-height: 500px;
}

.hero-content {
    flex: 1;
    padding-right: 50px;
}

.hero-title {
    font-family: 'Noto Serif JP', serif;
    margin-bottom: 30px;
    line-height: 1.2;
    display: flex;
    align-items: center;
}

.hero-title-main {
    font-size: 100px;
    font-weight: 700;
    color: var(--dark-color);
}

.hero-title-sub {
    font-size: 48px;
    margin-left: 10px;
    font-weight: 500;
}

.hero-text {
    font-size: 30px;
    margin-bottom: 15px;
    font-weight: 500;
}

.hero-subtext {
    font-size: 20px;
    margin-bottom: 30px;
    @media (max-width: 768px) {
        font-size: 14px;
    }
}

.hero-btn {
    font-weight: 500;
    display: inline-block;
}

.hero-image {
    flex: 1;
    height: 400px;
    overflow: hidden;
    @media (max-width: 768px) {
        height: 100vw;
        width: 100vw;
    }
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 運営実績情報 */
.properties {
    padding: 80px 0;
    background-color: var(--light-color);
    font-family: var(--mincho);
    .subtitle{
        text-align: center;
    }
}

.properties-grid {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.property-card {
    width: 45%;
    height: 250px;
    /* border-radius: 10px; */
    overflow: hidden;
    position: relative;
    /* box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1); */
    transition: transform 0.3s ease;
    @media (max-width: 768px) {
        width: 100%;
        height: auto;
    }
}

.property-card:hover {
    transform: translateY(-10px);
    /* box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15); */
}

.property-image {
    width: 100%;
    height: 100%;
}

.property-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    @media (max-width: 768px) {
        height: auto;
    }
}

.property-card:hover .property-image img {
    transform: scale(1.05);
}

.property-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 20px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0));
    color: white;
}

.property-name {
    font-size: 20px;
    font-weight: 500;
    line-height: 1.4;
}

/* 特徴セクション */
.features {
    padding: 80px 0;
    background-color: var(--primary-color);
    color: white;
    position: relative;
    overflow: hidden;
    background: url('../images/bg-feature.png') no-repeat left bottom / cover ;
    margin-bottom: 80px;
}

.features-title {
    font-size: 32px;
    text-align: center;
    margin-bottom: 15px;
    font-weight: 700;
}

.features-subtitle {
    text-align: center;
    margin-bottom: 50px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.accent {
    color: #fff;
    font-size: 44px;
    font-weight: 700;
    margin: 0 5px;
}

.features-grid {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 60px;
}

.feature-card {
    position: relative;
    width: calc(33.333% - 20px);
    transition: transform 0.3s ease;
    &:nth-child(2){
        transform: translate3d(0, 20px, 0  );
    }
    &:nth-child(3){
        transform: translate3d(0, 40px, 0  );
    }
}

.feature-card:hover {
    transform: translateY(-10px);
}

.feature-image {
    height: 130px;
    margin-bottom: 20px;
}

.feature-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.feature-number {
    position: absolute;
    top: -15px;
    left: 20px;
    font-size: 70px;
    font-weight: 700;
    color: rgba(255,255,255, 0.2);
    font-family: var(--mincho);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-title {
    font-size: 18px;
    margin-bottom: 15px;
    font-weight: 700;
}

.feature-text {
    font-size: 14px;
    opacity: 0.9;
}

.cta-banner {
    text-align: center;
    margin-top: 40px;
}

/* 会社概要セクション */
.company {
    padding: 0px 0 100px;
    position: relative;
    .company-cloud{
        position: absolute;
        right: 0;
        bottom: 0px;
    }
}

.company-bg {
    position: absolute;
    top: 0;
    left: 10%;
    width: 80%;
    height: 80%;
    background-image: url('../images/bg-company.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    @media (max-width: 768px) {
        left: 0;
        width: 100%;
        height: 100%;
    }
}

.company-container {
    position: relative;
    z-index: 2;
    padding-top: 140px;
}

.company-content {
    max-width: 50vw;
    padding: 40px;
    background: var(--bg-color);
  margin-left: calc(50% - 50vw);
  font-family: var(--mincho);
    
    @media (max-width: 768px) {
        max-width: 100%;
        padding: 20px;
        margin-left: 0;
    }
   .btn-outline {
        margin: 0;
    }
}

.company-text {
    margin-bottom: 30px;
}

/* お問い合わせセクション */
.contact {
    padding: 120px 0;
    text-align: center;
    background: url(../images/bg-contact.png) no-repeat center center / cover;
    color: #fff;
    font-family: var(--mincho);
    .container{
        display: flex;
        justify-content: space-between;
        @media (max-width: 768px) {
            flex-wrap: wrap;
        }
    }
}

.contact-text-area{
    width: calc(100% - 340px);
    text-align: left;
    @media (max-width: 768px) {
        width: 100%;
    }
}
.contact-title {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 15px;
    &:before{
        content: 'contact';
        font-family: var(--mincho);
        color: #fff;
        display: block;
        font-size: 18px;
        line-height: 1em;
    }
}

.contact-text {
    margin-bottom: 40px;
}

.contact-buttons {
}
.contact-tel-btn, 
.contact-mail-btn {
    font-weight: 500;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    color: #fff;
    border: 1px solid ;
    height: 70px;
    width: 340px;
    font-size: 24px;
    @media (max-width: 768px) {
        width: 100%;
        margin-bottom: 20px;
        font-size: 14px;
    }
    svg {
        width: 24px;
        height: 24px;

    }
}
.contact-tel-btn{
    margin-bottom: 15px;
}


.contact-tel-btn, 
.contact-mail-btn {
    
}

.contact-mail-btn {

}

.contact-tel-btn:hover, .contact-mail-btn:hover {
    transform: translateY(-5px);
}

.tel-icon, .mail-icon {
    margin-right: 10px;
}

/* お問い合わせページ */
.contact-section {
    padding: 60px 0;
    background-color: #fff;
}

.contact-intro {
    text-align: center;
    margin-bottom: 60px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    @media (max-width: 768px) {
        text-align-last: left;
    }
}

.contact-intro p {
    font-size: 16px;
    line-height: 1.8;
    color: #666;
}

.contact-content {
}

.contact-form-section h2,
.contact-info-section h2 {
    color: var(--primary-color);
    font-size: 24px;
    margin-bottom: 30px;
    font-weight: 700;
}

.contact-form {
    background-color: var(--bg-pattern);
    padding: 40px;
    border-radius: 12px;
}

.form-group {
    margin-bottom: 25px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--text-color);
}

.required {
    color: #e74c3c;
    margin-left: 3px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-size: 14px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(69, 84, 166, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    cursor: pointer;
    font-size: 14px;
    line-height: 1.6;
}

.checkbox-label input[type="checkbox"] {
    margin-right: 10px;
    margin-top: 2px;
}

.checkbox-label a {
    color: var(--accent-color);
    text-decoration: underline;
}

.form-submit {
    text-align: center;
    margin-top: 30px;
}

.btn-submit {
    background: linear-gradient(135deg, var(--accent-color), var(--primary-color));
    color: white;
    padding: 15px 50px;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(69, 84, 166, 0.3);
}

/* 電話お問い合わせ */
.phone-contact {
    background-color: var(--bg-pattern);
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    margin-bottom: 40px;
}

.phone-number {
    margin-bottom: 15px;
}

.phone-number a {
    font-size: 28px;
    font-weight: 700;
    color: var(--accent-color);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
}

.phone-icon {
    margin-right: 10px;
    font-size: 24px;
}

.phone-hours {
    font-size: 14px;
    color: var(--text-color);
    margin-bottom: 15px;
}

.phone-note {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
}

/* 会社情報 */
.company-info-contact {
    margin-bottom: 40px;
}

.company-info-contact h3 {
    color: var(--primary-color);
    font-size: 18px;
    margin-bottom: 20px;
    font-weight: 700;
}

.company-details {
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    border-left: 4px solid var(--accent-color);
}

.company-details p {
    margin-bottom: 10px;
    font-size: 14px;
    line-height: 1.6;
}

.company-details p:last-child {
    margin-bottom: 0;
}

.company-details strong {
    color: var(--primary-color);
}

/* FAQ */
.faq-section h3 {
    color: var(--primary-color);
    font-size: 18px;
    margin-bottom: 20px;
    font-weight: 700;
}

.faq-item {
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 15px;
    border-left: 3px solid var(--accent-color);
}

.faq-item h4 {
    color: var(--primary-color);
    font-size: 14px;
    margin-bottom: 10px;
    font-weight: 600;
}

.faq-item p {
    font-size: 14px;
    line-height: 1.6;
    color: #666;
    margin: 0;
}

/* 一括借上ページ */
.rental-overview {
    padding: 80px 0;
    background-color: #fff;
}

.overview-content {
}

.overview-description {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 20px;
    color: #666;
}

.overview-benefits {
    display: grid;
    gap: 20px;
}

.benefit-item {
    padding: 20px;
    background-color: var(--bg-pattern);
    border-radius: 8px;
    border-left: 4px solid var(--accent-color);
}

.benefit-item h3 {
    color: var(--primary-color);
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
}

.benefit-item p {
    font-size: 14px;
    color: #666;
    margin: 0;
    line-height: 1.6;
}

.overview-image {
    text-align: center;
}

.overview-image img {
    width: 100%;
    max-width: 500px;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* 一括借上の特徴 */
.rental-features {
    padding: 80px 0;
    background-color: var(--light-color);
}

.rental-features .features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.rental-features .feature-card {
    background-color: #fff;
    padding: 40px 30px;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.rental-features .feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    padding: 20px;
    background-color: var(--bg-pattern);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-icon img {
    width: 40px;
    height: 40px;
}

.rental-features .feature-card h3 {
    color: var(--primary-color);
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 15px;
}

.rental-features .feature-card p {
    font-size: 14px;
    line-height: 1.7;
    color: #666;
    margin: 0;
}

/* 契約プラン */
.rental-plans {
    padding: 80px 0;
    background-color: #fff;
}

.plans-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.plan-card {
    background-color: #fff;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

.plan-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.plan-card.featured {
    border-color: var(--accent-color);
    transform: scale(1.05);
}

.plan-card.featured:hover {
    transform: scale(1.05) translateY(-5px);
}

.plan-header {
    padding: 30px 25px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    text-align: center;
    position: relative;
}

.plan-card.featured .plan-header {
    background: linear-gradient(135deg, var(--accent-color), var(--primary-color));
}

.plan-badge {
    position: absolute;
    top: -10px;
    right: 20px;
    background-color: #ff6b6b;
    color: white;
    padding: 5px 15px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 700;
}

.plan-header h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 10px;
}

.plan-subtitle {
    font-size: 14px;
    opacity: 0.9;
    margin: 0;
}

.plan-content {
    padding: 30px 25px;
}

.plan-features {
    list-style: none;
    padding: 0;
    margin: 0 0 25px 0;
}

.plan-features li {
    padding: 10px 0;
    border-bottom: 1px solid var(--border-color);
    font-size: 14px;
    position: relative;
    padding-left: 20px;
}

.plan-features li:last-child {
    border-bottom: none;
}

.plan-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: 700;
}

.plan-note {
    background-color: var(--bg-pattern);
    padding: 15px;
    border-radius: 8px;
    font-size: 13px;
}

.plan-note p {
    margin: 5px 0;
    color: #666;
}

.plan-note p:last-child {
    margin-bottom: 0;
}

/* 契約の流れ */
.rental-process {
    padding: 80px 0;
    background-color: var(--light-color);
}

.process-steps {
    display: flex;
    flex-direction: column;
    gap: 30px;
    max-width: 800px;
    margin: 0 auto;
}

.process-step {
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: 30px;
    align-items: center;
    background-color: #fff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    position: relative;
}

.process-step:not(:last-child)::after {
    content: '';
    position: absolute;
    bottom: -45px;
    left: 40px;
    width: 2px;
    height: 30px;
    background-color: var(--accent-color);
}

.step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--accent-color), var(--primary-color));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 700;
    margin: 0 auto;
}

.step-content h3 {
    color: var(--primary-color);
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 10px;
}

.step-content p {
    font-size: 14px;
    line-height: 1.7;
    color: #666;
    margin: 0;
}

/* FAQ */
.rental-faq {
    padding: 80px 0;
    background-color: #fff;
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.rental-faq .faq-item {
    background-color: var(--bg-pattern);
    padding: 25px;
    border-radius: 8px;
    margin-bottom: 20px;
    border-left: 4px solid var(--accent-color);
}

.rental-faq .faq-item h3 {
    color: var(--primary-color);
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 15px;
}

.rental-faq .faq-item p {
    font-size: 14px;
    line-height: 1.7;
    color: #666;
    margin: 0;
}

/* CTA セクション */
.cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    text-align: center;
}

.cta-content h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.4;
}

.cta-content > p {
    font-size: 16px;
    margin-bottom: 40px;
    opacity: 0.9;
    line-height: 1.6;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
}

.cta-buttons .btn {
    padding: 15px 30px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    transition: all 0.3s ease;
}

.btn-primary {
    
    color: var(--primary-color);
}

.btn-secondary {
    background-color: rgba(255, 255, 255, 0.2);
    color: white;
    border: 2px solid white;
}

.cta-buttons .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.btn-primary:hover {
    background-color: var(--light-color);
}

.btn-secondary:hover {
    
    color: var(--primary-color);
}

.tel-icon, .mail-icon {
    margin-right: 8px;
    font-size: 16px;
}

.cta-note {
    font-size: 14px;
    opacity: 0.8;
    margin: 0;
}

/* 会社概要ページ専用スタイル */
.page-hero {
    padding: 190px 0 0px;
    background-color: var(--primary-color);
    color: white;
    position: relative;
    overflow: hidden;
    @media (max-width: 768px) {
        padding: 24vw 0 ;
    }
}

.page-hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.page-hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.page-hero-overlay {
    position: relative;
    z-index: 2;
}

.page-title {
    font-size: 36px;
    font-weight: 700;
    font-family: var(--mincho);
    text-shadow: 1px 4px 4px rgba(0, 0, 0, 0.2);
    text-align: right;
    @media (max-width: 768px) {
        font-size: 24px;
    }
}

.page-subtitle {
    font-size: 18px;
    opacity: 0.9;
}

/* 会社情報テーブル */
.company-info {
    padding: 80px 0;
    background-color: #fff;
}

.company-table-wrapper {
    max-width: 900px;
    margin: 0 auto;
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.company-table {
    width: 100%;
    border-collapse: collapse;
}

.company-table th {
    background-color: var(--bg-pattern);
    color: var(--primary-color);
    font-weight: 700;
    padding: 20px 25px;
    text-align: left;
    width: 150px;
    border-bottom: 1px solid var(--border-color);
    font-family: var(--mincho);
}

.company-table td {
    padding: 20px 25px;
    border-bottom: 1px solid var(--border-color);
    line-height: 1.7;
}

.company-table tr:last-child th,
.company-table tr:last-child td {
    border-bottom: none;
}

/* 代表メッセージセクション */
.ceo-message {
    padding: 80px 0;
    background-color: var(--light-color);
}

.ceo-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    @media (max-width: 768px) {
        grid-template-columns: 1fr;
        padding: 20px;
    }

}

.ceo-text .section-title {
    font-size: 28px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 30px;
    line-height: 1.4;
    font-family: var(--mincho);
}

.ceo-description {
    font-size: 16px;
    line-height: 1.8;
    color: #666;
    margin-bottom: 20px;
    font-family: var(--mincho);

}

.ceo-image img {
    width: 100%;
    height: auto;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* アクセスマップ */
.access-map {
    padding: 80px 0;
    background-color: #fff;
}

.access-map .section-title {
    font-size: 32px;
    font-weight: 700;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 50px;
    font-family: var(--mincho);
}

.map-container {
    max-width: 900px;
    margin: 0 auto;
}

.map-wrapper {
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    iframe{
        vertical-align: bottom;;
    }
}

/* お問い合わせCTAセクション */
.contact-cta {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    text-align: center;
    position: relative;
}

.contact-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../images/pattern.svg');
    background-repeat: no-repeat;
    background-position: right top;
    opacity: 0.1;
}

.contact-overlay {
    position: relative;
    z-index: 2;
}

.contact-title {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 10px;
    font-family: var(--mincho);
}

.contact-subtitle {
    font-size: 20px;
    margin-bottom: 20px;
    opacity: 0.9;
}

.contact-description {
    font-size: 16px;
    margin-bottom: 40px;
    opacity: 0.9;
    line-height: 1.7;
}

/* Footer */
.footer {
    background-color: var(--bg-color);
    color: #333333;
    padding: 60px 0 40px;
    margin-top: 80px;
    text-align: center;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
}

.footer-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.footer-logo img {
    width: 80px;
    height: auto;
}

.footer-logo p {
    font-size: 18px;
    font-weight: 400;
    margin: 0;
    color: #333333;
    letter-spacing: 1px;
}

.footer-nav ul {
    display: flex;
    gap: 40px;
    list-style: none;
    margin: 0;
    padding: 0;
    justify-content: center;
    flex-wrap: wrap;
}

.footer-nav a {
    color: #666666;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
    white-space: nowrap;
}

.footer-nav a:hover {
    color: #333333;
}

.footer-bottom {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid #e0e0e0;
}

.footer-bottom p {
    font-size: 12px;
    color: #999999;
    margin: 0;
    letter-spacing: 0.5px;
}

/* Footer responsive */
@media (max-width: 768px) {
    .footer {
        padding: 40px 0 30px;
        margin-top: 60px;
    }
    
    .footer-nav ul {
        gap: 25px;
    }
    
    .footer-nav a {
        font-size: 13px;
    }
    
    .footer-logo img {
        width: 60px;
    }
    
    .footer-logo p {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .footer-nav ul {
        gap: 20px;
        flex-direction: column;
        align-items: center;
    }
    
    .footer-nav a {
        font-size: 14px;
    }
}

@media (max-width: 1024px) {
    .header-nav {
        margin: 0 20px;
    }
    
    .hero-title-main {
        font-size: 60px;
    }
    
    .hero-title-sub {
        font-size: 24px;
    }
    
    .company-bg {
        width: 40%;
    }
}

@media (max-width: 768px) {
    .header-menu {
        display: none;
    }
    
    .header-contact {
        display: none;
    }
    
    .hero-container {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-content {
        padding-right: 0;
        margin-bottom: 40px;
    }
    
    .hero-title {
        justify-content: center;
    }
    
    .properties-grid {
        flex-direction: column;
    }
    
    .property-card {
        width: 100%;
    }
    
    .features-grid {
        flex-direction: column;
    }
    
    .feature-card {
        width: 100%;
    }
    
    .company-bg {
        /* display: none; */
        width: 100%;
      
    }
    
    .company-content {
        max-width: 100%;
    }
    
    .contact-buttons {
        flex-direction: column;
        gap: 15px;
        width: 100%;
    }
    
    .footer-menu {
        flex-wrap: wrap;
        gap: 20px;
    }
    
    .company-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .company-info table th,
    .company-info table td {
        padding: 15px;
    }
    
    .company-info table th {
        width: 120px;
        font-size: 14px;
    }
    
    .page-title .title-ja {
        font-size: 28px;
    }
    
    .ceo-message,
    .access-info {
        padding: 20px;
    }
    
    .ceo-message h2,
    .access-info h2 {
        font-size: 20px;
    }
}

@media (max-width: 480px) {
    .hero-title-main {
        font-size: 50px;
    }
    
    .hero-title-sub {
        font-size: 20px;
    }
    
    .section-title {
        font-size: 24px;
    }
    
    .features-title {
        font-size: 20px;
    }
    
    .accent {
        font-size: 32px;
    }
}

@media (max-width: 1024px) {
    .overview-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .plans-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .plan-card.featured {
        transform: none;
    }
    
    .plan-card.featured:hover {
        transform: translateY(-5px);
    }
}

@media (max-width: 768px) {
    .rental-features .features-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .process-step {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 20px;
    }
    
    .process-step::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-buttons .btn {
        width: 250px;
        justify-content: center;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 15px;
    }
}

@media (max-width: 480px) {
    .cta-content h2 {
        font-size: 24px;
    }
    
    .plan-header {
        padding: 20px 15px;
    }
    
    .plan-content {
        padding: 20px 15px;
    }
    
    .process-step {
        padding: 20px;
    }
}

/* ホテルサブリース（一括借上）ページスタイル */

/* サブリース概要 */
.sublease-overview {
    padding: 80px 0 0;
    font-family: var(--mincho);
        margin: 0 auto;
    .sublease-title{
        font-size: 32px;
        font-weight: 700;
        margin-bottom: 30px;
    }
    .overview-content {
        text-align: left;
       
        font-size: 16px;

    }

}



/* サブリース図解 */
.sublease-diagram {
    padding: 80px 0;
    
    .container{
        
    }
}

.diagram-content {
   
}

.building-icon{
    margin-bottom: 30px;
}

.building-icon img,
.company-logo img {
   
}

.diagram-label {
    font-size: 16px;
    color: #333333;
    margin: 0 0 20px 0;
    font-weight: 500;
}

.owner-responsibilities,
.company-responsibilities {
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: flex-start;
    text-align: left;
}

.responsibility-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 14px;
    color: #333333;
    @media (max-width: 768px) {
        font-size: 12px;
    }
}

.responsibility-dot {
    width: 6px;
    height: 6px;
    background-color: #c7c7c7;
    flex-shrink: 0;
}

.diagram-arrows {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.arrow-row {
    position: relative;
    height: 30px;
}

.arrow {
    position: relative;
    height: 30px;
    background-color: #4a90e2;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 15px;
}

.arrow.blue {
    background-color: #4a90e2;
}

.arrow::after {
    content: '';
    position: absolute;
    right: -15px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-left: 15px solid #4a90e2;
    border-top: 15px solid transparent;
    border-bottom: 15px solid transparent;
}

.arrow.reverse::after {
    left: -15px;
    right: auto;
    border-left: none;
    border-right: 15px solid #4a90e2;
}

.arrow-text {
    color: #ffffff;
    font-size: 12px;
    font-weight: 500;
}

.responsibility-table {
    margin-top: 40px;
}

.table-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1px;
    background-color: #ddd;
    border: 1px solid #ddd;
}

.table-cell {
    background-color: #ffffff;
    padding: 15px;
    font-size: 14px;
    text-align: center;
}

.table-cell.header {
    background-color: #f8f9fa;
    font-weight: 500;
    color: #333333;
}

/* 5つのポイント */
.five-points {
    padding: 80px 0;
    background: linear-gradient(135deg, #4a5899 0%, #3d4a8a 100%);
    color: #ffffff;
    position: relative;
    overflow: hidden;
    &::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-image: url('../images/wagara.png');
        background-repeat: no-repeat;
        background-position: center center;
        background-size: cover;
    }
    &.container {
        position: relative;
        z-index: 1;
    }
}

.section-subtitle {
    text-align: center;
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    margin: 0 0 20px 0;
    font-style: italic;
}

.five-points .section-title {
    color: #ffffff;
    text-align: center;
    margin-bottom: 60px;
    position: relative;
    z-index: 1;
}

.points-container {
    display: flex;
    flex-direction: column;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.point-item {
    display: flex;
    align-items: center;
    gap: 30px;
    padding: 10px 0;
}

.point-number {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
    
}

.point-label {
    font-size: 12px;
    font-weight: 500;
    color: #ffffff;
}

.point-num {
    font-size: 48px;
    font-weight: 700;
    color: #ffffff;
    line-height: 1;
    position: relative;
    padding-top: 10px;
    &:before{
        content: 'Point';
        color: #fff;
        font-size: 12px;
        position: absolute;
        left: 2px;
        top: 0;
    }
}

.point-icon {
    font-size: 24px;
}

.point-text {
    font-size: 20px;
    color: #ffffff;
    margin: 0;
    line-height: 1.6;
}

/* ホテル運営受託 */
.hotel-management {
    padding: 80px 0;
    background-color: var(--bg-color);
}

.management-content {
    text-align: left;
    max-width: 800px;
    margin: 0 auto 60px;
}

.management-text {
    font-size: 16px;
    line-height: 2;
    color: #333333;
    margin: 0 0 20px 0;
}

.management-text:last-child {
    margin-bottom: 0;
}

.management-diagram {
    margin-top: 60px;
}

.management-diagram-content {
    display: grid;
    grid-template-columns: 2fr 100px 2fr;
    gap: 40px;
    align-items: center;
    margin-bottom: 60px;
}

.management-left,
.management-center {
    text-align: center;
}

.management-arrows {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .sublease-overview,
    .five-points,
    .hotel-management {
        padding: 60px 0;
    }
    
    .diagram-content,
    .management-diagram-content {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }
    
    .diagram-arrows,
    .management-arrows {
        order: 2;
        flex-direction: row;
        justify-content: center;
        gap: 10px;
    }
    
    .arrow {
        width: 80px;
        height: 25px;
        border-radius: 12px;
    }
    
    .arrow::after {
        border-width: 12px;
    }
    
    .arrow.reverse::after {
        border-width: 12px;
    }
    
    .table-grid {
        grid-template-columns: 1fr;
        gap: 1px;
    }
    
    .points-container {
        gap: 20px;
    }
    
    .point-item {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .point-number {
        flex-direction: column;
        gap: 5px;
    }
    
    .owner-responsibilities,
    .company-responsibilities {
        align-items: center;
    }
}

@media (max-width: 480px) {
    .overview-text,
    .management-text {
        font-size: 14px;
    }
    
    .point-text {
        font-size: 14px;
    }
    
    .building-icon img,
    .company-logo img {
        /* width: 60px; */
    }
    
    .table-cell {
        padding: 10px;
        font-size: 12px;
    }
}
.sub-page{
    main {
        padding-top: 60px;
        .diagram-content{
            display: flex;
            justify-content: space-between;
            font-family: var(--mincho);
            @media (max-width: 768px) {
                flex-wrap: wrap;
            }
            .diagram-left{
                .building-icon{
                    @media (max-width: 768px) {
                        width: 100%;
                    }
                    img {
                        
                    }
                }
                .responsibilities-area{
                    display: flex;
                    justify-content: space-between;
                    .responsibilities{
                        border: 1px solid #CDC8C8;
                        font-size: 18px;
                        padding: 20px;
                        position: relative;
                        min-width: 200px;
                        @media (max-width: 768px) {
                            font-size: 14px;
                            min-width: auto;
                        }
                        .title{
                            position: absolute;
                            top: -30px;
                            left: 0;
                            width: 100%;
                            text-align: center;
                            span{
                                text-align: center;
                                display: inline-block;
                                padding: 10px;
                                background: var(--bg-color);
                                white-space: nowrap;
                            }
                        }
                        .responsibility-item{
                            .responsibility-dot{}＿
                        }
                    }
                }
            }
                               
            .diagram-right{
                @media (max-width: 768px) {
                    width: 100%;
                }
                table{
                        border: 1px solid #CDC8C8;
                        border-collapse: collapse;
                        @media (max-width: 768px) {
                            width: 100%;
                        }
                    tr{
                        border-bottom: 1px solid #CDC8C8;
                        th, td{
                            padding: 10px 20px;
                            font-size: 18px;
                            @media (max-width: 768px) {
                                padding: 10px;
                                font-size: 12px;
                            }
                        }
                        th{
                            background: #D9D9D9;
                        }
                        td{}
                    }
                }
            }
        }
    }
}

/* ハンバーガーメニュー */
.hamburger {
  display: none;
  position: absolute;
  top: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  z-index: 2000;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: none;
  border: none;
  cursor: pointer;
}
.hamburger span {
  display: block;
  width: 28px;
  height: 3px;
  margin: 5px 0;
  background: #303D5E;
  border-radius: 2px;
  transition: 0.3s;
}
.hamburger.active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
  background: #fff;
}
.hamburger.active span:nth-child(2) {
  opacity: 0;
}
.hamburger.active span:nth-child(3) {
  transform: translateY(-18px) rotate(-45deg);
  background: #fff;

}
@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }
  .header-nav {
    position: fixed;
    top: 0;
    right: -100vw;
    width: 80vw;
    height: 100vh;
    background: var(--primary-color);
    box-shadow: -2px 0 10px rgba(0,0,0,0.1);
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    padding: 80px 30px 30px 30px;
    transition: right 0.3s;
    z-index: 1500;
    display: flex;
    margin: 0;
  }
  .header-nav.open {
    right: 0;
  }
  .header-menu {
    flex-direction: column;
    width: 100%;
    gap: 30px;
    display: flex;
    a{
        color: #fff;
    }
  }
}

  form {
    .form-group {
      padding: 15px 15px;
      width: 100%;
      display: flex;
      flex-wrap: wrap;
      align-items: start;
      flex-wrap: wrap;
        background: #f4f7fb;
        border-radius: 8px;
      .error {
        color: #ff0000;
        display: block;
        width: 100%;
      }

      label {
        width: 100%;
        font-size: 120%;
        font-weight: bold;



        em {
          font-style: normal;
          font-size: 80%;

          &.red {
            color: #de4949;
          }
        }
      }

      .input-wrap {
        width: 100%;

        label {
          font-weight: normal;
          &.radio{
            display: flex;
            font-size: 14px;
          }
        }

        input[type="text"],
        input[type="email"],
        input[type="number"] {
          width: 100%;
          padding: 5px;
          border-radius: 5px;
          border: 1px solid #ccc;
          appearance: none;
          -webkit-appearance: none;
          -moz-appearance: none;
        }

        input[type="text"].mini,
        input[type="number"].mini {
          min-width: 100px;
          width: auto;
        }

        input[type="radio"]{
            width: auto;
        }
        textarea {
          width: 100%;
          height: 150px;
          padding: 5px;
          border-radius: 5px;
          border: 1px solid #ccc;
          appearance: none;
          -webkit-appearance: none;
          -moz-appearance: none;
        }

        p {
          margin-bottom: 10px;
        }
      }
    }

    input[type="button"] {
      border: none;
      display: block;
      width: 200px;
      padding: 10px;
      border-radius: 5px;
      background-color: var(--primary-color);
      color: #fff;
      font-weight: bold;
      font-size: 18px;
      appearance: none;
      -webkit-appearance: none;
      -moz-appearance: none;
      cursor: pointer;
      margin: 0 auto;
    }
  }


.n-table {
  width: 100%;
  margin-bottom: 3rem;
    border-collapse: collapse;
  tr {
    border-bottom: 1px solid #707070;

    th,
    td {
        padding: 15px 20px;
        @media (max-width: 768px) {
            padding: 10px 10px;
            display: block;
            width: 100%;
        }
      
    }
    th {
        @media (max-width: 768px) {
                    background: #eee;

        }
    }
    td {}
  }
}

.form-btn-wrap{
    .btn{
        margin: 0 auto 20px;
        width: 200px;
        @media (max-width: 768px) {
            width: 100%;
        }
    }
}