.topPage .themeImage {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    position: relative;
    gap: 40px;
    height: 780px;
    padding: 0 20%;
    background: url(../../../image/page/top/theme-image-top.png) center;
    background-size: cover;
}

.topPage .themeImage_title {
    font-family: "Lexend Giga", sans-serif;
    font-size: 62px;
    font-weight: 700;
    letter-spacing: -4.5px;
    line-height: 97px;
    color: #FFFFFF;
}

.topPage .themeImage_subtitle {
    font-size: 26px;
    font-weight: 700;
    line-height: 44px;
    color: #FFFFFF;
}

.topPage .latestNews {
    display: flex;
    align-items: center;
    gap: 38px;
    position: absolute;
    right: 0;
    bottom: 0;
    width: 903px;
    height: 100px;
    padding: 0 68px;
    border-radius: 30px 0 0 0;
    background-color: #DDDDDD;
}

.topPage .latestNews_title {
    font-size: 22px;
    font-weight: 700;
    color: #5B5B5B;
}

.topPage .latestNews_date {
    font-size: 18px;
    color: #FF7300;
}

.topPage .latestNews_text {
    font-size: 18px;
    color: #5B5B5B;
}

.topPage .company {
    display: flex;
    justify-content: center;
    padding: 100px 0;
    gap: 100px;
}

.topPage .company_leftSection {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.topPage .company_title {
    font-size: 20px;
    font-weight: 700;
    color: var(--primaryColor);
}

.topPage .company_catchCopy {
    font-size: 45px;
    font-weight: 700;
    letter-spacing: 0.14em;
    line-height: 80px;
    color: var(--primaryColor);
}

.topPage .company_rightSection {
    display: flex;
    flex-direction: column;
    width: 540px;
    gap: 33px;
}

.topPage .company_description {
    font-size: 18px;
    line-height: 46px;
    
}

/*===========*/

.topPage .feature {
    max-width: 1100px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 100px 60px;
    margin: 0 auto;
    position: relative;
    background-color: var(--primaryColor);
    border-radius: 50px;
}

.topPage .feature .frame-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 37px;
  position: relative;
}

.topPage .feature .feature_inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  position: relative;
  align-self: stretch;
  width: 100%;
  flex: 0 0 auto;
}
.topPage .feature .feature_title {
    position: relative;
    width: fit-content;
    margin: 0 0 0.7em;
    font-family: "Lexend Giga", sans-serif;
    font-weight: 700;
    color: #e09193;
    font-size: 17px;
    letter-spacing: 2px;
    white-space: nowrap;
}
.topPage .feature .feature_catchCopy {
  font-weight: 700;
  font-size: 34px;
  letter-spacing: 3.40px;
  line-height: 50px;
  position: relative;
  font-family: "Noto Sans JP", Helvetica;
  color: #ffffff;
}
.topPage .feature .box {
  gap: 10px;
  padding: 30px 70px;
  position: relative;
  align-self: stretch;
  width: 100%;
  flex: 0 0 auto;
  border-radius: 100px;
  border: 2px solid;
  border-color: #ffffff;
  margin-top: -2.00px;
  font-family: "Noto Sans JP", Helvetica;
  font-weight: 400;
  color: #ffffff;
  font-size: 26px;
  letter-spacing: 0;
}
.topPage .feature .ttl {
    font-weight: 700;
    display: block;
    margin-bottom: -0.5em;
}
.topPage .feature .text {
  font-size: 18px;
}

/*==============*/

.topPage .flow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 100px 40px;
  position: relative;
  border-radius: 50px;
}

.topPage .flow .frame-wrapper {
  flex-direction: column;
  align-items: flex-start;
  gap: 37px;
  display: flex;
  position: relative;
}

.topPage .flow .div {
  flex-direction: column;
  align-items: flex-start;
  gap: 32px;
  align-self: stretch;
  width: 100%;
  flex: 0 0 auto;
  display: flex;
  position: relative;
}

.topPage .flow .div-2 {
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 15px;
  align-self: stretch;
  width: 100%;
  flex: 0 0 auto;
  display: flex;
  position: relative;
}

.topPage .flow .flow_title {
    position: relative;
    width: fit-content;
    font-family: "Lexend Giga", sans-serif;
    font-weight: 700;
    color: var(--main);
    font-size: 17px;
    letter-spacing: 2px;
    white-space: nowrap;
    color: var(--primaryColor);
}
.topPage .flow .flow_catchCopy {
  position: relative;
  font-family: "Noto Sans JP", Helvetica;
  font-weight: 700;
  color: #000000;
  font-size: 34px;
  letter-spacing: 3.40px;
}

.topPage .flow .div-3 {
  align-items: center;
  justify-content: center;
  gap: 7px;
  align-self: stretch;
  width: 100%;
  flex: 0 0 auto;
  display: flex;
  position: relative;
}


.topPage .flow .text-wrapper-3 {
  position: relative;
  width: fit-content;
  font-family: "Noto Sans JP", Helvetica;
  font-weight: 700;
  color: var(--main);
  font-size: 16px;
  letter-spacing: 0;
  line-height: 16px;
  white-space: nowrap;
}

.topPage .flow .text-wrapper-4 {
  position: relative;
  width: fit-content;
  font-family: "Noto Sans JP", Helvetica;
  font-weight: 700;
  color: #000000;
  font-size: 22px;
  letter-spacing: 0;
  line-height: 36px;
  white-space: nowrap;
}

.topPage .flow .text-wrapper-5 {
  position: relative;
  align-self: stretch;
  font-family: "Noto Sans JP", Helvetica;
  font-weight: 400;
  color: #000000;
  font-size: 14px;
  letter-spacing: 0;
  line-height: 26px;
}

.topPage .flow .polygon {
  position: relative;
  width: 14.25px;
  height: 16.45px;
}

.topPage .flow .flow-box {
  flex-direction: column;
  width: 225px;
  height: 194px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 20px;
  background-color: #ebdada;
  border-radius: 10px;
  display: flex;
  position: relative;
}


/*=================*/

.topPage .service {
    padding: 0 50px;
}

.topPage .service_inner {
    display: flex;
    justify-content: center;
    width: 100%;
    gap: 10px;
    padding: 100px 40px;
    border-radius: 50px;
    background-color: #F8E9E3;
}

.topPage .service_leftSection {
    display: flex;
    flex-direction: column;
    width: 689px;
    gap: 37px;
}

.topPage .service_leftSectionInner {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.topPage .service_titleWrapper {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.topPage .service_title {
    font-size: 20px;
    font-weight: 700;
    color: #FF7300;
    font-family: "Lexend Giga", sans-serif;
}

.topPage .service_catchCopy {
    font-size: 34px;
    font-weight: 700;
    letter-spacing: 0.1em;
}

.topPage .service_description {
    font-size: 18px;
    line-height: 46px;
    color: #5B5B5B;
}

.topPage .service_rightSection {
    width: 757px;
}

.topPage .service_image {
    width: 100%;
    aspect-ratio: 757/424;
}


.topPage .member-list {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 60px;
  position: relative;
  padding: 20px;
}
.topPage .member-list .div {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 60px;
  position: relative;
  flex: 0 0 auto;
}
.topPage .member-list .mask-group-wrapper {
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    gap: 78px;
    position: relative;
    border-radius: 30px;
    overflow: hidden;
}
.topPage .member-list .mask-group {
  position: relative;
  width: 180px;
}
.topPage .member-list .div-2 {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
  position: relative;
  width: 40%;
}
.topPage .member-list .div-3 {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 13px;
  position: relative;
  align-self: stretch;
  width: 100%;
  flex: 0 0 auto;
}
.topPage .member-list .text-wrapper {
  position: relative;
  align-self: stretch;
  margin-top: -1.00px;
  font-family: "Noto Sans JP", Helvetica;
  font-weight: 700;
  font-size: 22px;
  letter-spacing: 0;
  line-height: normal;
}
.topPage .member-list .text-wrapper-2 {
  position: relative;
  align-self: stretch;
  font-family: "Noto Sans JP", Helvetica;
  font-weight: 700;
  color: var(--primaryColor);
  font-size: 14px;
  letter-spacing: 1.40px;
  line-height: 17px;
}
.topPage .member-list .text-wrapper-3 {
    position: relative;
    align-self: stretch;
    font-family: "Noto Sans JP", Helvetica;
    font-weight: 500;
    color: #383838;
    font-size: 14px;
    letter-spacing: 0;
    line-height: 23px;
}
.topPage .agent {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 100px 0;
    gap: 20px;
}

.topPage .agent_title {
    font-family: "Lexend Giga", sans-serif;
    font-weight: 700;
    color: var(--main);
    font-size: 17px;
    letter-spacing: 2px;
    color: var(--primaryColor);
}

.topPage .agent_catchCopy {
    font-size: 30px;
    font-weight: 700;
    letter-spacing: 0.1em;
}

.topPage .agent_description {
    padding: 0 20px;
    font-size: 15px;
    line-height: 29px;
    text-align: center;
    color: #5B5B5B;
}

.topPage .agent_grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 60px;
}

.topPage .agent_gridItem {
    display: flex;
    align-items: center;
    position: relative;
    width: 330px;
    height: 450px;
    border-radius: 20px;
}

.topPage .agent_image {
    width: 100%;
    height: 100%;
}

.topPage .agent_info {
    display: flex;
    flex-direction: column;
    position: absolute;
    bottom: 0;
    right: 0;
    width: 210px;
    height: 98px;
    padding: 16px 23px;
    gap: 9px;
    background-color: #FFFFFF;
    border-radius: 20px 0 0 0;
}

.topPage .agent_name {
    font-size: 19px;
    font-weight: 700;
}

.topPage .agent_englishName {
    font-size: 14px;
    font-weight: 700;
    color: #FF7300;
}


/**
 * レスポンシブデザイン
 */
@media (max-width: 1440px) {
    .topPage .service_inner {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 1130px) {

    .topPage .company {
        display: block;
        justify-content: center;
        padding: 100px 50px;
    }
    .topPage .company_catchCopy {
        line-height: 74px;
        margin-bottom: 0.5em;
    }
    .topPage .feature {
        margin: 0 20px;
    }
}
@media (max-width: 900px) {
    
    .topPage .themeImage {
        padding: 0 12%;
    }
}
@media (max-width: 780px) {
    
    .topPage .themeImage {
        padding: 0 10%;
    }
    
    .topPage .company_rightSection {
        width: 100%;
    }
    .topPage .feature .box {
        padding: 30px;
        border-radius: 40px;
        font-size: 22px;
    }
    .topPage .feature .text {
        font-size: 15px;
    }
    .topPage .feature {
        padding: 70px 40px;
    }

    .topPage .flow .div-3 {
        display: flex;
        position: relative;
        flex-direction: column;
    }
    .topPage .flow .flow-box {
        width: 100%;
        height: auto;
    }
    .topPage .flow .polygon {
        position: relative;
        width: 14.25px;
        height: 16.45px;
        transform: rotate(90deg);
    }
    .topPage .member-list .div {
        gap: 20px;
    }
    .topPage .feature .feature_catchCopy,
    .topPage .flow .flow_catchCopy,
    .topPage .agent_catchCopy{
        font-size: 24px;
        letter-spacing: 2.5px;
    }
    .topPage .feature .feature_title,
    .topPage .flow .flow_title,
    .topPage .agent_title{
        font-size: 14px;
        letter-spacing: 2.5px;
    }
}

@media (max-width: 480px) {
    .topPage .themeImage {
        height: 420px;
        padding: 0 0 0 20px;
        margin-top: 66px;
        gap: 20px;
    }

    .topPage .themeImage_title {
        font-size: 33px;
        line-height: 65px;
    }

    .topPage .themeImage_subtitle {
        font-size: 16px;
        line-height: 32px;
    }

    .topPage .latestNews {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        width: 300px;
        height: 107px;
        padding: 20px 34px;
        gap: 6px;
    }

    .topPage .latestNews_title {
        font-size: 17px;
    }

    .topPage .latestNews_date {
        font-size: 14px;
    }

    .topPage .latestNews_text {
        font-size: 15px;
    }

    .topPage .company {
        flex-direction: column;
        align-items: center;
        padding: 50px 20px;
        gap: 23px;
    }

    .topPage .company_leftSection {
        width: 100%;
        align-items: baseline;
        gap: 0;
    }

    .topPage .company_title {
        font-size: 15px;
    }

    .topPage .company_catchCopy {
        font-size: 26px;
        line-height: 44px;
    }

    .topPage .company_rightSection {
        width: 100%;
        align-items: center;
    }

    .topPage .company_description {
        font-size: 15px;
        line-height: 30px;
    }

    .topPage .service {
        padding: 0 20px;
    }

    .topPage .service_inner {
        width: 100%;
        padding: 50px 30px;
        gap: 30px;
    }

    .topPage .service_leftSection {
        width: 100%;
        gap: 30px;
    }

    .topPage .service_leftSectionInner {
        width: 100%;
        gap: 20px;
    }

    .topPage .service_titleWrapper {
        gap: 10px;
    }

    .topPage .service_title {
        font-size: 15px;
    }

    .topPage .service_catchCopy {
        font-size: 24px;
        line-height: 44px;
    }

    .topPage .service_description {
        font-size: 16px;
        line-height: 35px;
    }

    .topPage .service_rightSection {
        width: 100%;
    }

    
    .topPage .feature {
        padding: 40px 20px;
        border-radius: 20px;
    }
    .topPage .feature .box {
        padding: 20px;
        border-radius: 20px;
        font-size: 20px;
    }
    .topPage .feature .text {
        font-size: 13px;
    }

    .topPage .agent { gap : 20px; }
    .topPage .agent_catchCopy { font-size: 26px; }
    .topPage .member-list .div { flex-direction: column;}
    .topPage .member-list .div-2 {width: 100%;}
    .topPage .member-list .text-wrapper-3 { font-size: 13px; }
    .topPage .agent { 
        padding: 50px 0;
    }
    
    .button { 
        padding: 0 30px;
    }
    .button_label {
        font-size: 14px;
    }

}

/* 英語 */
.topPage .themeImage_title,
.topPage .company_catchCopy.en {
    font-family: "Lexend Giga", sans-serif;
}
.topPage .flow.en .text-wrapper-4 {
    font-size: 20px;
}
.topPage .flow.en .flow-box {
    flex-direction: column;
    width: 225px;
    height: 224px;
    align-items: center;
    justify-content: start;
}



/*pp*/
.under_title {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    position: relative;
    height: 360px;
    padding: 0 20%;
    background: #d2cece;
}
.under_title p {
    font-size: 35px;
    font-weight: 700;
    letter-spacing: 0.5px;
    color: #000;
    margin: 1.5em 0 0;
}

.under_page .under_contents {
    display: flex;
    justify-content: center;
    padding: 100px 0;
    gap: 100px;
    max-width: 1000px;
    margin: 0 auto;
    font-size: 15px;
    line-height: 1.7em;
}