/**
 * Voice Archive Page Styles
 */

/* Reset and common */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Font family */
body {
    font-family: 'Noto Sans JP', sans-serif;
}

/* Import Google Fonts for Din 2014 */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;700&display=swap');

/* パンくずリスト */
.fl_breadcrumbs {
  background-color: #fff;
  padding: 24px 64px;
}

.fl_breadcrumbs .container {
  display: flex;
  align-items: center;
  gap: 8px;
  max-width: 1200px;
  margin: 0 auto;
}

.fl_breadcrumbs .breadcrumb-item {
  color: #999;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  display: flex;
  align-items: center;
}

.fl_breadcrumbs .breadcrumb-item.home {
  display: flex;
  align-items: center;
}

.fl_breadcrumbs .home-icon {
  width: 16px;
  height: 16px;
  background-image: url('../images/home-icon.svg');
  background-size: contain;
  background-repeat: no-repeat;
  margin-right: 4px;
}

.fl_breadcrumbs .separator {
  color: #999;
  font-size: 10px;
  margin: 0 4px;
}

.fl_breadcrumbs .breadcrumb-item.current {
  color: #0280A4;
  font-weight: 500;
}

/* Main Visual */
.fl_works_mv::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('../images/voice-mv.jpg');
  background-size: cover;
  background-position: center bottom 53%;
  z-index: 0;
  filter: brightness(60%);
}

/* Voice List Section */
.voice-list {
    padding: 80px 0;
    background-color: #FFF;
    position: relative;
}

.voice-list__container {
    max-width: 1250px;
    margin: 0 auto;
    padding: 0 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 64px;
}

.voice-list__header {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Section Title */
.section-title {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    width: 100%;
}

.section-title__en {
    font-family: 'Montserrat', sans-serif; /* Using Montserrat as a substitute for Din 2014 */
    font-weight: 700;
    font-size: 16px;
    line-height: 1.28;
    letter-spacing: 1px;
    color: #979797;
    text-align: center;
    position: relative;
    padding-bottom: 8px;
}

.section-title__en::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background-color: #979797;
}

.section-title__ja {
    font-size: 32px;
    font-weight: 700;
    line-height: 1.2;
    text-align: center;
    color: #0280A4;
}

/* Filter Buttons */
.voice-filter {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 0;
    width: 100%;
    justify-content: center;
}

.voice-filter__title {
    font-size: 15px;
    font-weight: 700;
    line-height: 1.2;
    color: #0280A4;
    white-space: nowrap;
}

.voice-filter__buttons {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.voice-filter__button {
    font-size: 14px;
    font-weight: 600;
    line-height: 1.5;
    padding: 4px 16px;
    border-radius: 80px;
    border: 2px solid #0280A4;
    background-color: transparent;
    color: #0280A4;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.voice-filter__button--active {
  background-color: #0280A4;
  color: #ffffff;
}

.voice-filter__button:hover {
    opacity: 0.8;
}

/* Voice Grid */
.voice-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    width: 100%;
}

/* Voice Card */
.voice-card {
    border-radius: 16px;
    overflow: hidden;
    background-color: #F6FDFF;
    box-shadow: 0px 2px 4px -2px rgba(0, 0, 0, 0.06), 0px 4px 8px -2px rgba(0, 0, 0, 0.1);
    max-height: 200px;
}

.voice-card__inner {
    display: flex;
    padding: 24px;
    height: 100%;
}

.voice-card__image {
    position: relative;
    width: 50%;
    aspect-ratio: 3 / 2;
    overflow: hidden;
}

.voice-card__image .deco {
    position: absolute;
    top: 0;
    left:10px;
    max-width: 50%;
    height: 100%;
    z-index: 2;
}

.voice-card__image .customer-location {
    position: absolute;
    top: 11%;
    left: 7%;
    font-size: 9px;
    font-weight: 700;
    color: #ffffff;
    text-align: center;
    z-index: 3;
}

.voice-card__image .customer-name {
    position: absolute;
    top: 46%;
    left: 7%;
    font-size: 12px;
    font-weight: 700;
    color: #ffffff;
    z-index: 3;
}

.voice-card__image .customer-item-title{
    position: absolute;
    top: 66%;
    left: 9%;
    color: #006699;
    font-size: 8px;
    font-weight: 700;
    background-color: #ffffff;
    border-radius: 15px;
    padding: 1px 7px;
    display: inline-block;
    z-index: 3;
}

.voice-card__image .customer-item .logo {
    position: absolute;
    top: 80%;
    left: 17%;
    width: 27px;
    z-index: 3;
}

.voice-card__image .customer-item .line {
    position: absolute;
    top: 0px;
    left: -54px;
    width: auto;
    height: 100%;
    z-index: 3;
}

.voice-card__image .photo {
    position: relative;
    top: 0;
    left: 55px;
    max-width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.voice-card__content {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    margin-left: 24px;
    width: 50%;
}

.voice-card__header {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.voice-card__title-area {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.voice-card__title {
    font-size: 18px;
    font-weight: 700;
    line-height: 1.5;
    text-align:left;
    color: #0280A4;
    margin: 0;
    padding: 0;
}

.voice-card__meta {
    font-size: 15px;
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: 1px;
    color: #333333;
    margin: 0;
    padding: 0;
}

.voice-card__text {
    font-size: 14px;
    line-height: 1.5;
    color: #333333;
}

.voice-card__footer {
    margin-top: 16px;
    text-align: left;
}

.voice-card__button {
    display: inline-flex;
    align-items: center;
    padding: 8px 12px 8px 24px;
    color: #0280A4;
    text-decoration: none;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.2;
    border: 1px solid #0280A4;
    transition: all 0.3s ease;
}

.voice-card__button:hover {
    opacity: 0.8;
}

.icon-chevron-right {
    display: inline-block;
    width: 16px;
    height: 16px;
    margin-left: 8px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' fill='%230280A4' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M4.646 1.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1 0 .708l-6 6a.5.5 0 0 1-.708-.708L10.293 8 4.646 2.354a.5.5 0 0 1 0-.708z'/%3E%3C/svg%3E");

    background-position: center;
    background-repeat: no-repeat;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 40px;
}

.pagination__number {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    border-radius: 100px;
    border: 1px solid #0280A4;
    background-color: #FFF;
    color: #0280A4;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none;
    transition: all 0.3s ease;
}

.pagination__number:hover {
    background-color: #F5F5F5;
}

.page-numbers.current .pagination__number {
    background-color: #0280A4;
    color: #FFF;
}

.pagination__arrow {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    border-radius: 100px;
    border: 1px solid #0280A4;
    background-color: #FFF;
    text-decoration: none;
    transition: all 0.3s ease;
}

.pagination__arrow:hover {
    background-color: #F5F5F5;
}

.pagination__arrow--disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.pagination__arrow--prev .arrow-icon {
    display: block;
    width: 16px;
    height: 16px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%230280A4' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M11.354 1.646a.5.5 0 0 1 0 .708L5.707 8l5.647 5.646a.5.5 0 0 1-.708.708l-6-6a.5.5 0 0 1 0-.708l6-6a.5.5 0 0 1 .708 0z'/%3E%3C/svg%3E");
    background-position: center;
    background-repeat: no-repeat;
}

.pagination__arrow--next .arrow-icon {
    display: block;
    width: 16px;
    height: 16px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%230280A4' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M4.646 1.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1 0 .708l-6 6a.5.5 0 0 1-.708-.708L10.293 8 4.646 2.354a.5.5 0 0 1 0-.708z'/%3E%3C/svg%3E");
    background-position: center;
    background-repeat: no-repeat;
}

/* NEW! Badge */
.new-badge {
    width: 100px;
    background: #e60012;
    color: white;
    font-size: 12px;
    font-weight: bold;
    text-align: center;
    padding: 4px 0;
    position: absolute;
    transform-origin: left top;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
    aspect-ratio: 1 / cos(30deg);
    clip-path: polygon(0 0, 100% 0, 0 100%);
    border-top-left-radius: 10px;
}

.new-badge-text {
  position: absolute;
  top: 15px;
  left: 10px;
  transform: rotate(-45deg);
}


/* No Posts */
.no-posts {
    width: 100%;
    text-align: center;
    padding: 40px;
    font-size: 18px;
    color: #666;
}

/* Phone Icon */
.phone-icon {
    background-image: url('../images/phone-icon.svg');
    background-position: center;
    background-repeat: no-repeat;
    width: 15px;
    height: 15px;
    display: inline-block;
}

/* Responsive */
@media (max-width: 1200px) {
    .voice-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .voice-filter__buttons {
        flex-wrap: wrap;
        justify-content: center;
    }

    .voice-card {
        max-height: none;
    }

    .voice-card__image .customer-item .line {
         left: -52px;
    }
}

@media (max-width: 1024px) {
    .voice-filter {
        flex-direction: column;
    }

    .voice-card {
        max-height: none;
    }

    .voice-card__inner {
        flex-direction: column;
    }

    .voice-card__image {
      width: 100%;
      margin-bottom: 16px;
    }

    .voice-card__image .customer-location {
        font-size: 13px;
    }

    .voice-card__image .customer-name {
        font-size: 18px;
    }

    .voice-card__image .customer-item-title {
        font-size: 10px;
    }

    .voice-card__image .customer-item .logo {
        width: 33px;
    }

    .voice-card__image .customer-item .line {
        left: -61px;
    }

}


@media (max-width: 768px) {

    .fl_breadcrumbs {
        padding: 16px 20px;
    }
    .voice-mv__sub-heading {
        font-size: 30px;
    }
    
    .voice-mv__heading {
        font-size: 40px;
    }
    
    .voice-mv__text {
        font-size: 16px;
    }
    
    .voice-list {
        padding: 40px 0;
    }
    
    .voice-list__container {
        gap: 32px;
    }
    
    .section-title__ja {
        font-size: 24px;
    }
    
    .voice-filter {
        flex-direction: column;
    }

    .voice-card {
        max-height: none;
    }

    .voice-card-container {
        display: block;
    }

    .voice-grid {
        grid-template-columns: 1fr;
    }

    .voice-card__inner {
        flex-direction: column;
        
    }
    
    .voice-card__image {
        flex: auto;
        width: 100%;
        margin-bottom: 16px;
    }
    
    .voice-card__content {
        width: 100%;
        margin-left: 0;
    }
    
}

@media (max-width: 480px) {
    .voice-mv {
        height: 300px;
    }
    
    .voice-mv__sub-heading {
        font-size: 24px;
    }
    
    .voice-mv__heading {
        font-size: 32px;
    }
    
    .voice-mv__text {
        font-size: 14px;
    }
    
    .voice-filter__button {
        padding: 4px 16px;
        font-size: 14px;
    }

    .voice-card {
        max-height: none;
    }

}

/*---------- レイアウト微調整 ----------*/
@media (max-width: 599px) {
  
}


