.agent h2 {
    font-size: 5.2rem;
    font-weight: 400;
    font-family: 'Hannari';
    color: #333;
    display: block;
    line-height: 2;
    margin-bottom: 40px;
}

@media screen and (max-width: 959px) {
    .agent h2 {
        font-size: 3rem;
        margin-bottom: 16px;
    }

    .contentArea{
        padding: 0 20px;
    }
}

.agent section {
    margin-top: 80px;
}


.is-agent__name {
    margin-bottom: 20px !important;
}

.is-agent__name__jp {
    font-size: 52px;
    font-weight: 400;
    font-family: 'Hannari';
    color: #333;
    display: block;
    line-height: 1.5;
    letter-spacing: -0.09em;
}

.is-agent__name__jp span {
    margin-left: 25px;
}

.is-agent__name__en {
    font-size: 24px;
    font-weight: 300;
    color: #aaa;
    display: block;
    line-height: 1.2;
    font-family: sans-serif;
}

@media screen and (max-width: 959px) {
    .is-agent__name__jp{
        font-size: 3.6rem;
    }
    .is-agent__name__en{
        font-size: 1.8rem;
    }
}


.is-agent__detail {
    padding: 40px;
    border-radius: 8px;
    border: 2px solid #EEE;
    background: #FFF;
}

.is-agent__col2 {
    display: flex;
    gap: 40px;
}

@media screen and (max-width: 768px) {
    .is-agent__col2 {
        flex-direction: column;
        align-items: center;
    }
}

.is-agent__image {
    width: 370px;
    height: 100%;
    flex-shrink: 0;
    margin-top: 6px!important;
}

.is-agent__image .splide__slide {
    display: flex;
    justify-content: center;
    position: relative;
    padding-top: 129.7297%;
}

.is-agent__image .splide__slide img {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    object-fit: contain;
}



.is-agent__image.no-slider .splide__controls{
    margin-top: 0;
    height: 32px;
}

.splide__controls {
    position: relative;
    height: 64px;
    margin: 20px 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.splide__pagination {
    position: relative;
    bottom: auto!important;
}

.splide__pagination__page {
    width: 12px!important;
    height: 12px!important;
    background-color: #eee!important;
    opacity: 1!important;
    margin: 0 7px!important;
}


.splide__pagination__page.is-active {
    background-color: #c3303c!important;
    transform: scale(1)!important;
}

.is-agent__image .splide__arrow--prev {
    transform: scaleX(-1) translateY(-50%);
    left: 0;
}

.is-agent__image .splide__arrow--next {
    right: 0;
}

.splide__arrow{
    opacity: 1!important;
}

.is-agent__profile {
    width: 100%;
}



.is-agent__stat {
    display: flex;
    border-bottom: 1px solid #EEE;
}

.is-agent__stat h3 {
    position: relative;
    padding: 24px 0;
    min-width: 190px;
    margin: auto;
    font-weight: 600;
}

.is-agent__stat h3::before {
    position: relative;
    display: inline-block;
    content: "";
    width: 3px;
    height: 20px;
    background-color: #c3303c;
    margin-right: 12px;
    vertical-align: middle;
}

.is-agent__stat p {
    position: relative;
    padding: 24px 0;
    width: 100%;
    margin: auto;
}

.is-agent__shikiworks,
.is-agent__otherworks,
.is-agent__beforeworks {
    padding-top: 80px;
}

.is-agent__shikiworks h3,
.is-agent__otherworks h3,
.is-agent__beforeworks h3 {
    font-size: 28px;
    font-weight: 600;
    line-height: 1.35;
    position: relative;
}

.is-agent__shikiworks h3::before,
.is-agent__otherworks h3::before,
.is-agent__beforeworks h3::before {
    position: relative;
    display: inline-block;
    content: "";
    width: 3px;
    height: 38px;
    background-color: #c3303c;
    margin-right: 13px;
    vertical-align: middle;
}

@media  screen and (max-width: 959px) {
    .is-agent__stat h3{
        min-width: 140px;
    }

    .is-agent__desc{
        margin-top: 30px;
    }
    
}

@media screen and (max-width: 768px) {

    .is-agent__image{
        margin-top: 0!important;
    }

    .is-agent__image.no-slider{
        margin-bottom: 16px;
    }


    .is-agent__image.no-slider .splide__controls{
        height: auto;
    }

    .is-agent__detail{
        padding: 20px;
    }

    .is-agent__stat h3 {
        min-width: 100px;
        padding: 14px 0;
    }

    .is-agent__stat p {
        padding: 14px 0;
    }

    .is-agent__col2{
        gap: 0;
    }

    .splide__controls{
        height: auto;
        margin-top: 33px;
    }
    .is-agent__image {
        width: 100%;
        height: auto;
        max-width: 580px;
        margin-bottom: 30px;
    }
    .is-agent__image .splide__slide {
        height: auto;
        padding-top: 129.7297%;
    }

    .is-agent__image .splide__slide img{
        width: 100%;
        height: 100%;
        object-fit: cover;
        position: absolute;
        top: 0;
        left: 0;
    }

    .is-agent__shikiworks h3::before,
    .is-agent__otherworks h3::before,
    .is-agent__beforeworks h3::before {
        height: 28.5px;
    }

    .is-agent__shikiworks h3,
    .is-agent__otherworks h3,
    .is-agent__beforeworks h3 {
        font-size: 2rem;
    }
    
}

@media screen and (max-width: 959px) {
    .is-agent__shikiworks,
    .is-agent__otherworks,
    .is-agent__beforeworks {

        h3{
            font-size: 2rem;
        }
    }
    
}

.is-agent__shiki {
    border-radius: 8px;
    background: #FDF7F7;
    padding: 40px;
    margin-top: 20px;
}

.is-agent__shikiContent {
    display: flex;
}

.is-agent__shikiContent h4 {
    color: #c3303c;
    font-size: 16px;
    line-height: 2;
    font-weight: 600;
}

.shikiContent__category {
    padding: 30px;
    width: 230px;
    flex-shrink: 0;
}

.shikiContent__item {
    padding: 30px 0;
    max-width: 660px;
}

.shikiContent__text {
    position: relative;
    border-left: 1px solid #dadada;
    padding-left: 50px;
}

.shikiContent__text p {
    margin-bottom: 0;
}

@media screen and (max-width: 959px) {
    .is-agent__shiki{
        padding: 0 20px 20px;
        margin-top: 30px;
    }
    .is-agent__shikiContent {
        flex-direction: column;
    }

    .shikiContent__category{
        width: 100%;
        padding: 30px 0 10px;
    }

    .shikiContent__item{
        padding: 0;
        max-width: 100%;
        border-top: 1px solid #dadada;
    }

    .shikiContent__text{
        border-left: none;
        padding-left: 0;
        padding-top: 20px;
    }
    
}

/* otherworks / beforeworks */

.is-agent__otherworks, .is-agent__beforeworks{
    h3{
        margin-bottom: 20px;
    }
}

.showMoreContent {
    display: none;
}

.otherContent{
    background-color: #FDF7F7;
    padding: 30px;
    margin-bottom: 1px;
    border-radius: 8px 8px 0 0;
}

.otherContent__heading p {
    margin-bottom: 20px;
}

.showMoreContent .otherContent{
    border-radius: 0;
    margin-bottom: 1px;
}

.showMoreContent .otherContent:last-child{
    margin-bottom: 0;
}

.is-agent__otherworks:not(:has(.showMoreBtn.is-active)) .otherContent:first-of-type {
    margin-bottom: 0;
}


.is-agent__beforeworks:not(:has(.showMoreBtn.is-active)) .otherContent:first-of-type {
    margin-bottom: 0;
}



.timeline__item{
    display: flex;
}

.timeline__date{
    width: 230px;
    padding: 10px 0;
    flex-shrink: 0;
    display: block;
}

.timeline__content{
    flex-shrink: 1;
    width: 100%;
    padding: 10px 0;
    display: block;
}

.showMoreBtn{
    width: 100%;
    background-color: #FDF7F7;
    padding: 10px;
    border-radius: 0 0 8px 8px;
    border: none;
    color: #c3303c;
    font-weight: 600;
    font-size: 16px;
    position: relative;    
    cursor: pointer;
    margin-top: 3px;
}

.showMoreBtn::after{
    position: relative;
    display: inline-block;
    vertical-align: middle;
    margin-left: 12px;
    content: "";
    background: url(/group/agent/detail/images/accordion-arrow.svg) no-repeat;
    background-size: contain;
    width: 14px;
    height: 14px;
}

.showMoreBtn.is-active::after{
    transform: rotate(180deg) translateY(4px);
    transform-origin: center;
}

@media screen and (max-width: 959px) {
    .timeline__item{
        flex-direction: column;
        margin-bottom: 16px;
    }
    .timeline__item span{
        padding: 0;
        padding-top: 8px;
    }

    .timeline__item:last-child{
        margin-bottom: 0;
    }

    .otherContent{
        margin-bottom: 2px;
    }

    .showMoreContent .otherContent {
        margin-bottom: 2px;
    }

    .is-agent__otherworks, .is-agent__beforeworks{
        h3{
            margin-bottom: 30px;
        }
    }
}



/* stageImages */

.stageImages__slider{
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    margin-top: 20px!important;
}

.stageImages__slider .splide__slide{
    width: 406px!important;
}

.stageImages__slider .splide__slide img{
    width: 100%;
    height: auto;
    aspect-ratio: 203 / 270;
    object-fit: cover;
}

.stageImages__slider .splide__pagination{
    position: relative;
    margin-top: 50px;

}

.stageImages__slider .splide__arrow{
    top: 44%;
}

.stageImages__slider .splide__arrow--prev{
    transform: scaleX(-1) translateY(-50%);
    left: 2em;
}

.stageImages__slider .splide__arrow--next{
    right: 2em;
}

.slide-caption{
    margin-top: 16px;
    line-height: 2;
}

.stageImages__slider .no-slider{
    transform: translateX(0)!important;
    align-items: center;
    justify-content: center;
    gap: 40px;
}

.stageImages__slider .no-slider .splide__slide{
    margin-right: 0!important;
}

@media screen and (max-width: 959px) {

    .stageImages__slider{
        margin-top: 16px!important;
    }

    .stageImages__slider .splide__slide, .stageImages__slider .splide__slide img{
        width: 68vw!important;
        max-width: 304px;
    }

    .stageImages__slider .splide__pagination{
        position: relative;
        margin-top: 35px;
    }

    .slide-caption{
        font-size: 1.4rem;
    }

    .stageImages__slider .splide__arrow--next{
        right: 20px;
    }

    .stageImages__slider .splide__arrow--prev{
        left: 20px;
    }

    .stageImages__slider .no-slider{
        flex-direction: column;
        gap: 20px;
    }
    
}




/* ボイスサンプル */


.voiceSample__list{
    display: grid;
    gap: 60px;
    grid-template-columns: repeat(auto-fill, 440px);
    justify-content: center;
    align-items: end;
    padding-bottom: 30px;
}



.voiceSample__title{
    color: #c3303c;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 10px;
}

@media screen and (max-width: 959px) {
    .voiceSample__list{
        grid-template-columns: repeat(auto-fill, 304px);
        gap: 20px;
        padding-bottom: 12px;
    }
    .voiceSample__title{
        font-size: 1.4rem;
    }
}

.audio-player {
    background: #F3D6D8;
    border-radius: 50px;
    width: 440px;
    height: 64px;
    display: flex;
    align-items: center;
    padding: 0 15px;
    /* font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; */
    gap: 8px;
  }

  @media screen and (max-width: 959px) {
    .audio-player {
        width: 100%;
        max-width: 304px;
        margin: 0 auto;
    }
  }

  .play-btn {
    /* background: transparent; */
    border: none;
    width: 40px;
    height: 40px;
    cursor: pointer;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #333;
    background-color: #fff;
    border-radius: 50%;
    font-size: 1.6rem;
    flex-shrink: 0;
  }

  .play-btn:hover {
    color: #c3303c;
  }

  .time {
    font-size: 16px;
    color: #333;
    min-width: 80px;
    text-align: left;
    font-weight: 600;
    letter-spacing: -0.01em;
  }

  @media screen and (max-width: 959px) {
    .time {
       font-size: 1.1rem;
       min-width: 0;
    }
  }

  .slider-container {
    flex-grow: 1;
    display: flex;
    align-items: center;
    height: 100%;
    position: relative;
    min-width: 50px;
    transition: flex-grow 0.2s ease;
  }

  .progress-slider {
    width: 100%;
    -webkit-appearance: none;
    height: 4px;
    background: #888888;
    border-radius: 2px;
    outline: none;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    margin: 0;
    padding: 0;
  }

  .progress-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 12px;
    height: 12px;
    background: #c3303c;
    border-radius: 50%;
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.2s;
    margin-top: -4px;
  }

  .progress-slider:hover::-webkit-slider-thumb {
    opacity: 1;
  }

  .progress-slider::-webkit-slider-runnable-track {
    height: 4px;
    background: linear-gradient(to right, #c3303c var(--progress), #888888 0);
    border-radius: 2px;
    border: none;
  }

  .volume-container {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 32px;
    position: relative;
  }

  @media screen and (max-width: 959px) {
    .volume-container {
        min-width: 0;
        gap: 0;
    }
  }

  .volume-slider-wrapper {
    width: 0;
    overflow: hidden;
    transition: width 0.2s ease;
    display: flex;
    align-items: center;
  }

  .volume-container:hover .volume-slider-wrapper {
    width: 60px;
  }

  .volume-container:hover ~ .slider-container {
    flex-grow: 0.7;
  }

  .volume-btn {
    background: transparent;
    border: none;
    width: 28px;
    height: 28px;
    cursor: pointer;
    padding: 0;
    color: #333;
    /* border-radius: 50%; */
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .volume-btn:hover {
    color: #c3303c;
  }

  .volume-btn svg {
    width: 20px;
    height: 20px;
  }

  .volume-slider {
    width: 50px;
    -webkit-appearance: none;
    height: 4px;
    background: #dadce0;
    /* border-radius: 50%; */
    outline: none;
    margin: 0 5px;
  }

  .volume-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 2px;
    height: 12px;
    background: #333;
    /* border-radius: 50%; */
    cursor: pointer;
    margin-top: -4px;
  }

.volume-slider::-webkit-slider-runnable-track {
    height: 4px;
    background: linear-gradient(
        to right,
        #c3303c 0%,
        #c3303c var(--volume),
        #333 var(--volume),
        #333 100%
    );
    /* border-radius: 2px; */
    border: none;
}

  .menu-container {
    position: relative;
  }

  .menu-btn {
    background: transparent;
    border: none;
    width: 28px;
    height: 28px;
    cursor: pointer;
    padding: 0;
    color: #333;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  @media screen and (max-width: 959px) {
    .menu-btn{
        width: 10px;
        height: 10px;
    }
  }
  

  .menu-btn:hover {
    background: #E8EAED;
  }

  .three-dots {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 2px;
  }

  .dot {
    width: 3px;
    height: 3px;
    background: currentColor;
    border-radius: 50%;
  }

  .dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    border-radius: 4px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
    padding: 8px 0;
    min-width: 160px;
    display: none;
    z-index: 1000;
  }

  .dropdown-menu.show {
    display: block;
  }

  .menu-item {
    display: flex;
    align-items: center;
    padding: 0 16px;
    height: 32px;
    cursor: pointer;
    color: #333;
    font-size: 13px;
    gap: 12px;
  }

  .menu-item:hover {
    background: #F1F3F4;
  }
  
  .menu-item a:focus, .menu-item a:active, .menu-item a:hover {
    text-decoration: none!important;
    color: #333;
  }

  .menu-item svg {
    width: 18px;
    height: 18px;
    display: inline-block;
    vertical-align: middle;
    margin-right: 5px;
    color: #5F6368;
  }

  /*Credits */

  .creditsText{
    text-align: right;
    font-size: 1.4rem;
    line-height: 1.4;
    color: #888;
    max-width: 720px;
    margin-left: auto;
    padding-top: 40px;
  }

  @media screen and (max-width: 959px) {
    .creditsText{
        font-size: 1.3rem;
        padding-top: 30px;
        max-width: 270px;
    }
    
  }


/* agentContact */

.agentContact__wrapper {
    border-radius: 8px;
    background: #EEE;
    padding: 40px;
}

.agentContact__inner {
    border-radius: 4px;
    background: #FFF;
}

.agentContact__content{
    display: flex;
    padding: 30px;
    border-bottom: 1px solid #EEE;
}

.agentContact__content p{
    margin-bottom: 0;
}

#email p:first-child, #telephone p:first-child{
    width: 230px;
    flex-shrink: 0;
}

#email p:nth-child(2), #telephone p:nth-child(2){
    padding-left: 20px;
    flex-shrink: 1;
}


#telephone p:first-child{
    font-weight: bold;
}

#email p:first-child{
    font-weight: bold;
}

.email-text{
    text-decoration: underline;
}

@media screen and (max-width: 959px) {

    #email p:first-child, #telephone p:first-child{
        width: 105px;
        flex-shrink: 0;
    }
    .agentContact__wrapper {
        padding: 20px;
    }

    .agentContact__content{
        padding: 20px;
    }
}

@media screen and (max-width: 767px) {
    #email p:first-child, #telephone p:first-child{
        width: 70px;
        flex-shrink: 0;
    }
}

/* 一覧に戻る */


.returnBtnWrapper{
    padding: 40px;
    margin-top: 40px;
}

.returnBtn{
    max-width: 306px;
    height: 60px;
    margin: 0 auto;
}

.returnBtn::before{
    transform: rotate(-180deg);
}

@media screen and (max-width: 959px) {
    .returnBtnWrapper{
        padding: 20px;
        margin-top: 40px;
    }

    .returnBtn{
        width: 100%;
        height: 40px;
        
    }

    .btn__linkArrow {
		padding: 17px 0;
		font-size: 1.3rem;
		justify-content: center;
        background: none;
	}

	.btn__linkArrow:before {
		content: "";
		width: 7px;
		height: 12px;
		margin: 0 13px 0 0;
		overflow: hidden;
		background: url(/element_2017/images/arrow_middle_right_btn2.png) left top no-repeat;
		display: inline-block;
	}

	.btn__linkArrow:hover:before {
		background-position: left bottom;
	}

	.btn__linkArrow:hover {
		border: solid 1px #c3303c;
		text-decoration: none;
        color: #c3303c;
	}
    
}