@charset "UTF-8";

.section-box {

    & h3 {
        margin-bottom: 2rem;
    }

    .detail-table {

        & tbody {

            & tr:first-child {

                & th:first-child {
                    border-right: 1px solid #fff;
                    width: 50%;
                }
            }

            & td {
                line-height: 1.5;
                background-color: #fff;
                text-align: center;
                font-weight: 500;
                border: 1px solid #B2B2B2;
                
                &.bg-gray {
                    background-color: #E4E4E4;
                    min-width: 25rem;

                    @media screen and (max-width: 767px) {
                      min-width: auto;
                    }
                }
            }

            td[colspan], td[rowspan] {
                background-color: #E4E4E4;
            }

            & th {
                @media screen and (max-width: 767px) {
                  padding: 1rem 2rem;
                }
            }

            & th, & td {
                @media screen and (max-width: 767px) {
                  display: table-cell !important;
                  /* width: 100% !important; */
                }
            }
        }
    }
}

/* top */
.top-box{

    .top-desc{
        margin-bottom: 9rem;
    
        @media screen and (max-width: 767px) {
          margin-bottom: 6rem;
        }
    
        .title{
            font-size: 2.4rem;
            font-weight: bold;
            color: var(--primary-color);
            margin-bottom: 2rem;

            @media screen and (max-width: 767px) {
              line-height: 1.5;
            }
        }
        .desc-text{
            line-height: 1.7;
        
        }
    }
    .detail-list{
        display: flex;
        flex-direction: column;
        gap: 7rem;

        @media screen and (max-width: 767px) {
          gap: 5rem;
        }
    
        .detail-item{

            &:first-child {
                & p {
                    margin-bottom: 5rem;

                    @media screen and (max-width: 767px) {
                      margin-bottom: 3rem;
                    }
                }
            }
    
            .detail-table{
    
                & td {
                    line-height: 1.7;
                }

                & tr:nth-child(2) {
                    & td:first-child {
                        @media screen and (max-width: 767px) {
                          min-width: 20vw;
                        }
                    }
                }
            
            }
    
            .voice-list{
                margin-top: 4rem;
                display: grid;
                grid-template-columns: repeat(2, 1fr);
                grid-row-gap: 6rem;

                @media screen and (max-width: 767px) {
                  grid-template-columns: 1fr;
                  grid-row-gap: 0;
                }
            
                .voice-item-box{
                    display: flex;
                    gap: 3rem;

                    @media screen and (max-width: 767px) {
                      gap: 2rem;
                    }

                    &:nth-child(odd) {
                        padding-right: 8rem;
                        border-right: 1px solid var(--primary-color);
                        
                        @media screen and (max-width: 767px) {
                            padding-right: 0;
                            border-right: 1px solid transparent;
                        }
                    }
                    &:nth-child(even) {
                        padding-left: 8rem;
                        
                        @media screen and (max-width: 767px) {
                            padding-left: 0;
                        }
                    }

                    &:not(:last-child) {
                        @media screen and (max-width: 767px) {
                            border-bottom: 1px solid var(--primary-color);
                              padding-bottom: 3rem;
                        }

                    }

                    &:not(:first-child) {
                        @media screen and (max-width: 767px) {
                          padding-top: 3rem;
                        }
                    }
                
                    .img-box{
                        flex: 0 0 11rem;
                        height: 11rem;

                        & img {
                            background-size: cover;
                            object-fit: cover;
                        }
                    
                    }
                    .text-box{
                        flex: 1;
                    
                        .top-text{
                            margin-bottom: 1.8rem;
                            line-height: 1.7;
                        
                        }
                        .button-box{
                        
                            .common-elip-button{
                            
                            }
                        }
                    }
                }
            }
        }    
    }
}

/* donors */
.sec-donor {

    .content-box {
        display: flex;
        flex-direction: column;
        gap: 7rem;

        .donor-item-box{

            & p {

                & span {
                    color: var(--primary-color);
                    font-size: 1.8rem;
                    font-weight: bold;

                    @media screen and (max-width: 767px) {
                      font-size: 1.6rem;
                    }
                }

            }

            & ul {
                padding-left: 2rem;
                & li {
                    line-height: 1.7;

                    &::marker {
                        content: '・';
                    }
                }
            }

            .detail-table{
                margin-top: 4rem;
            
            }
            .notice{
                margin-top: 3rem;

                @media screen and (max-width: 767px) {
                  font-size: 1.4rem;
                }
            
            }

            .datetime {
                text-align: right;
                margin-top: 1.2rem;

                @media screen and (max-width: 767px) {
                  font-size: 1.4rem;
                }
            }
        }

        .donor-cta-box{
            width: 90rem;
            max-width: 90rem;
            margin: 0 auto;
            background-color: #DDF3FF;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            gap: 3rem;
            padding: 5rem 0;
            position: relative;
            border-radius: 3rem;
            margin-top: 15rem;

            @media screen and (max-width: 767px) {
              width: 100%;
              max-width: 100%;
              line-height: 1.6;
              gap: 2rem;
              text-align: center;
              margin-top: 10rem;
            }

            .cta-label{
                font-size: 1.6rem;
                font-weight: bold;
                color: #fff;
                background-color: var(--primary-color);
                position: absolute;
                left: 50%;
                top: 0;
                transform: translate(-50%, -50%);
                padding: 1rem 2.5rem;
                border-radius: 30px;

                @media screen and (max-width: 767px) {
                  font-size: 1.4rem;
                  width: 70%;
                }
            
            }
            .cta-title{
                font-size: 2rem;
                font-weight: bold;
                color: var(--primary-color);
            
            }
            .cta-desc{
            
            }
            .cta-detail-box{
                display: flex;
                gap: 13rem;

                @media screen and (max-width: 767px) {
                  flex-direction: column;
                  gap: 0;
                }
            
                .tel-box{
                    display: flex;
                    flex-direction: column;
                    align-items: center;

                    @media screen and (max-width: 767px) {
                      padding-bottom: 1.7rem;
                      border-bottom: 1px solid var(--primary-color);
                    }
                
                    .tel{
                        font-size: 3.2rem;
                        font-weight: bold;
                        line-height: 1;
                        margin-bottom: 1.8rem;

                        @media screen and (max-width: 767px) {
                          font-size: 2rem;
                          margin-bottom: 1rem;
                        }
                    
                    }

                    .tel-date-time{
                        font-size: 1.4rem;

                         @media screen and (max-width: 767px) {
                          font-size: 1.2rem;
                        }
                    
                    }
                }
                .mail-box{
                    display: flex;
                    flex-direction: column;
                    align-items: center;

                    @media screen and (max-width: 767px) {
                      padding-top: 1.7rem;
                    }
                
                    .mail{
                        font-size: 3.2rem;
                        font-weight: bold;
                        line-height: 1;
                        margin-bottom: 1.8rem;

                        @media screen and (max-width: 767px) {
                          font-size: 2rem;
                          margin-bottom: 1rem;
                        }
                    
                    }
                    .mail-date-time {
                        font-size: 1.4rem;

                        @media screen and (max-width: 767px) {
                          font-size: 1.2rem;
                        }
                        
                    }
                }
            }
        }
    }

}