/* 共通箇所 */
html {
    visibility: hidden;
}
html.wf-active,
html.loading-delay {
    visibility: visible;
}
:root{
    --white:#fffffa;
    --base__color:#F9F9E0;
    --light__base:#FFFFF6;
    --heavy__base:#CCCCA0;
    --heavy__base2:#9a9a7e;
    --red:#E60A14;
    --deep__red:#BE191E;
    --logo__font:#585757;
    --font__color:#212121;
    --light__gray:#f2f2f2;
    --orange:#FFBC88;
    --heavy__orange:#EF7212;
    --pink:#EEB8B8;
    --heavy__pink:#E57575;
    --blue:#9CC0D1;
    --heavy__blue:#4D8098;
    --green:#ADD2A4;
    --heavy__green:#6BA25E;
    --box__shadow:rgba(135, 135, 135, 0.5);
}
h1{
    font-size: 3.052rem;
}
h2{
    font-size: 2.441rem;
}
h3{
    font-size: 1.953rem;
}
h4{
    font-size: 1.563rem;
}
h5{
    font-size: 1.25rem;
}
p{
    font-size: 1rem;
    letter-spacing: 0.04em;
}
small{
    font-size: 0.8rem;
}
.small{
    font-size: 0.8em;
}
.br1300{
    display:none;
}
.br1000{
    display:none;
}
.br800{
    display:none;
}
.br550{
    display:none;
}
.hidden1300{
    display:block;
}
.display1300{
    display:none;
}
body{
    font-family: "noto-sans-cjk-jp", sans-serif;
    font-weight: 400;
    font-style: normal;
    line-height: 1.6em;
    color:var(--font__color);
    background: var(--white);
}
main{
    overflow: hidden;
}
.title__wrap{
    width:100%;
    max-width: 1500px;
    padding:1em 0;
    margin:0 auto;
}
.title{
    width:fit-content;
    max-width: 80vw;
    padding:0.5em 2em;
    font-size: 1.8em;
    font-weight: 700;
    letter-spacing: 0.2em;
    z-index: 1;
    position: relative;
    margin:0 auto;
    color:var(--logo__font);
    background:var(--heavy__base);
    border-radius: 2em;
}
.left__button{
    display:flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color:var(--logo__font);
    width:50px; height: 50px;
    border-radius: 50%;
    background:rgba(250, 250, 250, 0.8);
    position:absolute;
    top:45%; left:-10px;
    z-index:1;
}
.right__button{
    display:flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color:var(--logo__font);
    width:50px; height: 50px;
    border-radius: 50%;
    background:rgba(250, 250, 250, 0.8);
    position:absolute;
    top:45%; right:-10px;
    z-index:1;
}
.scroll{
    -webkit-overflow-scrolling: touch;
    cursor: grab;
}
.scroll:active {
    cursor: grabbing;
}
.button__link{
    background: var(--base__color);
    width:fit-content;
    padding:0.5em 1em;
    border-radius: 2em;
    font-weight: 500;
    box-shadow: 0px 0px 10px var(--box__shadow);
    transition: all 0.3s;
    display: flex;
    justify-content:space-between;
    align-items: center;
    gap:1em;
}
.button__link:hover{
    background: var(--heavy__base);
    color:var(--white);
    box-shadow: none;
}
.button__center{
    width: fit-content;
}
.bold{
    font-weight: 700;
}
/* 共通アニメーション */
.pop__up{
    transform: translateY(50px);
    opacity: 0;
}
.animation__pop__up{
    animation:animation__pop__up 0.3s linear forwards;
}
@keyframes animation__pop__up {
    to{
        transform: translate(0);
        opacity: 1;
    }
}
.pop__on{
    transform:scale(0.9);
    opacity: 0;
}
.animation__pop__on{
    animation:animation__pop__on 0.3s linear forwards;
}
@keyframes animation__pop__on {
    to{
        transform: scale(1);
        opacity: 1;
    }
}
/* メインビジュアル ＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊*/
.mv{
    height:100vh;
    width:100%;
    overflow: hidden;
    position:fixed;
    top:0; left:0;
    z-index: -1;
}
.slide{
    position:absolute;
    top:0; left:0;
    width:100%;
    z-index: -1;
    overflow: hidden;
}
.slide__bg{
    position:absolute;
    top:0; left:0;
    width:100%;
    height:100vh;
    background: linear-gradient(to bottom, rgba(0,0,0,0)85%,var(--white));
}
.slide img{
    height:100vh;
    width:100%;
    opacity: 0;
    object-fit: cover;
}
.slide img:nth-child(1){
    position:relative;
}
.slide img:nth-child(2){
    position:absolute;
    top:0; left:0;
}
.slide img:nth-child(3){
    position:absolute;
    top:0; left:0;
}
.animation1{
    animation: slide 15s infinite;
}
.animation2{
    animation: slide 15s infinite;
    animation-delay:5s;
}
.animation3{
    animation: slide 15s infinite;
    animation-delay:10s;
}
@keyframes slide{
    0%{
        opacity:0;
        transform: scale(1.1);
    }
    15%{
        transform: scale(1);
    }
    20%{
        opacity:1;
    }
    33%{
        opacity:1;
    }
    50%{
        opacity: 0;
    }
    100%{
        transform: scale(1);
    }
}
.mv__contents{
    width:100%;
    height:100vh;
    margin:0 auto;
    padding:10em 2em 5em 0 ;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.mv__contents .button{
    margin-left: auto;
}
.mv__title{
    width:fit-content;
    padding:2em 1em 2em 10%;
    display:flex;
    flex-direction: column;
    gap:1em;
    position:relative;
}
.mv__title__bg{
    position:absolute;
    top:0; left:-120%;
    width:120%;
    height:100%;
    background: #ffffffa5;
    z-index: -1;
    transform: skewX(-18deg) translateX(-10%);
    border-radius: 0 0 50px 0;
    box-shadow: 5px 5px 10px #ffffffa5 ,-5px -5px 10px #ffffffa5;
}
.animation__mv__title__bg{
    animation:mv__title__bg 0.5s cubic-bezier(0.8, 0, 0.170, 1) 1s forwards;
}
@keyframes mv__title__bg {
    to{
        left:0;
    }
}
.mv__title h2{
    line-height: 1em;
    font-size: max(2.3rem,2.5vw);
    transform:scale(0.95);
    opacity: 0;
}
.mv__title h1{
    line-height: 1em;
    font-size: max(2.5rem,3.3vw);
    text-indent: 1em;
    letter-spacing: 0.05em;
    font-weight: 700;
    transform:scale(0.95);
    opacity: 0;
}
.animation__mv__title__h2{
    animation:mv__title 0.5s cubic-bezier(0.8, 0, 0.170, 1) 1.5s forwards;
}
.animation__mv__title__h1{
    animation:mv__title 0.5s cubic-bezier(0.8, 0, 0.170, 1) 2s forwards;
}
@keyframes mv__title {
    to{
        transform:scale(1);
        opacity: 1;
    }
}
.resp__title2{
    display:none;
}
.back__line{
    background: linear-gradient(50deg,#fff456 0%, #ff2f00 100%);
    background-repeat: no-repeat;
    background-position:-1000px 100%;
    background-size: 100% 35%;
    animation: text__back1 1s ease-in 1.5s forwards;
    font-weight: 500;
    padding:0 0.5em;
}
@keyframes text__back1{
    0%{
        background-position:-1000px 100%;
    }
    100%{
        background-position:center 100%;
    }
}
/* スクロールダウン */
.sp__scroll__wrap{
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    width: 100vw;
}
.sp__scroll__inner {
    display:flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap:0.5em;
}
.arrow {
    position: absolute;
    width: 28px;
    height: 8px;
    opacity: 0;
    transform: scale3d(0.5, 0.5, 0.5);
}
.arrow:nth-child(1) {
    animation: move 3s ease-out infinite;
}
.arrow:nth-child(2){
    animation: move 3s ease-out 1s infinite;
}
.arrow:nth-child(3) {
    animation: move 3s ease-out 2s infinite;
}
.arrow:before,
.arrow:after {
    content: ' ';
    position: absolute;
    top: 0;
    height: 100%;
    width: 51%;
    background: var(--heavy__base2);
}
.arrow:before {
    left: 0;
    transform: skew(0deg, 30deg);
}
.arrow:after {
    right: 0;
    width: 50%;
    transform: skew(0deg, -30deg);
}
@keyframes move {
    25% {
        opacity: 1;
    }
    33% {
        opacity: 1;
        transform: translateY(30px);
    }
    67% {
        opacity: 1;
        transform: translateY(40px);
    }
    100% {
        opacity: 0;
        transform: translateY(55px) scale3d(0.5, 0.5, 0.5);
    }
}

.text {
    display: block;
    font-size: 1rem;
    font-weight: 600;
    color: var(--heavy__base2);
    text-transform: uppercase;
    white-space: nowrap;
}
/* 事業内容アナウンス ＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊*/
.contents__wrap{
    background: linear-gradient(to top,var(--white) 97%,rgba(0,0,0,0));
    margin-top:100vh;
    padding-top:8vh;
}
.main__cards{
    margin:5em auto 0 auto;
    width:100%;
    max-width: 2000px;
    display: flex;
    flex-direction: column;
    gap:4em;
}
.card__wrap{
    display: grid;
    align-items: center;
}
.card__wrap:nth-child(1),.card__wrap:nth-child(3){
    grid-template-columns: 1fr 700px;
}
.card__wrap:nth-child(2),.card__wrap:nth-child(4){
    grid-template-columns: 700px 1fr;
}
.card__img__wrap img{
    width:100%;
    opacity: 0;
}
.card__wrap:nth-child(1) img,.card__wrap:nth-child(3) img{
    border-radius: 0 50px 50px 0;
}
.card__wrap:nth-child(2) img,.card__wrap:nth-child(4) img{
    border-radius: 50px 0 0 50px;
}
.animation__card__img{
    animation: animation__card__img 0.5s linear 0.2s forwards;
}
@keyframes animation__card__img {
    to{
        opacity: 1;
    }
}
.card__img__wrap{
    width:100%;
    transition: all 1s;
    overflow: hidden;
    position:relative;
}
.card__wrap:nth-child(1) .animation__card__img__wrap::before,.card__wrap:nth-child(3) .animation__card__img__wrap::before{
    animation: animation__card__img__wrap__left 0.9s cubic-bezier(0.4, 0, 0.2, 1) 0.2s forwards;
    width:120%;
    background: var(--white);
    transform: skewX(19deg);
    content: '';
    inset: 0;
    pointer-events: none;
    position: absolute;
    z-index: 1;
}
@keyframes animation__card__img__wrap__left {
    100% {
        transform: translateX(120%) skewX(19deg);
    }
}
.card__wrap:nth-child(2) .animation__card__img__wrap::before,.card__wrap:nth-child(4) .animation__card__img__wrap::before{
    animation: animation__card__img__wrap__right 0.9s cubic-bezier(0.4, 0, 0.2, 1) 0.2s forwards;
    width:120%;
    background: var(--white);
    transform: translateX(-10%) skewX(-19deg);
    content: '';
    inset: 0;
    pointer-events: none;
    position: absolute;
    z-index: 1;
}
@keyframes animation__card__img__wrap__right {
    100% {
        transform: translateX(-120%) skewX(-19deg);
    }
}

.card{
    width: fit-content;
    height: fit-content;
    padding:1em 2em 2.5em 2em;
    background:var(--light__base);
    box-shadow: 0px 0px 30px var(--box__shadow);
    position: relative;
    z-index: 1;
    transition: all 0.3s;
    cursor: pointer;
    border-radius: 1em;
    opacity:0;
}
.card__wrap:nth-child(1) .card,.card__wrap:nth-child(3) .card{
    transform: translateX(-100px);
}
.card__wrap:nth-child(2) .card,.card__wrap:nth-child(4) .card{
    transform: translateX(100px);
}
.animation__card{
    animation: animation__card 0.5s linear 0.2s forwards;
}
@keyframes animation__card {
    to{
        opacity:1;
    }
}
.card__inner{
    display:flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap:1em;
}
.card hr{
    width:100%;
    border:2px solid var(--heavy__base);
}
.resp__wrap{
    display:flex;
    flex-direction: column;
    gap:1em;
}
.card:hover{
    box-shadow: none;
    background:var(--base__color);
}
.card:hover img{
    transform: scale(1.05);
}
.back__line3{
    background: linear-gradient(135deg,#fff350 0%, #ffdb4d 40%, #ffcf4a 100%);
    background-repeat: no-repeat;
    background-position:center 90%;
    background-size: 100% 35%;
    font-weight: 700;
}
.back__line4{
    background: linear-gradient(135deg,#fff350 0%, #ffdb4d 40%, #ffcf4a 100%);
    background-repeat: no-repeat;
    background-position:center 60%;
    background-size: 100% 35%;
    font-weight: 700;
    font-size: 1.3em;
    }
.under__line3{
    position: relative;
    padding-bottom: 1px;
    font-weight: 700;
    line-height: 3em;
}
.under__line3::before {
    background: linear-gradient(135deg,#ffc014 0%, #ff4116 100%);
    background-repeat: no-repeat;
    content: '';
    width: 100%;
    height: 3px;
    position: absolute;
    left: 0;
    bottom: 0;
    margin: auto;
}
.card h3{
    text-align: center;
    width:fit-content;
    line-height: 1em;
    margin:auto;
}
.card__inner .small{
    font-size: 1rem;
    font-weight: 300;
}
.card__point__wrap{
    display: flex;
    align-items: center;
    gap:1em;
}
.point{
    width:80px;
    border-radius: 0.2em;
    color:#fff;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-align: center;
}
.card .point{
    background:var(--deep__red);
}
.point__caption{
    font-weight: 500;
    color: var(--deep__red);
}

.card__text__wrap{
    display:flex;
    flex-direction: column;
    justify-content: center;
    gap:1em;
}
.card__text{
    width:auto;
}
.card__tag{
    width:fit-content;
    padding:0.2em 1em;
    position:absolute;
    bottom:0; left:0; right:0;
    margin:auto;
    display: flex;
    gap:1em;
    border-radius: 1em 1em 0 0 ;
    color:var(--white);
    font-weight: 500;
}
.card .card__tag{
    background: var(--heavy__base2);
}

/* 施工実績 ＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊*/
.main__examples{
    width:100%;
    margin:2em auto;
    max-width: 1200px;
    display:flex;
    gap:2em;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position:relative;
}
.examples__inner{
    width:100%;
    display:flex;
    gap:2em;
    padding:0 1em;
}
.examples__inner::-webkit-scrollbar{
    display:none;
}
.example{
    cursor: pointer;
    width:100%;
    padding:0 1em 3em 1em;
    border-radius: 1em ;
    display:flex;
    flex-direction: column;
    gap:1em;
    position:relative;
    background:var(--light__base);
    transform:translateY(100px);
    opacity: 0;
    box-shadow: 0px 0px 20px var(--box__shadow);
    transition:all 0.5s;
}
.example:nth-child(2){
    animation-delay: 0.2s;
}
.example:nth-child(3){
    animation-delay: 0.5s;
}
.animation__slide__up{
    animation:slide__up 1s forwards;
}
@keyframes slide__up {
    to{
        transform: translateY(0);
        opacity: 1;
    }
}
.example:hover{
    box-shadow: none;
    background:var(--base__color);
}
.example:hover img{
    transform: scale(1.05);
}
.example__img__wrap{
    width:100%;
    overflow: hidden;
    border-radius: 1em;
}
.example .card__tag{
    background:var(--heavy__base2);
}
.example h4{
    width:fit-content;
    padding:0.5em 0 0 0;
    text-align: center;
    line-height: 1.1em;
    margin:0 auto;
}
.example h4 .small{
    font-weight: 300;
    font-size: 1rem;
}
.example hr{
    height: 3px;
    background: var(--heavy__base);
    border: none;
}
.example__inner{
    display: flex;
    flex-direction: column;
    gap:0.5em;
}
.example__info__wrap{
    display:flex;
    flex-direction: column;
    gap:0.5em;
}
.list__title{
    font-size: 0.8rem;
    color:var(--deep__red);
}
.example__title{
    color:var(--deep__red);
    font-size: 1rem;
    font-weight: 500;
}
.example__list{
    display:flex;
    flex-direction: column;
}
.example__main__img{
    width:100%;
    object-fit: cover;
    border-radius: 1em;
    transition:all 1s;
}
.example__message{
    background:var(--base__color);
    border-radius: 1em ;
    padding:1em;
}
.example__message img{
    width:100%;
    height:100%;
    margin:0.5em 0;
}
.text__limit{
    overflow-y: scroll;
    max-height: 360px;
}
.text__limit::-webkit-scrollbar{
    width: 10px;
    height: 10px;

}
.text__limit::-webkit-scrollbar-thumb {
    background-color: var(--heavy__base);
    border-radius: 10px;
}
.example__button{
    width:fit-content;
    padding:0.1em 1em;
    background:var(--deep__red);
    border-radius: 10px;
    box-shadow: 5px 5px 5px rgba(69, 69, 69, 0.8);
    transition: all 0.3s;
    display:flex;
    justify-content: space-around;
    align-items: center;
    gap:1em;
    color: #fff;
    margin:auto;
}
.example__button:hover{
    box-shadow: none;
    transform: translateY(3px);
}
/* お客様の声 ＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊*/
.main__reviews{
    width:100%;
    max-width: 1100px;
    margin:2em auto;
    padding:0 1em;
    display:flex;
    gap:2em;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position:relative;
}
.reviews__wrap{
    width:100%;
    margin:0 auto;
    display:grid;
    grid-template-columns: 1fr 1fr;
    gap:1.5em;
}
.reviews__wrap::-webkit-scrollbar{
    display:none;
}
.review{
    display:grid;
    grid-template-columns: 2fr 1fr 1.5em;
    align-items: center;
    background:var(--light__base);
    box-shadow: 0px 0px 20px var(--box__shadow);
    border-radius: 1em;
    padding:1em 0 1em 1em;
    position:relative;
    cursor:pointer;
    transition: all 0.3s;
    transform:translateX(200px);
    opacity:0;
}
.animation__review{
    animation:animation__review 0.5s linear forwards;
}
@keyframes animation__review {
    to{
        transform: translate(0);
        opacity: 1;
    }
}
.review:nth-child(2){
    animation-delay: 0.2s;
}
.review:nth-child(4){
    animation-delay: 0.2s;
}
.review:nth-child(6){
    animation-delay: 0.2s;
}
.review:hover{
    background:var(--base__color);
    box-shadow: none;
}
.review .card__tag{
    background:var(--heavy__base);
    margin-left:auto;
    flex-direction: column;
    position:static;
    border-radius: 1em 0 0 1em;
    padding:0.5em 0;
    gap:0.5em;
}
.review .card__tag p{
    -ms-writing-mode: tb-rl;
    writing-mode: vertical-rl;
    text-shadow: 0px 0px 10px var(--box__shadow);
    font-size: 0.9rem;
}
.reviewer__info{
    font-size: 1rem;
}
.reviewer__score{
    color:var(--heavy__orange);
    letter-spacing: 0.1em;
}
.reviewer__score__center{
    text-align: center;
}
.review__flex{
    display:grid;
    grid-template-columns: 1fr 230px;
    align-items: center;
    gap:1em;
}
.review__icon{
    width:100%;
    border-radius: 50%;
    background:var(--light__gray);
}
.review ul{
    width:fit-content;
    font-weight: 500;
}
.review__top__img{
    width:100%;
    border-radius: 1em;
    padding:0.5em;
}
.review__text img{
    max-height:100px;
    object-fit: cover;
    margin:1em 0;
    border-radius: 1em;
}
.review__limit{
    overflow: hidden;
    display: -webkit-box;
    text-overflow: clip;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
}
.wrap__center{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap:1em;
}
/* 取り扱いメーカー ＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊*/

.main__companies__loop{
    display:flex;
    width:100%;
    margin:1em auto;
    overflow:hidden;
}
.line1-1,.line1-2{
    display: flex;
    flex-shrink: 0;
    animation: loop-slide1 40s infinite linear 1s both;
}
@keyframes loop-slide1 {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-100%);
    }
}
.line2-1,.line2-2{
    display: flex;
    flex-shrink: 0;
    animation: loop-slide2 40s infinite linear 1s both;
}

@keyframes loop-slide2 {
    from {
        transform: translateX(-100%);
    }
    to {
        transform: translateX(0%);
    }
}
.company{
    width:250px;
    height:60px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
    border:1px solid var(--font__color);
    margin-left:1em;
}
.company img{
    width:250px;
    height:60px;
    padding:2.5px;
    object-fit:cover ;
}
/* 施工実績一覧ページ＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊ */
.example__all__items{
    width:90%;
    max-width: 1500px;
    margin:0 auto;
    padding:2em 1em;
    display:grid;
    grid-template-columns: repeat(auto-fit,minmax(300px,1fr));
    gap:1em;
}
.example__all__item{
    width:100%;
    max-width: 500px;
    position:relative;
    display: flex;
    flex-direction: column;
    gap:1em;
    padding:1em 1em 3em 1em;
    background:var(--light__base);
    border-radius: 1em;
    box-shadow: 0px 0px 10px var(--box__shadow);
    cursor: pointer;
    transition:all 0.3s;
}
.example__all__item:hover{
    box-shadow: none;
    background: var(--base__color);
}
.example__all__item:hover img{
    transform: scale(1.1);
}
.example__all__item h4{
    text-align: center;
}
.example__all__item h4 .small{
    font-size: 1rem;
}
.example__all__img__wrap{
    width:100%;
    height:100%;
    border-radius: 2em 0 2em 0;
    overflow: hidden;
}
.example__all__item img{
    width:100%;
    transition: all 0.5s;
}
.example__all__tag{
    width:fit-content;
    padding:0 1em;
    display:flex;
    gap:1em;
    background:var(--heavy__base2);
    border-radius: 1em 1em 0 0 ;
    color:var(--white);
    position:absolute;
    bottom:0; left:0; right:0;
    margin:auto;
}
.button__wrap{
    width:100%;
    max-width: 1500px;
    margin:2em auto;
    display: flex;
    justify-content: center;
}
/* 詳細ページ */
.detail__button{
    background:var(--heavy__base2);
    padding:0.5em 1em;
    display:flex;
    align-items: center;
    gap:1em;
    box-shadow: 0px 0px 10px var(--box__shadow);
    border-radius: 1em;
    color: var(--white);
    font-weight: 500;
    transition:all 0.3s;
}
.detail__button i{
    transform: rotate(180deg);
}
.detail__button p{
    letter-spacing: 0.1em;
}
.detail__button:hover{
    background:var(--deep__red);
    box-shadow: none;
}
.example__detail__items{
    padding:2em 0;
}
.example__detail{
    width:95%;
    max-width: 1200px;
    margin:0 auto;
    background:var(--light__base);
    box-shadow: 0px 0px 20px var(--box__shadow);
    padding:1em 2em;
    border-radius: 1em;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.example__detail h3{
    text-align: center;
    margin:0.5em 0;
}
.example__detail hr{
    width:100%;
    border:3px solid var(--heavy__base);
}
.example__detail__info__wrap{
    margin:1em 0;
    display:flex;
    flex-direction: column;
    gap:1em;
}
.example__detail__title{
    color:var(--deep__red);
    font-weight: 700;
    letter-spacing: 0.1em;
}
.example__detail__main__img{
    width:100%;
    max-width: 800px;
    margin:1em auto;
    border-radius: 2em;
    box-shadow: 0px 0px 20px var(--box__shadow);
}
.example__detail__text{
    background:var(--base__color);
    padding:1em;
    border-radius: 1em;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.example__detail__text p{
    width:fit-content;
}
.example__detail__text img{
    width:100%;
    height:100%;
    margin:1em 0;
    max-width: 700px;
    border-radius: 1em;
}
/* お客様の声一覧ページ＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊ */
.voice__all__main{
    padding:100px 0 2em 0;
}
.voice__all__search{
    width:100%;
    max-width:800px;
    margin:2em auto;
    background:var(--base__color);
    padding:1em;
    border-radius: 1em;
}
.voice__all__search form{
    display:flex;
    flex-direction: column;
    gap:1em;
}
.review__all__wrap{
    width:90%;
    max-width: 1500px;
    padding:2em 1em;
    margin:0 auto;
}
.review__all__inner{
    display:grid;
    grid-template-columns: repeat(auto-fit,minmax(250px,1fr));
    gap:2em;
}
.review__all__item{
    max-width: 500px;
    padding:1em 1em 2em 1em;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap:0.5em;
    background:var(--light__base);
    border-radius: 1em;
    position: relative;
    cursor: pointer;
    box-shadow: 0px 0px 10px var(--box__shadow);
    transition: all 0.3s;
}
.review__all__item:hover{
    background:var(--base__color);
    box-shadow: none;
}
.review__all__item:hover .review__all__text img{
    transform: scale(1.1);
}
.review__all__tag{
    width:fit-content;
    display:flex;
    justify-content: center;
    align-items: center;
    gap:0.5em;
    background:var(--heavy__base2);
    color:var(--white);
    border-radius: 0.5em 0.5em 0 0;
    padding:0 1em;
    position:absolute;
    bottom:0; left:0; right:0;
    margin:0 auto;
}
.review__all__icon{
    width:100px;
    background:var(--light__gray);
    border-radius: 50%;
}
.review__all__text{
    font-size: 0.8rem;
    overflow: hidden;
    display: -webkit-box;
    text-overflow: ellipsis;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
    border-radius: 1em;
}
.review__all__text img{
    width:100%;
    height: auto;
    transition: all 0.3s;
}
/* 詳細ページ */
.voice__detail__main{
    padding:100px 0 2em 0;
}
.review__detail__item{
    width:95%;
    max-width: 1200px;
    margin:0 auto;
    background:var(--light__base);
    box-shadow: 0px 0px 20px var(--box__shadow);
    padding:1em 2em;
    border-radius: 1em;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.review__detail__item h3{
    text-align: center;
    margin:0.5em 0;
}
.review__detail__item hr{
    width:100%;
    border:3px solid var(--heavy__base);
}
.review__detail__img{
    width:100%;
    max-width: 800px;
    border-radius: 1em;
    margin:1em auto;
}
.review__detail__info__wrap{
    display: flex;
    gap:1em;
    align-items: center;
    margin:1em;
}
.review__detail__icon{
    width:100px;
    background:var(--light__gray);
    border-radius: 50%;
}
.review__detail__text{
    background:var(--base__color);
    padding:1em;
    border-radius: 1em;
    margin-bottom:1em;
}
.review__detail__text img{
    width:100%;
    height:100%;
    max-width: 600px;
    object-fit: cover;
    margin:0.5em 0;
    border-radius: 1em;
}
/* 一覧ページ検索ボックス＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊ */
.example__all__wrap{
    width:100%;
    padding:0 1em;
}
.example__all__search{
    width:fit-content;
    margin:0 auto;
    background:var(--base__color);
    border-radius: 1em;
    padding:2em;
}
.example__all__form{
    width:100%;
    display:flex;
    gap:2em;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}
.example__all__form .grid{
    width:100%;
    max-width: 500px;
    margin:0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(200px,1fr));
    justify-content: center;
    align-items: center;
    gap:1em;
}
.select__items{
    display:flex;
    flex-wrap: wrap;
    gap:1em;
}
.select__item{
    display: flex;
}
.select__caption{
    width:fit-content;
    background:var(--heavy__base2);
    color:var(--white);
    font-size: 1rem;
    padding:0.5em;
    border-radius: 0.5em 0 0 0.5em;
    box-shadow: 0px 0px 10px var(--box__shadow);
    transition: all 0.3s;
}
.select__input{
    position:relative;
    width:fit-content;
}
.select__input select{
    position: relative;
    width: 100%;
    padding:0.5em 40px 0.5em 0.5em;
    background:var(--white);
    border-radius: 0 0.5em 0.5em 0;
    box-shadow: 0px 0px 10px var(--box__shadow);
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    cursor:pointer;
}
.select__item:hover .select__caption{
    background:var(--heavy__orange);
}
.select__input:after {
    content: "";
    position: absolute;
    right: 10px;
    top: 20px;
    width: 10px;
    height: 10px;
    border-top: 3px solid var(--heavy__base2);
    border-left: 3px solid var(--heavy__base2);
    transform: translateY(-50%) rotate(-135deg);
    font-size: 20px;
    pointer-events: none;
}

.change__button{
    display: block;
    padding: 0.2em 1em;
    background:var(--heavy__base2);
    border-radius: 2em;
    text-align: center;
    color:var(--white);
    font-size: 1.3rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    box-shadow: 0px 0px 10px var(--box__shadow);
    transition: all 0.3s;
}
.all__button{
    width:fit-content;
    margin:0 auto;
    color:var(--white);
}
.change__button:hover{
    box-shadow: none;
    background:var(--heavy__orange);
}

/* レスポンシブ ＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊*/

@media screen and (max-width: 1300px){
    .br1300{
        display:block;
    }
    .hidden1300{
        display:none;
    }
    .display1300{
        display:block;
    }
    .mv__bg2{
        margin:0 0 0 4.5em;
    }
    .mv__contents{
        overflow: hidden;
    }
    .example__details{
        display:flex;
        flex-direction: column;
    }
    .example__detail{
        grid-template-columns: 1fr 1fr;
    }
    .review{
        flex:0 0 45%;
    }
    .about__contact__wrap{
        flex-direction: column;
    }
    .company__info{
        width:80%;
    }
}
@media screen and (max-width:1000px) {
    .br1000{
        display: block;
    }
    .mv__title{
        padding:2em 1em 2em 2em;
    }
    .mv__title h1{
        line-height: 1.2em;
    }
    .indent{
        padding-left: 5em;
    }
    .card{
        width:90%;
        max-width: 700px;
    }
    .card__wrap:nth-child(1) .card__img__wrap, .card__wrap:nth-child(3) .card__img__wrap{
        padding:0 10% 0 0;
    }
    .card__wrap:nth-child(2) .card__img__wrap, .card__wrap:nth-child(4) .card__img__wrap{
        padding:0 0 0 10% ;
    }
    .card__wrap:nth-child(1), .card__wrap:nth-child(3){
        display: flex;
        flex-direction: column;
    }
    .card__wrap:nth-child(2), .card__wrap:nth-child(4){
        display: flex;
        flex-direction: column-reverse;
    }
    .card__wrap:nth-child(1) .card, .card__wrap:nth-child(3) .card{
        transform: translateX(0) translateY(-5vw);
    }
    .card__wrap:nth-child(2) .card, .card__wrap:nth-child(4) .card{
        transform: translateX(0) translateY(-5vw);
    }
    .example__text{
        display:flex;
        flex-direction: column;
        gap:1em;
    }
    .reviews__wrap{
        width:100%;
        max-width: 500px;
        margin:0 auto;
        display:flex;
        flex-direction: column;
        gap:1.5em;
    }
    .review:nth-child(2){
        animation-delay: 0s;
    }
    .review:nth-child(4){
        display: none;
    }
    .review:nth-child(5){
        display: none;
    }
    .review:nth-child(6){
        display: none;
    }
}


@media screen and (max-width:800px){
    .br800{
        display: block;
    }
    .mv__contents{
        padding:10em 1em 5em 1em;
    }
    .mv__title__bg{
        transform: skewX(0deg) translateX(-10%);
        border-radius: 0 0 0 0;
    }
    .mv__title{
        width:100%;
        padding:1em 0.5em;
        text-align: center;
        margin:0 auto;
    }
    .mv__title h2{
        font-size: 5vw;
    }
    .mv__title h1{
        text-indent: 0em;
        text-align: center;
        font-size: 6vw;
        margin:0 auto;
    }
    .indent{
        padding:0;
        font-size: 1.2em;
    }
    .hidden{
        display:none;
    }
    .under__line1, .under__line2{
        font-weight: 600;
    }
    .under__line1::before{
        animation-delay: 3s;
    }
    .under__line2::before{
        animation-delay: 3.5s;
    }
    .br__hidden1{
        display:inline-block;
    }
    .main__cards{
        margin:0 auto;
    }
    .example:nth-child(2){
        animation-delay: 0s;
    }
    .example:nth-child(3){
        animation-delay: 0s;
    }
    .main__examples{
        margin:1em auto 2em auto;
    }
    .example{
        gap:0.5em;
    }
    .example h3{
        padding:0;
    }
    .examples__inner{
        width:85%;
        max-width: 500px;
        display: flex;
        flex-direction: column;
    }
    .example .text__limit{
        max-height: 400px;
    }
    .example__title{
        font-size: 1rem;
    }
    .example__list{
        flex-direction: column;
        align-items: start;
        gap:0;
    }
    .reviews__wrap{
        width:100%;
    }
    .about__contact__wrap{
        width:98%;
        padding:1em;
    }
    .company__info{
        width:98%;
        padding:1em;
    }
    .company__info table{
        width:100%;
    }
    .company__info table th{
        font-size: 1rem;
    }
    .example__detail{
        padding:1em 1em;
    }
    .example__detail__text{
        padding:1em 0.5em;
    }
}
@media screen and (max-width:550px){
    h1{
        font-size: 1.802rem;
    }
    h2{
        font-size: 1.602rem;
    }
    h3{
        font-size: 1.424rem;
    }
    h4{
        font-size: 1.266rem;
    }
    h5{
        font-size: 1.125rem;
    }
    p{
        font-size: 0.85rem;
        letter-spacing: 0.04em;
    }
    small{
        font-size: 0.8rem;
    }
    .br550{
        display: block;
    }
    .display550{
        display:block;
    }
    .hidden550{
        display:none;
    }
    .br__hidden2{
        display: inline-block;
    }
    .hidden2{
        display: none;
    }
    .title{
        padding:0.5em 1em;
        font-size: 1.5em;
    }
    .mv{
        height:100vh;
    }
    .slide img{
        height:90vh;
    }
    .slide__bg{
        width:100%;
        height:90vh;
    }
    .mv__contents{
        height:90vh;
        padding:50px 1em 1em 1em;
        display:flex;
        flex-direction: column;
        justify-content: space-between;
    }
    .mv__title{
        gap:1em;
        text-align: center;
    }
    .mv__title h2{
        font-size: 6vw;
    }
    .mv__title h1{
        text-indent: 0em;
        text-align: center;
        font-size: 7vw;
        margin:0 auto;
        line-height: 1.5em;
    }
    .indent{
        padding:0;
        font-size: 1.3em;
    }
    .mv__contents .button{
        margin:0 auto;
    }
    .contents__wrap{
        background: linear-gradient(to top, var(--white) 99%,rgba(0,0,0,0));
        margin-top:100vh;
    }
    .card__point__wrap{
        flex-direction: column;
        gap:0.5em;
    }
    .point{
        width:fit-content;
        padding:0 1em;
        font-size: 0.8rem;
    }
    .example__message img{
        max-width: none;
        width: 98%;
        margin:0.5em 0;
    }
    .example__message{
        padding:0.5em;
    }
    .reviews__wrap{
        width:80%;
        padding:1em 0.5em 1em 0;
    }
    .review{
        display:flex;
        flex-direction: column;
        padding:0.5em 0.5em 2em 0.5em;
    }
    .review__flex{
        display: grid;
        grid-template-columns: 50px 1fr;
    }
    .review__text{
        text-align: center;
    }
    .review__text img{
        width:100%;
        height:100%;
        max-height: none;
        object-fit: cover;
        margin:1em 0;
        border-radius: 1em;
    }
    .review__detail__item{
        padding:1em 0.5em;
    }
    .card__tag{
        padding: 0.3em 1em;
    }
    .card__tag p{
        line-height: 1em;
        font-size: 0.9rem;
    }
    .review .card__tag{
        background:var(--heavy__base2);
        margin: 0 auto;
        flex-direction: row;
        position:absolute;
        border-radius: 1em 1em 0 0;
        padding: 0.3em 1em;
        gap:0.5em;
    }
    .review .card__tag p{
        -ms-writing-mode: tb-rl;
        writing-mode: horizontal-tb;
        text-shadow: 0px 0px 10px var(--box__shadow);
        font-size: 0.9rem;
    }
    .about__contact__wrap img{
        width:95%;
    }
    .resp__small{
        font-size: 0.8em;
    }
    .company{
        width:175px;
        height:42px;
    }
    .company img{
        width:175px;
        height:42px;
    }
    .main__about{
        padding:2em 1em;
    }
    .about__contact__wrap{
        padding:1em 0.5em;
    }
    .select__box{
        flex-direction: column;
        gap:1em;
    }
    .change__button{
        letter-spacing: 0.2em;
        font-weight: 500;
    }
    .example__all__search{
        padding:1em 0.5em;
    }
}
