* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    overflow-x: hidden;
}

body {
    /* background-color: #043a50; */
    background: url(../images/desktop/s7bg.webp);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
}

.color-white {
    color: white;
}

section {
    width: 100%;
    /* height: 100dvh;
    display: flex; */
    justify-content: center;
}

.team-section {
    display: grid;
    grid-template-rows: 2fr 1fr;
    height: 100dvh;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    width: 100%;
    gap: 0;
}

.member {
    width: 100%;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.member-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.member-info {
    position: absolute;
    bottom: 20px;
    left: 0;
    width: 100%;
    color: white;
}

.s6 .maptext img:first-of-type {
    position: absolute;
}

.s6 .maptext {
    overflow-x: auto;
}

.s6 .maptext div {
    width: 100%;
    min-width: 1200px;
    position: relative;
}

.s7 .newstyle {
    position: absolute;
    z-index: 2;
    width: 39%;
    top: 39%;
    left: 26%;
}

.s7 .s7bot2 .text_box {
    position: relative;
    z-index: 1;
}

.overlay-m,
.overlay-d {
    display: none;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    /* 保持比例 */
    pointer-events: none;
}

.custom-form {
    width: 100%;
    max-width: 900px;
    padding-top: 20px;
    text-align: center;
}

.form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.form-row input,
.form-row select {
    flex: 1;
    padding: 12px 16px;
    font-size: 0.754rem;
    border: 1px solid #fff;
    background: #ffffff;
    color: #000;
    outline: none;
}

.form-row input::placeholder {
    color: #666;
}

.form-row select {
    appearance: none;
    background-image: url('data:image/svg+xml;utf8,<svg fill="%23000000" height="20" viewBox="0 0 24 24" width="20" xmlns="http://www.w3.org/2000/svg"><path d="M7 10l5 5 5-5z"/></svg>');
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 14px;
    color: #000;
}

.verify-btn,
.submit-btn {
    margin: 20px auto;
    padding: 12px 30px;
    border: 1px solid #fff;
    background: transparent;
    color: #fff;
    font-size: 1.034rem;
    cursor: pointer;
    transition: 0.3s;
}

.verify-btn:hover {
    background: rgba(255, 255, 255, 0.2);
}

.s12 .privacy-text-container {
    width: 35%;
    margin: 0 auto;
}

.s12 .custom-form P.privacy-text,
.s12 .custom-form .agree-line {
    margin: 20px 0 10px;
    text-align: center;
    font-weight: 500;
    font-size: 0.627rem;
    line-height: 1.6;
}

.agree-line {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    color: #fff;
    margin-bottom: 20px;
}

.agree-line input {
    width: 18px;
    height: 18px;
}

input.checkbox {
    width: 24px;
    height: 24px;
}

.s12bot {
    margin: 30px auto;
}

.project-info {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px 60px;
    margin-top: 30px;
    margin-bottom: 70px;
    color: #fff;
    text-align: left;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 10px;
    white-space: nowrap;
}

.info-item h3,
.info-item p {
    font-size: 0.931rem;
    font-weight: 600;
    margin: 0;
}

.phone.info-item p {
    font-size: 0.931rem;
    font-weight: 600;
    margin: 0;
}

.s12 .center_box {
    position: relative;
    overflow: visible;
}

.s12 .center_box img.googlemap {
    position: relative;
    width: 100vw;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    max-width: 100vw;
    display: block;
}

.s12 .footer {
    margin: 0 auto;
    padding: 20px 0px;
    display: flex;
    align-items: center;
    flex-direction: column;
}

.s12 .s12bot .left_bot {
    position: unset;
    width: 100%;
    max-width: 80px;
}

.s12 .s12bot img.fb {
    max-height: 30px;
    width: auto;
    aspect-ratio: 1/1;
}

.s1 .center_box>div,
.s12 .center_box>div {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.s12 .center_box .footer {
    flex-direction: row;
}

.s2-mob {
    display: none;
}

.case_name {
    position: absolute;
    bottom: 5px;
    right: 10px;
    color: #fff;
}


/* 動畫 */

.fade-in-box {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 1s ease, transform 1s ease;
}

.fade-in-box.bottom-to-top {
    transform: translateY(50px);
}

.fade-in-box.left-to-right {
    transform: translateX(-50px);
}

.s2 .left_box .fade-in-box.left-to-right {
    transform: translateX(-50px);
}

.fade-in-box.right-to-left {
    transform: translateX(50px);
}

.fade-in-box.flip {
    transform: rotateY(180deg);
}

.fade-in-box.flip.visible {
    opacity: 1;
    transform: rotateY(0deg);
}

.fade-in-box.visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-in-box.right-to-left.visible {
    transform: translateX(0);
}

.fade-in-box.left-to-right.visible {
    transform: translateX(0);
}

.s2 .left_box .fade-in-box.left-to-right.visible {
    transform: translateX(40%);
}

.jc-bs3-container {
    padding-right: 15px;
    padding-left: 15px;
    margin-right: auto;
    margin-left: auto;
}

.jc-bs3-row {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    margin-right: -15px;
    margin-left: -15px;
}

.button-bar-wrap a {
    padding-top: 5px;
}