/* ---------- Global Styles ---------- */
html {
    scroll-behavior: smooth;
}

body {
    color: #333;
    min-width: 1000px;
    line-height: 1.6 !important;
    font-family: hiragino kaku gothic pro, meiryo, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-feature-settings: "palt";
}

main {
    background: #FFF;
    display: block;
}

img {
    max-width: 100%;
    vertical-align: top;
}

.sp {
    display: none !important;
}

.yokohamacityoffice {
    color: #333;
    padding: 0;
}

.yokohamacityoffice .inner {
    width: 1000px;
    margin: 0 auto;
}

.yokohamacityoffice p {
    line-height: 1.8;
}

.yokohamacityoffice a {
    color: #2C4398;
    text-decoration: underline;
}

.yokohamacityoffice a:hover {
    color: #ff6600;
}

/* Common panel style */
.panel {
    width: 1000px;
    margin: 0 auto;
    padding: 40px;
    border-radius: 16px;
    background: #FFF;
    box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.10);
}

/* Common flex unit */
.flexunit {
    display: flex;
    justify-content: space-between;
}

/* Common CTA button style */
.cta_s a {
    display: inline-block;
    color: #FFF;
    width: 312px;
    text-align: center;
    border-radius: 8px;
    text-decoration: none;
    padding: 12px 16px;
    background: #DD327E;
    margin: 32px 0 0 0;
}

.cta_s span { /* Used for icons inside cta_s links */
    display: inline-block;
    font-weight: 700;
    color: #FFF;
    padding: 0 24px 0 0;
    background-repeat: no-repeat;
    background-position: right center;
    background-size: 16px auto;
}

.cta_s span.external { /* Example modifier */
    background-image: url(../images/icon_external_light.png);
}


/* ---------- Main Visual (#main_visual) ---------- */
.yokohamacityoffice #main_visual {
    background: url(../images/main_bg.jpg) no-repeat center center;
    height: 540px;
    background-size: 1280px auto;
    margin: 0 auto;
}

.yokohamacityoffice #main_visual h1 {
    text-align: center;
    padding: 122px 0 0 0;
}

.yokohamacityoffice #main_visual img {
    width: 618px;
    margin: 0;
}


/* ---------- Navigation (#nav) ---------- */
.yokohamacityoffice #nav {
    background: #3166B6;
}

.yokohamacityoffice #nav ul {
    display: flex;
    width: 1000px;
    margin: 0 auto;
    padding: 12px 0;
}

.yokohamacityoffice #nav li {
    width: 25%;
    text-align: center;
    padding: 8px 0;
}

.yokohamacityoffice #nav a {
    display: block;
    padding: 4px;
    text-decoration: none;
    border-right: 1px solid #4280DF;
    color: #fff;
}

.yokohamacityoffice #nav li:hover {
    opacity: 0.8;
}

.yokohamacityoffice #nav li:nth-child(1) a {
    border-left: 1px solid #4280DF;
}

.yokohamacityoffice #nav span { /* Text inside nav links */
    display: block;
    padding: 54px 0 0 0;
    font-weight: 700;
    color: #fff;
}

/* Nav Icons */
.yokohamacityoffice #nav li:nth-child(1) {
    background: url(../images/menu_icon1.png) no-repeat center 14px;
    background-size: 40px 40px;
}
.yokohamacityoffice #nav li:nth-child(2) {
    background: url(../images/menu_icon2.png) no-repeat center 14px;
    background-size: 40px 40px;
}
.yokohamacityoffice #nav li:nth-child(3) {
    background: url(../images/menu_icon3.png) no-repeat center 14px;
    background-size: 40px 40px;
}
.yokohamacityoffice #nav li:nth-child(4) {
    background: url(../images/menu_icon4.png) no-repeat center 14px;
    background-size: 40px 40px;
}


/* ---------- Lead Section (#lead) ---------- */
#lead {
    margin: 48px 0;
}

#lead .inner {
    /* Uses common .inner */
}

#lead h2 {
    color: #333333;
    font-size: 40px;
    font-weight: 700;
    line-height: 1.6;
}

#lead p {
    font-size: 16px;
    line-height: 1.8;
    margin: 32px 0 0 0;
}

#lead .note {
    margin: 24px 0 0 0;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.8;
}


/* ---------- Parking Section (#parking) ---------- */
#parking {
    background: #EDF8FF;
    padding: 64px 0 ;
}

#parking .inner {
    /* Uses common .inner */
}

/* Section Title Common Style */
#parking h2,
#camera-parking .section-header h2,
#services h2,
#dining-spots .section-header h2 {
    color: #333333;
    font-size: 32px;
    font-weight: 800;
    display: flex;
    align-items: center;
    margin-bottom: 24px;
}

/* Section Title Icon Common Style */
#parking h2::before,
#camera-parking .section-header h2::before,
#services h2::before,
#dining-spots .section-header h2::before {
    content: "";
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    background-color: #3166b6;
    border-radius: 8px;
    margin-right: 24px;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: 40px 40px;
    flex-shrink: 0;
}

/* Specific Icons for Section Titles */
#parking h2::before { background-image: url(../images/menu_icon1.png); }
#camera-parking .section-header h2::before { background-image: url(../images/menu_icon2.png); }
#services h2::before { background-image: url(../images/menu_icon1.png); }
#dining-spots .section-header h2::before { background-image: url(../images/menu_icon4.png); }


/* Page Links (Top and Bottom) */
.page-link ul {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 24px auto;
    gap: 24px;
    width: fit-content;
}

.page-link li {
    width: 232px;
}

.page-link a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 24px 16px 24px 42px;
    border-radius: 8px;
    background-color: #ffffff;
    border: 1px solid #d7d7d7;
    box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.1);
    text-decoration: none;
    color: #2c4398;
    font-size: 20px;
    font-weight: 600;
    line-height: 1;
    position: relative;
}

.page-link a::before {
    content: "";
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 15px;
    background: url(../images/arrow_down.png) no-repeat center center / 16px 16px;
}

.page-link-bottom a::before {
    background-image: url(../images/arrow_up.png);
}

.page-link a:hover {
    color: #ff6600;
}


/* Parking Area Sections (.wangan-area-section) */
.wangan-area-section { /* Applies to wangan, tobu, hokubu-seibu, nanbu */
    /* Inherits .panel styles */
    margin-top: 40px;
    margin-bottom: 40px;
    padding: 32px;
}

.wangan-area-inner {
    width: auto;
    margin: 0;
}

.wangan-area-header {
    margin-bottom: 32px;
}

.wangan-area-header .wangan-area-title {
    font-size: 24px;
    font-weight: 600;
    color: #333333;
    line-height: 1;
    padding-bottom: 16px;
    border-bottom: 4px solid #3166B6;
    margin-bottom: 24px;
}

.wangan-area-description {
    font-size: 16px;
    font-weight: 300;
    color: #333333;
    line-height: 1.8;
}

.wangan-area-map-list {
    display: flex;
    gap: 32px;
    margin-bottom: 48px;
}

.wangan-map-placeholder {
    width: 640px;
    height: auto;
    background-color: #d9d9d9;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #555;
}

.wangan-map-placeholder img {
    width: 100%;
    height: auto;
}

.wangan-parking-list {
    width: 264px;
    list-style: none;
    padding: 8px 0;
    margin: 0;
}

.wangan-parking-list li {
    margin-bottom: 16px;
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.wangan-parking-list li:last-child {
    margin-bottom: 0;
}

.wangan-parking-list a {
    font-size: 16px;
    font-weight: 300;
    color: #2C4398;
    text-decoration: none;
    line-height: 1.4;
}

.wangan-parking-list a .parking-name {
    color: #2C4398;
    text-decoration: underline;
}

.wangan-parking-list a:hover .parking-name {
    color: #ff6600;
    text-decoration: underline;
}

.wangan-parking-list .map-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    width: 24px;
    height: 24px;
    background-color: #2C4398;
    color: #ffffff;
    font-size: 12px;
    font-weight: bold;
    line-height: 24px;
    border-radius: 50%;
    text-decoration: none;
    flex-shrink: 0;
}

.wangan-parking-cards-row {
    display: flex;
    gap: 32px;
    margin-bottom: 48px;
}

.wangan-parking-cards-row:last-child {
    margin-bottom: 0;
}

.parking-card {
    display: flex;
    gap: 16px;
    width: 452px;
}

.parking-card-image-tags {
    width: 160px;
    flex-shrink: 0;
}

.parking-card-image-placeholder {
    width: 160px;
    background-color: #d9d9d9;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #555;
}

.parking-card-image-placeholder img {
    width: 100%;
}

.parking-card-tags {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.parking-card-tags .tag {
    display: inline-block;
    padding: 8px 0;
    font-size: 12px;
    font-weight: bold;
    border-radius: 2px;
    text-align: center;
    line-height: 1;
}

.parking-card-tags .tag-pricing {
    background-color: #FFF2F2;
    color: #E92525;
}

.parking-card-tags .tag-capacity {
    background-color: #F1F8FF;
    color: #0048CE;
}

.parking-card-details {
    width: 276px;
    padding: 8px 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.parking-card-details h3 {
    margin: 0;
    padding: 0;
}

.parking-card-details h3 a {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 24px;
    font-weight: 600;
    color: #2C4398;
    text-decoration: none;
    line-height: 1.2;
}

.parking-card-details h3 a:hover {
    color: #ff6600;
    text-decoration: none;
}

.parking-card-details h3 .map-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    top: 4px;
    width: 24px;
    height: 24px;
    background-color: #2C4398;
    color: #ffffff;
    font-size: 12px;
    font-weight: bold;
    border-radius: 50%;
    text-decoration: none;
    flex-shrink: 0;
}

.parking-card-buttons {
    display: flex;
    gap: 8px;
}

.parking-card-buttons .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 8px 0;
    border-radius: 4px;
    text-decoration: none;
    font-size: 14px;
    font-weight: bold;
    width: 134px;
    text-align: center;
}

.parking-card-buttons .btn-movie {
    background-color: #fff;
    color: #333;
    border: 1px solid #2C4398;
    box-shadow: none;
    cursor: default;
}

.parking-card-buttons .btn-movie:hover {
    cursor: pointer;
    opacity: 0.8;
}

.parking-card-buttons .btn-movie::before {
    content: "";
    display: inline-block;
    width: 16px;
    height: 16px;
    background-image: url(../images/icon_movie.png);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
}

.parking-card-buttons .btn-cam {
    background-color: #ffffff;
    color: #2C4398;
    border: 1px solid transparent;
    text-decoration: underline;
}

.parking-card-buttons .btn-cam::before {
    content: "";
    display: inline-block;
    width: 16px;
    height: 16px;
    background-image: url(../images/icon_cam.png);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
}

.parking-card-details p {
    font-size: 16px;
    font-weight: 300;
    color: #333333;
    line-height: 1.6;
    margin: 0;
}


/* ---------- Camera Parking Section (#camera-parking) ---------- */
#camera-parking {
    background-color: #cdecff;
    padding: 64px 0;
}

#camera-parking .inner {
    /* Uses common .inner */
}

#camera-parking .section-header {
    margin-bottom: 24px;
}

#camera-parking .section-header h2 {
    /* Uses common section title style */
    margin-bottom: 24px;
}

#camera-parking .section-header h2::before {
    /* Uses common section title icon style & specific icon */
}

#camera-parking .section-header p {
    font-size: 16px;
    font-weight: 300;
    color: #333333;
    line-height: 1.8;
    margin: 0;
}

#camera-parking .panel-camera {
    /* Inherits .panel styles */
    padding: 24px 32px 40px 32px;
    display: flex;
    flex-direction: column;
    gap: 64px;
}

/* Subsection Title */
.section-subtitle {
    font-size: 24px;
    font-weight: 600;
    color: #333333;
    line-height: 1.4;
    padding-bottom: 16px;
    border-bottom: 4px solid #3166B6;
    margin-bottom: 32px;
}

/* Camera Steps */
.camera-steps-section {
    /* Container */
}

.camera-steps-container {
    display: flex;
    align-items: stretch;
    gap: 8px;
}

.camera-step {
    width: 292px;
    background-color: #f9f9f9;
    border-radius: 8px;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.camera-step-header {
    display: flex;
    align-items: center;
    gap: 12px;
}

.camera-step-header .step-number {
    display: inline-block;
    background-color: #3166B6;
    color: #ffffff;
    font-size: 14px;
    font-weight: bold;
    padding: 8px 8px 6px 8px;
    border-radius: 4px;
    line-height: 1;
}

.camera-step-header .step-title {
    font-size: 20px;
    font-weight: bold;
    color: #333;
    margin: 0;
    line-height: 1.2;
}

.camera-step-image {
    width: 100%;
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.camera-step-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.camera-step p {
    font-size: 14px;
    line-height: 1.6;
    color: #555;
    margin: 0;
}

/* カメラステップ内のリンクスタイル統一 */
.camera-step p a,
.camera-step p a.internal-link {
    color: #2C4398;
    text-decoration: underline;
    font-weight: bold;
}

.camera-step p a.internal-link { /* アイコン付きリンク固有のスタイル */
    display: inline-flex;
    align-items: center;
    gap: 0;
    line-height: 1;
    margin-top: 8px;
}

.camera-step p a:hover,
.camera-step p a.internal-link:hover {
    text-decoration: underline;
    color: #ff6600;
}

.camera-step p a.internal-link::before {
    content: "";
    display: inline-block;
    width: 0;
    height: 0;
    border-top: 5px solid transparent;
    border-bottom: 5px solid transparent;
    border-left: 7px solid #2C4398;
    margin-right: 6px;
    line-height: 0;
}

.camera-step-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 8px;
}

.camera-step-arrow img {
    width: 13px;
    height: auto;
    flex-shrink: 0;
}

/* Camera Discount */
.camera-discount-section {
    /* Container */
}

.camera-discount-box {
    border: 2px solid #dddddd;
    border-radius: 4px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* Discount Info Text + Image */
.discount-info-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 24px;
}

.discount-info-text {
    flex-grow: 1;
}

.discount-info-text h4 {
    font-size: 20px;
    font-weight: 600;
    color: #333333;
    line-height: 1.2;
    margin: 0 0 8px 0;
}

.discount-info-text p {
    font-size: 16px;
    line-height: 1.8;
    color: #333;
    margin: 16px 0 0 0;
}

.discount-info-image {
    width: 180px;
    flex-shrink: 0;
}

.discount-info-image img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Discount Parking Table */
.discount-parking-table {
    width: 100%;
    border-collapse: collapse;
    border-radius: 4px;
    border: 1px solid #ddddddcc;
}

.discount-parking-table tbody tr:last-child td {
    border-bottom: none;
}

.discount-parking-table td {
    border-left: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
    padding: 16px;
    vertical-align: middle;
    font-size: 14px;
    line-height: 1.6;
}

.discount-parking-table td.area-name {
    width: 160px;
    background-color: #f8f8f8;
    font-weight: normal;
    text-align: left;
    border-left: none;
    vertical-align: middle;
}

.discount-parking-table td.parking-list-cell {
    padding: 8px 16px;
}

.parking-sublist {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 4px 16px;
}

.parking-sublist li {
    margin: 0;
    padding: 2px 0;
}

.parking-sublist a {
    color: #2C4398;
    text-decoration: underline;
    font-size: 14px;
}

.parking-sublist a:hover {
    text-decoration: none;
    color: #ff6600;
}

/* Camera Video */
.camera-video-section {
    /* Container */
}

.camera-video-container {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.camera-video-placeholder {
    width: 100%;
    height: 526px;
    background-color: #d9d9d9;
    color: #555;
    position: relative;
}

.camera-video-placeholder iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.camera-video-placeholder img {
    max-width: 100%;
    max-height: 100%;
    object-fit: cover;
}

.camera-video-container p {
    text-align: left;
    margin: 0;
}

.camera-video-container .external-link {
    font-size: 16px;
    font-weight: bold;
    color: #2C4398;
    text-decoration: underline;
    display: inline-flex;
    align-items: center;
    gap: 0px;
}

.camera-video-container .external-link:hover {
    color: #ff6600;
}

/* Add bullet icon before the link */
.camera-video-container .external-link::before {
    content: "";
    display: inline-block;
    width: 24px;
    height: 24px;
    background-image: url(../images/bullet.png);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    flex-shrink: 0;
}

.camera-video-container .external-link::after {
    content: "";
    display: inline-block;
    width: 24px;
    height: 24px;
    /* margin-left: 5px; Replaced by gap */
    background: url('../images/icon_external_dark.png') no-repeat;
    background-size: contain;
    /* vertical-align: middle; Flex handles alignment */
    flex-shrink: 0;
}

/* Moved Camera Video External Link */
.camera-video-external-link-bottom {
    text-align: center;
    /* margin-top: 32px; */
    font-size: 16px;
}

/* Inherit .external-link styles from .camera-video-container for the moved link */
.camera-video-external-link-bottom .external-link {
    font-size: 16px;
    font-weight: bold;
    color: #2C4398;
    text-decoration: underline;
    display: inline;
    line-height: 1.6;
}

.camera-video-external-link-bottom .external-link .link-icon-before {
    display: inline-block;
    width: 16px;
    height: 16px;
    background-image: url(../images/bullet.png);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center center;
    margin-right: 4px;
    vertical-align: middle;
}

.camera-video-external-link-bottom .external-link .link-icon-after {
    display: inline-block;
    width: 16px;
    height: 16px;
    background: url('../images/icon_external_dark.png') no-repeat center center;
    background-size: 14px 14px;
    margin-left: 4px;
    vertical-align: middle;
}

.camera-video-external-link-bottom .external-link:hover {
    color: #ff6600;
}

/* Remove old ::before and ::after styles */
.camera-video-external-link-bottom .external-link::before,
.camera-video-external-link-bottom .external-link::after {
    content: none;
    display: none;
}


/* ---------- Services Section (#services) ---------- */
#services {
    background: #edf8ff;
    padding: 64px 0;
}

#services .inner {
    /* Uses common .inner */
}

#services h2 {
    /* Uses common section title style */
}
#services h2::before {
    /* Uses common section title icon style & specific icon */
}

#services .panel {
    /* Inherits .panel styles */
    padding: 24px 32px 40px 32px;
    margin-top: 40px;
}

/* Business Card Section */
h3#business { /* Specific style for the heading */
    font-size: 24px;
    font-weight: 600;
    color: #333333;
    padding: 0 0 16px 0;
    border-bottom: 4px solid #3166B6;
    background: none;
    border-radius: 0;
    margin-bottom: 32px;
}

/* Flex container specifically after h3#business */
#services #business + .flexunit {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 32px;
    margin-top: 24px;
}

#services .flexunit .text {
    width: 480px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

#services .flexunit .text p {
    margin: 0 0 32px 0;
    line-height: 1.8;
}

#services .flexunit .image {
    width: 424px;
    flex-shrink: 0;
}

#services .flexunit .image img {
    display: block;
}

/* Button specific to #services section */
#services .cta_s {
    margin-top: auto;
}
#services .cta_s a {
    display: inline-flex;
    padding: 16px 24px 16px 16px;
    width: 194px;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border-radius: 8px;
    background: #2C4398;
    color: #ffffff;
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.12;
    margin: 0;
}

#services .cta_s a:hover {
    opacity: 0.8;
}

#services .cta_s a .icon-external-white { /* Icon inside the button */
    display: inline-block;
    width: 16px;
    height: 16px;
    background: url(../images/icon_external_light.png) no-repeat center center;
    background-size: contain;
    flex-shrink: 0;
}


/* ---------- Dining Spots Section (#dining-spots) ---------- */
#dining-spots {
    background-color: #cdecff;
    padding: 64px 0;
}



#dining-spots .section-header {
    margin-bottom: 24px;
}



#dining-spots .section-header p {
    font-size: 16px;
    font-weight: 300;
    color: #333333;
    line-height: 1.8;
    margin: 0;
}

#dining-spots .panel-dining {
    /* Inherits .panel styles */
    padding: 24px 32px 40px 32px;
    margin-top: 40px;
}

.dining-cards-container {
    display: flex;
    flex-direction: column;
    gap: 64px;
}

.dining-cards-row {
    display: flex;
    gap: 40px;
    justify-content: space-between;
}

.dining-card {
    width: 448px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.dining-card-title {
    display: flex;
    align-items: center;
    gap: 12px;
}

.dining-card-title::before {
    content: '';
    display: inline-block;
    width: 24px;
    height: 24px;
    background-image: url(../images/icon_spot.png);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    flex-shrink: 0;
}

.dining-card-title h3 {
    font-size: 20px;
    font-weight: 600;
    color: #333333;
    line-height: 1.4;
    margin: 0;
}

.dining-card img {
    width: 100%;
    height: 336px;
    object-fit: cover;
    display: block;
}

.dining-card-details {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.dining-card-details p {
    font-size: 16px;
    font-weight: 300;
    color: #333333;
    line-height: 1.8;
    margin: 0;
}

/* ---------- Description Text (Bottom) ---------- */
.discription_text_wrap {
    background: #f3f1e4;
    padding-top: 32px;
}

.discription_text {
    border: solid 1px #c0c1af;
    font-size: 13px;
    margin: auto;
    padding: 20px;
    line-height: 2;
    width: 1000px;
}

/* ---------- Trigger for SP omitted text (Keep if JS uses it) ---------- */
.trigger {
    display: none;
}