@charset "UTF-8";

/* ============================================================
 * iOS Safari のステータスバー tint 対応
 *
 * Safari は body の computed background-color をサンプリングして
 * ステータスバーの色に使うため:
 *   - body: #e2eef2 （Safari が読む）
 *   - main: #ffffff （実コンテンツ領域を白で覆う）
 * という組み合わせにする。
 * ============================================================ */
body {
    background-color: #e2eef2 !important;
}

main {
    background-color: #ffffff;
}

/* ANOSAとは・代表プロフィール・活動報告カードの本文を両端揃え */
.sec .copy--p,
.activity-card__content,
.activity-card__content p {
    text-align: justify;
    text-justify: inter-ideograph;
}

/* 各セクション見出しの先頭に ANOSA アイコンを挿入 */
.sec h2::before,
#service h2::before,
.activity-slider-sec__title::before,
.activity-archive__title::before {
    content: '';
    display: inline-block;
    width: 1em;
    height: 1em;
    margin-right: 0.4em;
    background: url('../images/anosa-logo.svg') no-repeat left center;
    background-size: contain;
    vertical-align: -0.12em;
}

/* 主な業務内容リスト */
#service .list--service {
    list-style: disc;
    margin-left: 1em;
    padding-left: 0;
}
#service .list--service li {
    margin-left: 0;
    text-indent: 0;
}
@media (max-width: 765px) {
    #service .list--service {
        margin-left: 1em;
    }
    #service .list--service li {
        margin-left: 0;
        text-indent: 0;
    }
    .sec .copy--list li {
        margin-top: 1.1em;
    }
}

/* ============================================================
 * Activity Card (共通)
 * ============================================================ */
.activity-card {
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    height: 100%;
    background: #fff;
}

.activity-card__thumb {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: #eee;
    margin-bottom: 1.1em;
    flex-shrink: 0;
}

/* サムネイル内 Swiper の枠 */
.activity-thumb-swiper {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.activity-thumb-swiper .swiper-wrapper {
    height: 100%;
}

.activity-thumb-swiper .swiper-slide {
    position: relative;
    width: 100%;
    height: 100%;
    flex-shrink: 0;
    overflow: hidden;
    background: #eee;
}

.activity-card__thumb img,
.activity-thumb-swiper .swiper-slide img {
    position: absolute;
    inset: 0;
    width: 100% !important;
    height: 100% !important;
    max-width: none;
    object-fit: cover !important;
    object-position: center;
    display: block;
}

/* ドットインジケーター（サムネイル下部、トップカルーセルと同じ pill デザイン） */
.activity-thumb-swiper__pagination {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 10px;
    z-index: 10;
    text-align: center;
    line-height: 0;
    pointer-events: auto;
}

.activity-thumb-swiper__pagination .swiper-pagination-bullet {
    width: 8px;
    height: 8px;
    background: rgba(255, 255, 255, 0.85);
    opacity: 1;
    border-radius: 999px;
    margin: 0 4px;
    transition: width 0.35s ease, background-color 0.35s ease;
    box-shadow: 0 0 4px rgba(0, 0, 0, 0.25);
}

.activity-thumb-swiper__pagination .swiper-pagination-bullet-active {
    width: 26px;
    background: #2467A4;
}

.activity-card__body {
    display: flex;
    flex-direction: column;
}

.activity-card__project {
    font-size: 0.86em;
    line-height: 1.5;
    color: #444;
    margin: 0 0 0.5em;
}

.activity-card__title {
    font-size: 1.05em;
    font-weight: 700;
    line-height: 1.55;
    margin: 0 0 0.3em;
    color: #111;
}

.activity-card__content {
    font-size: 0.82em;
    line-height: 1.75;
    color: #333;
    margin-top: 0.15em;
}

.activity-card__content p {
    margin: 0 0 0.6em;
}

.activity-card__content p:last-child {
    margin-bottom: 0;
}

/* ============================================================
 * Top page - Activity Slider section
 * ============================================================ */
.activity-slider-sec {
    padding: 40vh 0 0;
    overflow: hidden;
}
@media (max-width: 765px) {
    .activity-slider-sec {
        padding: 15vh 0 0;
    }
}

.activity-slider-sec__head {
    text-align: center;
    margin-bottom: 3.5em;
    padding: 0 5vw;
}

.activity-slider-sec__title {
    font-size: 2em;
    font-weight: 700;
    color: #2467A4;
    letter-spacing: 0;
    margin: 0 0 0.6em;
}

.activity-slider-sec__lead {
    font-size: 0.9em;
    color: #555;
    margin: 0;
}

/* Swiper outer: 左右オフセットは外側で担当し
   内側の .activity-swiper は full-width のため
   ページネーションが画面中央に揃う */
.activity-swiper-outer {
    padding: 0 5vw;
    overflow: hidden;
}

.activity-swiper {
    overflow: visible;
}

.activity-swiper .swiper-slide {
    height: auto;
}

.js-activity-pagination {
    position: relative;
    width: 100%;
    text-align: center;
    margin-top: 2em;
}

.js-activity-pagination .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: #cfd8de;
    opacity: 1;
    border-radius: 999px;
    margin: 0 5px;
    transition: width 0.35s ease, background-color 0.35s ease;
}

.js-activity-pagination .swiper-pagination-bullet-active {
    width: 34px;
    background: #2467A4;
}

.activity-swiper .swiper-button-prev,
.activity-swiper .swiper-button-next {
    color: #2467A4;
}

@media (max-width: 767px) {
    .activity-swiper .swiper-button-prev,
    .activity-swiper .swiper-button-next {
        display: none;
    }
}

.activity-slider-sec__more {
    text-align: center;
    margin-top: 3em;
    padding: 0 5vw;
}

.activity-slider-sec__more a {
    display: inline-block;
    padding: 0.9em 4em;
    border: 1px solid #2467A4;
    color: #2467A4;
    text-decoration: none;
    border-radius: 999px;
    font-size: 0.92em;
    letter-spacing: 0.1em;
    transition: background 0.25s ease, color 0.25s ease;
}

.activity-slider-sec__more a:hover {
    background: #2467A4;
    color: #fff;
}

/* ============================================================
 * Archive page
 * ============================================================ */

/* 最近のANOSA一覧ページ
   - body の background-color は白（iOS Safari がステータスバーを白に tint）
   - 装飾用のグラデーションは background-image で上に 100vh 分敷く */
body.post-type-archive-activity {
    background-color: #ffffff !important;
    background-image: linear-gradient(180deg, #e2eef2 0%, #ffffff 100%);
    background-repeat: no-repeat;
    background-size: 100% 100vh;
    background-position: top center;
    background-clip: border-box;
}

.activity-archive {
    padding: 30vh 15vw 10vh;
    margin: 0 auto;
}

.activity-archive__head {
    text-align: center;
    margin-bottom: 5em;
}

.activity-archive__title {
    font-size: 2.2em;
    font-weight: 700;
    color: #2467A4;
    letter-spacing: 0;
    margin: 0 0 1em;
}

.activity-archive__lead {
    font-size: 0.9em;
    color: #555;
    margin: 0;
}

.activity-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 4em 3em;
}

.activity-more {
    text-align: center;
    margin-top: 5em;
}

.activity-more__btn {
    display: inline-block;
    padding: 0.95em 4.2em;
    background: #fff;
    border: 1px solid #2467A4;
    color: #2467A4;
    font-size: 0.95em;
    letter-spacing: 0.1em;
    border-radius: 999px;
    cursor: pointer;
    transition: background 0.25s ease, color 0.25s ease;
}

.activity-more__btn:hover {
    background: #2467A4;
    color: #fff;
}

.activity-more__btn:disabled {
    opacity: 0.55;
    cursor: default;
}

.activity-archive__empty {
    text-align: center;
    color: #666;
    padding: 4em 0;
}

/* ============================================================
 * Site Footer (Figma design 1440 × 775)
 * ============================================================ */
.site-footer {
    position: relative;
    border-top: 0;
    padding: 0;
    background: linear-gradient(180deg, #ffffff 0%, #e0eff2 100%);
    overflow: hidden;
}

.site-footer__inner {
    position: relative;
    max-width: 1440px;
    margin: 0 auto;
    padding: 232px 90px 102px;
    box-sizing: border-box;
    min-height: 775px;
}

.site-footer__logo {
    width: 331px;
    max-width: 100%;
    margin: 0 0 66px;
}

.site-footer__logo img {
    width: 100%;
    height: auto;
    display: block;
}

.site-footer__company {
    margin: 0 0 59px;
}

.site-footer__company-name {
    font-size: 22px;
    font-weight: 700;
    letter-spacing: 3.52px;
    color: #383838;
    line-height: 1;
    margin: 0 0 28px;
}

.site-footer__branches {
    display: flex;
    gap: 73px;
    flex-wrap: wrap;
}

.site-footer__branch h3 {
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0;
    color: #383838;
    line-height: 1;
    margin: 0 0 18px;
    padding: 0;
    border: 0;
}

.site-footer__branch p {
    font-size: 17.3px;
    font-weight: 500;
    line-height: 1;
    color: #383838;
    margin: 0;
}

.site-footer__contact {
    width: 316px;
    max-width: 100%;
    margin: 0;
}

.site-footer__contact-title {
    font-size: 24px;
    font-weight: 700;
    letter-spacing: 0;
    color: #2467A4;
    line-height: 1.5;
    margin: 0 0 22px;
}

.site-footer__contact-lead {
    font-size: 17.6px;
    font-weight: 500;
    line-height: 1;
    color: #383838;
    margin: 0 0 14px;
}

.site-footer__contact-mail {
    margin: 0;
    line-height: 1;
    white-space: nowrap;
}

.site-footer__contact-mail a {
    font-size: 27px;
    font-weight: 700;
    color: #383838;
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.site-footer__contact-mail a:hover {
    opacity: 0.7;
}

.site-footer__icon {
    position: absolute;
    right: 50px;
    bottom: 90px;
    width: 86px;
    pointer-events: none;
}

.site-footer__icon img {
    width: 100%;
    height: auto;
    display: block;
}

.site-footer__copyright {
    position: absolute;
    right: 50px;
    bottom: 33px;
    width: 326px;
    text-align: center;
    font-size: 12.8px;
    font-weight: 500;
    letter-spacing: 2.56px;
    line-height: 1;
    color: #a2a2a2;
    margin: 0;
}

@media (max-width: 1200px) {
    .site-footer__inner {
        padding: 160px 6vw 120px;
        min-height: 0;
    }
    .site-footer__logo {
        width: 280px;
        margin-bottom: 60px;
    }
    .site-footer__company-name {
        font-size: 20px;
        margin-bottom: 32px;
    }
    .site-footer__branches {
        gap: 48px;
    }
    .site-footer__contact-mail a {
        font-size: 24px;
    }
}

@media (max-width: 767px) {
    .site-footer__inner {
        padding: 80px 24px 200px; /* 右下アイコンの上に余白を確保 */
    }
    .site-footer__logo {
        width: 220px;
        margin-bottom: 44px;
    }
    .site-footer__company {
        margin-bottom: 44px;
    }
    .site-footer__company-name {
        font-size: 17px;
        letter-spacing: 2px;
        margin-bottom: 28px;
    }
    .site-footer__branches {
        flex-direction: column;
        gap: 28px;
    }
    .site-footer__branch h3 {
        font-size: 14px;
        margin-bottom: 14px;
    }
    .site-footer__branch p {
        font-size: 14px;
    }
    .site-footer__contact-title {
        font-size: 19px;
        margin-bottom: 18px;
    }
    .site-footer__contact-lead {
        font-size: 14px;
    }
    .site-footer__contact-mail {
        white-space: normal;
    }
    .site-footer__contact-mail a {
        font-size: 19px;
        word-break: break-all;
    }
    .site-footer__icon {
        right: 24px;
        bottom: 72px;
        width: 64px;
    }
    .site-footer__copyright {
        right: 24px;
        bottom: 28px;
        width: auto;
        left: 24px;
        text-align: right;
        font-size: 10px;
        letter-spacing: 1.6px;
    }
}

/* ============================================================
 * Responsive
 * ============================================================ */
@media (max-width: 767px) {
    .activity-slider-sec__title {
        font-size: 1.5em;
    }
    .activity-archive__title {
        font-size: 1.6em;
    }
    .activity-list {
        grid-template-columns: 1fr;
        gap: 3em;
    }
    .activity-archive {
        padding: 16vh 4vw 8vh;
    }
    .activity-archive__head {
        margin-bottom: 2.5em;
    }
    .activity-card__title {
        font-size: 1em;
    }
}
