/*--------------------------------
    共通
--------------------------------*/
html { scroll-behavior: smooth; }

*, ::after, ::before{
	padding: 0;
    margin: 0;
    box-sizing: border-box;
	background-repeat: no-repeat;
	text-decoration: inherit;
    vertical-align: inherit;
}

 body {
	width: 100%;
    font-family:"Shippori Mincho" , "游明朝", "Meiryo" , "MS PGothic", Sans-serif;
    font-weight: 700;
    letter-spacing: .1em;
    color: #333;
}

.js-works,
.js-works2,
.js-works-bg,
.js-works-bg2{
    display: none;
}

p {
    line-height: 1.875;
}

h1 { font-size: 26px; }
h2 { font-size: 24px; }

h1,h2,h3 {font-family:"Shippori Mincho" , "游明朝", "Meiryo" , "MS PGothic", Sans-serif;}

a {
    display: block;
	text-decoration: none;
	color: #fff;
}
a:hover { cursor: pointer; }


img {
    height: auto;
    width: 100%;
	max-width: 100%;
    border: none;
    vertical-align: top;
}

ul {
    list-style: none;
    margin: 0 0;
	padding: 0 0;
}

button {
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 0;
	-ms-border-radius: 0;
    -o-border-radius: 0;
    -moz-border-radius: 0;
	background: transparent;
	color: inherit;
	vertical-align: middle;
	text-align: inherit;
	font: inherit;
	-webkit-appearance: none;
	appearance: none;
}
.c-sp-1024 { display: none; }
.c-sp-768 { display: none; }
.c-sp-478 { display: none; }

.c-inner {
    max-width: 1100px;
    margin: 0 auto;
    width: 100%;
}

@media(max-width: 1200px) {
    .c-inner {width: 90%;}
}
@media(max-width: 1024px) {
    h1 { font-size: 26px; }

    .c-pc-1024 { display: none; }
    .c-sp-1024 { display: block;} 
}

@media(max-width: 768px) {
    h1 { font-size: 24px; }

    .c-sp-768 { display: block; }
    .c-pc-768 { display: none; }
    
}

@media(max-width: 478px) {
    h1 { font-size: 19px; }

    .c-pc-478 { display: none; }
    .c-sp-478 { display: block; }
}

@media(max-width: 378px) {
    h1 , h2 { font-size: 18px; }

}


/*-------------------------------
    ヘッダー
--------------------------------*/
header { 
    position: relative;
    z-index: 1000;
} 
.l-header {
    position: fixed;
    width: 100%;
    height: 80px;
    z-index: 700;
    transition: transform 0.6s ease-out;
}
.l-header__logo {
	position: absolute;
	top: 0;
	left: 0;
    z-index: 1000;
}
.l-header__logo a { display: inline-block; }
.l-header__logo img {height: 80px;}

.l-header__logo a:hover {
    opacity: .7;
    transition: .5s;
}

.l-header__nav--pc {
    position: relative;
	display: flex;
    justify-content: flex-end;
    z-index: 900;
}
.l-header__nav--sp {display: none;}

.l-header__item a {
    width: 100%;
    height: 80px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 40px;
    transition: color .5s;
}
.l-header__item a:hover {
    opacity: .8;
    transition: .5s;
}

.l-header__hm {display: none;}

.l-header__bg-pc {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px;
    transition: transform 0.5s ease-out;
    background: #fff;
    transform: translateY(-80px);
}

/*------ ヘッダーレスポンシブ ------*/
@media(max-width: 1500px) {
    .l-header__item a { padding: 0 20px; }
}
@media(max-width: 1200px) {
    .l-header__item a {
        font-size: 15px;
        padding: 0 10px;
    }
}

@media(max-width: 1024px) {
    .l-header__logo {
        z-index: 800;
        transition: .5s; 
        transition-delay: 2s;
    }
    .l-header__nav--pc { display: none; }
    .l-header__nav--sp {
        display: block;
        position: fixed;  
        top: 0;
        right: 0;
        width: 100%;
        flex-direction: column;
        opacity: 0;
        visibility: hidden;
    }

    .l-header__nav--sp  li+li { border-left: none; }
    .l-header__nav--sp .l-header__item {
        width: 100%;
        min-width: 220px;
        max-width: 400px;
        height: 10%;
        margin: 0 auto;
        text-align: center;
        flex-grow: 0;
    }
    .l-header__item a {
        background-position: 0 0;
        background-size: 200% auto;
        align-items: center;
        text-shadow: 0 0 0;
        color:#333;
    }
    .l-header__nav .l-header__item:nth-child(5)  a{ color: #fff; }
    
    .l-header__item a:hover {
        background-position: -100%, 0;
        transform:calc(1, 1);
    }
    .l-header__bg-hm {
        position: fixed;
        width: 100%;
        height: 0;
        top: 0;
        right: 0;
        z-index: 900;
        opacity: 0;
        transition: .8s;
            visibility: hidden;
    }

    .l-header__hm {
        display: block;
        position: absolute;
        top: 0;
        right: 0;
        z-index: 1100;
        background: #C60000;
        height: 80px;
        width: 80px;
        transition: top .5s;
        cursor: pointer;
    } 
    .l-header__hm div { margin-top: 10px; }

    .l-header__hm-line {
        display: block;
        position: relative;	
        height: 2.5px;
        background: #fff;
        transition: .5s;
        width: 30px;
        margin: 10px auto 0;
    }
    .l-header__hm-line::before,
    .l-header__hm-line::after {
        content: "";
        position: absolute;
        width: 100%;
        height: 100%;
        background: #fff;
        transition: .5s;
        width: 30px;
        transition: .5s;
    }
    .l-header__hm-line::before {
        transform: translateY(-9px);	
        -webkit-transform: translateY(-9px);
    }
    .l-header__hm-line::after {
        transform: translateY(9px);
        -webkit-transform: translateY(9px);
    } 

    .l-header__hm-txt {
        display: block;
        text-align: center;
        margin-top: 15px;
        font-size: 14px;
        color: #fff;
    }
}

@media(max-width: 600px) {
    .l-header__hm {
        width: 65px;
        height: 65px;
    }
    .l-header__logo img { 
        height: auto;
        width: 380px; 
    }
}
@media(max-width: 478px) {
    .l-header {
        background: #fff;
        height: 60px;
    }
    
    .l-header__logo {
        width: 100%;
        text-align: center;
    }
    .l-header__logo img {
        width: 100%;
        max-width: 350px;
    }

    .l-header__nav--sp {
        width: 90%;
        right: 5%;
    }
    .l-header__nav--sp .l-header__item { min-width: 190px; }
    .l-header__hm {
        top: 60px;
        height: 60px;
        width: 60px;
    }
    .l-header__hm-txt { font-size: 12px; }

    .l-header__hm-line,
    .l-header__hm-line::before,
    .l-header__hm-line::after {
        height: 2px;
        width: 25px;
        width: 25px;
    }
}

/*------ ヘッダーjs css ------*/
.l-header.js-header-open {transform: translateY(-80px);}

.l-header__bg-pc.js-header-open {transform: translateY(0);}
.l-header__nav.js-header-open .l-header__item a {color: #333;}
.l-header__nav.js-header-open .l-header__item:nth-child(5) a{color: #fff;}

.js-hm-top0 {top: 0!important;}
.js-hm-top80 {top: 80px!important;}

@media(max-width: 1024px) {
    /*----- ハンバーガークリック時 -----*/
    .l-header__nav--sp.js-nav-open {
        top: 50%;
        transform: translateY(-50%);
        opacity: 1;
        transition: .8s;
        z-index: 1000;
        min-width: auto;
        visibility: visible;
        transition-delay: .3s;
    }
    .l-header__hm-line.js-nav-open {
        background: transparent;
    }
    .l-header__hm-line.js-nav-open::before {
        transform: rotate(45deg);
        -webkit-transform: rotate(45deg);
        background: #fff;
    }
    .l-header__hm-line.js-nav-open::after {
        transform: rotate(-45deg);
        -webkit-transform: rotate(-45deg);
        background: #fff;
    }

    .l-header__bg-hm.js-nav-open {
        background: #fff;
        opacity: .7;
        visibility: visible;
        height: 100vh;
    }

    .js-header-open .l-header__bg-hm {top: 80px;}
}

@media(max-width: 478px) {
    .l-header.js-header-open {transform: translateY(-60px);}
    .l-header__hm.js-hm-top80 {top: 0!important;}
    .js-header-open .l-header__bg-hm {top: 60px;}
}


/*--------------------------------
    追従ボタン
--------------------------------*/
.p-fix {
    position: fixed;
    bottom: 2%;
    right: 2%;
    transform: translate(-2%,-2%);
    z-index: 900;
    display: flex;
    flex-direction: column;
    gap: 20px;
    transition: .5s;
}

.p-fix div {
    width: 90px;
    transition: .5s;
}

.p-fix div:hover {
    transform: scale(1.2);
}

.js-fix-hidden {
    visibility: hidden;
    opacity: 0;
}

@media(max-width: 768px) {
    .p-fix div {width: 80px;}
}
@media(max-width: 478px) {
    .p-fix div { width: 65px; }
}

/*--------------------------------
    fv
--------------------------------*/
#p-fv {
    width: 100%;
    overflow: hidden;
    position: relative;
    height: 100svh;
}
#p-fv .swiper {
    z-index: 0;
}
#p-fv .p-fv__slide {
    height: 100vh;
}
#p-fv .p-fv__slide-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    animation: p-fv__swiper 4s linear infinite alternate;
}
@keyframes p-fv__swiper {
    0% { transform: scale(1); }
    100% { transform: scale(1.05); }
}

.p-fv__txt {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    width: 100%;
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.p-fv__mask {
    background-color: rgba(0, 0, 0, .5);
}

.p-fv__txt h1 {
    line-height: 1.5;
    font-size: 42px;
    color: #fff;
}
.p-fv__txt img {
    margin-top: 15px;
    width: 450px;
}
.p-fv__arrows {
    width: 60px;
    height: 72px;
    position: absolute;
    left: 50%;
    margin-left: -30px;
    bottom: 20px;
  }
  .p-fv__arrows path {
    stroke: #fff;
    fill: transparent;
    stroke-width: 2.5px;  
    animation: arrow 2.5s infinite;
    -webkit-animation: arrow 2.5s infinite; 
  }
  
  @keyframes arrow {
    0% {opacity:0}
    40% {opacity:1}
    80% {opacity:0}
    100% {opacity:0}
  }
  
  @-webkit-keyframes arrow  {
    0% {opacity:0}
    40% {opacity:1}
    80% {opacity:0}
    100% {opacity:0}
  }
  
  .p-fv__arrows path.a1 {
    animation-delay:-1s;
    -webkit-animation-delay:-1s;
  }
  
  .p-fv__arrows path.a2 {
    animation-delay:-0.5s;
    -webkit-animation-delay:-0.5s;
  }
  
  .p-fv__arrows path.a3 { 
    animation-delay:0s;
    -webkit-animation-delay:0s;
  }
  @media(max-width: 1024px) {
    .p-fv__txt h1 {font-size: 36px;}
  }

@media(max-width: 768px) {
    .p-fv__txt h1 {
        line-height: 1.6;
        font-size: 32px;
    }
    .p-fv__txt img {
        margin-top: 30px;
        width: 380px;
    }
}

@media(max-width: 478px) {
    .p-fv__txt h1 { font-size: 26px; letter-spacing: -0.1em;}
}

/*--------------------------------
    お知らせ
--------------------------------*/
#p-info {
    background: #E4DED9;
    padding: 90px 0 0;
    text-align: center;
}

.p-info__movie {
    max-width: 900px;
    margin: 0 auto;
}

.p-info__movie-wrap {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
    margin-bottom: 50px;
  }

.p-info__movie-wrap iframe, .p-info__movie-wrap img {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
}
.p-info__txt {
    background: #fff;
    border-top: solid 3px #870707;
    text-align: center;
    margin-top: 50px;
    padding: 0 30px 25px;
}
.p-info__limit {
    background: #870707;
    color: #fff;
    display: inline-block;
    padding: 5px 40px;
    clip-path: polygon(0 0, 100% 0, calc(100% - 15px) 100%, 15px 100%);
    margin-top: -3px;
}
.p-info__sale {
    font-size: 20px;
    display: inline-block;
    border-bottom: solid 1px #870707;
    margin-top: 20px;
}
.p-info__bold {
    color: #870707;
    font-size: 24px;
}
.p-info__cap,
.p-contact__cap {
    color: #999999;
    font-size: 12px;
    line-height:1.5;
}

#p-info .content-form {
    padding: 25px 0;
}
.p-info__arrow {
    margin-top: 40px;
    width: 35px!important;
}
@media(max-width: 768px) {
    .p-info__txt {padding: 0 15px 25px;}
    .p-info__limit {
        width: 100%;
    }
    .p-info__sale {
        font-size: 16px;
    }
    .p-info__bold {
        font-size: 20px;
    }
}
@media(max-width: 478px) {
    #p-info {
        padding: 65px 0 0;
    }
    #p-info .content-form {
        padding: 10px 0 25;
    }
    #p-info a.content-form-btn {
        padding: 1.45rem 4rem;
    }
    #p-info a.content-form-btn:before {
        right: calc(100% - 25%);
    }
    .p-info__limit {
        padding: 5px 15px;
        line-height: 1.5;        
        font-size: 14px;
    }
    .p-info__bold {
        font-size: 16px;
    }
}

/*--------------------------------
    バナー
--------------------------------*/
.p-support {
    padding: 90px 0 30px;
}

.p-support__wrap {
    width: 100%;
    max-width: 790px;
    margin: 0 auto;
}

.p-support__list{
    margin-top: 30px;
}

.p-support__item {
    display: flex;
}
.p-support__item + .p-support__item {
    margin-top: 30px;
}
.p-support__label {
    background: linear-gradient(180deg,rgba(171, 12, 12, 1) 40%, rgba(120, 14, 14, 1) 60%, rgba(33, 2, 2, 1) 85%);
    color: #fff;
    padding: 10px;
    width: 130px;
    font-size: 16px;
    text-align: center;
    line-height: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.p-support__num {
    font-size: 28px;
}
.p-support__gradient {
    padding: 4px;
    background: linear-gradient(45deg, #AB0C0C 20%, #210202 40%, #AB0C0C 60%, #210202 95%);
    flex: 1;
}
.p-support__content {
    padding: 15px 25px;
    background: #fff;
}
.p-support__txt {
    font-size: 20px;
}
.p-support__highlight {
    color: #870707;
    font-size: 24px;
}
.p-support__note {
    margin-top: 15px;
    text-align: center;
    color: rgb(153, 153, 153);
    font-size: 13px;
}

.p-support__link {
    display: inline-block;
    color: #0059FF;
    border-bottom: solid 1px #0059FF;
    padding-bottom: 3px;
    margin-top: 10px;
    transition: .5s;
}
.p-support__link:hover {
    opacity: .7;
}
@media(max-width: 478px) {
    .p-support {
        padding: 70px 0 10px
    }
    .p-support__item + .p-support__item {
        margin-top: 20px;
    }
    .p-support__label {
        padding: 5px;
        width: 60px;
        font-size: 14px;
    }
    .p-support__num {
        font-size: 20px;
    }
    .p-support__gradient {
        padding: 2px;
    }
    .p-support__content {
        padding: 15px;
    }
    .p-support__txt {
        font-size: 16px;
        line-height: 1.5;
    }
    .p-support__highlight {
        font-size: 16px;
    }
    .p-support__note {
        font-size: 14px;
    }
}

/*--------------------------------
    コンセプト
--------------------------------*/
.p-concept__img{
    position: relative;
    margin: 50px auto 0;
    z-index: 800;
}
.p-concept__txt {
    text-align: center;
    margin: 30px auto 0;
    max-width: 790px;
}
.p-concept__img--first {
    border-radius: 20px;
}
.p-concept__img--second {
    position: absolute;
    bottom: -38px;
    left: 50%;
    transform: translateX(-50%);
    width: 25px;
}

@media(max-width: 768px) {
    .p-concept__img--first { border-radius: 12px; }
}

@media(max-width: 478px) {
    .p-concept__img { margin: 35px auto 0; }
    .p-concept__img--second {
        bottom: -30px;
        width: 20px;
    }
}

/*--------------------------------
    コンセプト 理由1
--------------------------------*/
.p-reason1 {
    padding: 100px 0 100px;
    margin-top: -93px;
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 80px) , 50% 100% , 0 calc(100% - 80px) );
}

.c-reason-ttl {
    margin: 40px auto 25px;
    text-align: center;
}
.c-reason-ttl p {
    display: inline-block;
    border-bottom: 1px solid #870707;
    font-size: 20px;
    line-height: 1.6;
    color: #870707;
}
.c-reason-ttl h3 {
    font-size: 28px;
    margin-top: 10px;
    line-height: 1.5;
    letter-spacing: 0.2em;
}

#p-reason1 .c-ttl h2 {
    letter-spacing: 0.27em;
}

.p-reason1__list {
    display: flex;
    justify-content: space-between;
    margin-top: 55px;
    flex-wrap : wrap;
    gap: 20px;
}
.p-reason1__list::after{
    content:"";
    display: block;
    width: 30%;
    max-width: 280px;
}
.p-reason1__item {
    width: 30%;
    max-width: 300px;
}
.p-reason1__item p:nth-of-type(1) {
    font-size: 18px;
    margin: 10px auto;
    letter-spacing: .15em;
}
.p-reason1__item p:nth-of-type(2) {
    letter-spacing: -0.01em;
}
.p-reason1__item img {
    border-radius: 15px;
}
.p-reason1__catch {
    font-size: 18px;
    margin: 10px auto;
    letter-spacing: .15em;
    text-align: center;
    color: #870707;
    font-weight: bold;
}

@media(max-width: 1024px) {
    .p-reason1 { margin-top: -72px; }
    .p-reason1 .c-ttl { padding-top: 20px; }
}

@media(max-width: 768px) {
    
    .p-reason1 { margin-top: -50px; }
    #p-reason1 .c-ttl h2 {
        font-size: 24px;
    }
    .p-reason1__list {
        overflow-x: scroll;
        flex-wrap: nowrap;
        padding-bottom: 20px;
    }
    .p-reason1__item {
        flex-shrink: 0;
        width: 300px;
    }
}
@media(max-width: 600px) {
    .p-reason1__list::after,
    .p-reason1__item { width: 45%; }

    .p-reason1__item p:nth-of-type(1) {font-size: 16px;}
    .p-reason1__catch {font-size: 16px;}
}
@media(max-width: 478px) {
    .p-reason1 { margin-top: -35px; }
    .p-reason1 .c-ttl { padding-top: 0 }
    #p-reason1 .c-ttl h2 { 
        font-size: 20px; 
        letter-spacing: 0.2em;
    }

    .c-reason-ttl h3 {
        font-size: 22px;
        letter-spacing: 0.1em;
    }
    
    .p-reason1__list {
        -ms-overflow-style: none;
        scrollbar-width: none;
    }
    .p-reason1__item {
        width: 100%;
    }
}


/*--------------------------------
    コンセプト 理由2
--------------------------------*/
.p-reason2 {
    position: relative;
    padding: 30px 0 100px;
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 85px) , 50% 100% , 0 calc(100% - 85px) );
    z-index: 800;
}


.p-reason2__inner {
    position: relative;
    margin-bottom: 30px;
}
.p-reason2 .p-reason2__pagination {
    bottom: -35px;
}
.p-reason2 .swiper-pagination-bullet {
    width: 11px;
    height: 11px;
}


/*== swiper ===========*/
.swiper-pagination-bullet-active {
    background: #870707;
}

.swiper-button-prev,
.swiper-button-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    margin-top: 0;
    cursor: pointer;
    outline: none;
    height: 20px;
    width: 20px;
    z-index: 800;
}
.swiper-button-prev {
    left: -1.5%;
    content: url(../images/img-slide-left.svg);
    vertical-align: middle;
}

.swiper-button-next {
    right: -1.5%;
    content: url(../images/img-slide-right.svg);
    vertical-align: middle;
}

/*--------------------------------
    コンセプト 理由3
--------------------------------*/
.p-reason3 {
    position: relative;
    z-index: 600;
    margin-top: -90px;
    padding: 100px 0 110px;
}

.p-reason3__img img{
    margin: 50px auto 20px;
}


.content-form {
    padding: 40px 0 85px;
    font-size: 20px;
}
a.content-form-btn {
	vertical-align: middle;
	position: relative;
	width: 100%;
    max-width: 500px;
	margin: auto;
	padding: 1.85rem 4rem;
	font-weight: bold;
    background: #00a960;
	box-shadow: 5px 5px #000;
	transition: 0.3s ease-in-out;
}
a.content-form-btn:hover {
	box-shadow: none;
	transform: translate(5px, 5px);
}

a.content-form-btn:before {
    content: '';
    background: url(../images/img-mail.svg) no-repeat;
    background-size: contain;
    background-position: center;
    position: absolute;
    top: 50%;
    right: calc(100% - 30%);
    transform: translateY(-50%);
    width: 30px;
    height: 30px;
}

.p-reason3__list { margin-top: 40px; }
.p-reason3__list li {
    margin-bottom: 10px;
    line-height: 1.875;
    text-indent: -1em;
    padding-left: 1em;
}
.p-reason3__list li:last-of-type { margin-bottom: 0; }

@media(max-width: 768px) {
}

@media(max-width: 478px) {
    .content-form {font-size: 16px;}
    .content-form p {
        font-size: 17px;
        letter-spacing: -.01em;
    }
    a.content-form-btn {width: 100%;}
    .p-reason3__img img {
        margin: 35px auto 35px;
    }
    .p-reason3__list { margin-top: 20px; }
}

/*--------------------------------
    施工事例
--------------------------------*/
#p-works .c-ttl {
    padding: 80px 0 30px;
    background: #E4DED9;
}
.p-works__wrap {
    position: relative;
}
h2.p-works__ttl {
    color: #fff;
    text-align: center;
    font-size: 28px;
}
.p-works__txt {
    display: flex;
    flex-direction: column;
    gap: 30px;
    color: #fff;
    max-width: 755px;
    margin: 45px auto;
}

.p-works__subttl {
    font-size: 20px;
    padding-bottom: 3px;
    border-bottom: 1px solid #fff;
} 
.p-works__list {
    display: flex;
    gap: 15px;
}
.p-works__tag {
    padding: 5px 15px;
    color: #870707;
    background: #fff;
    margin-right: 10px;
}

.p-works__link {
    background: #870707;
    text-align: center;
    margin: 0 auto;
    font-size: 20px;
    padding: 15px 20px;
    width: 100%;
    max-width: 350px;
    transition: .5s;
}
.p-works__link:hover {
    background: #fff;
    color: #870707;
}
.p-works__inner {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50% , -50%);    
    max-width: 1450px;
    width: 95%;
    z-index: 100;
}
.p-works__swiper1 {
    padding: 50px 40px 0;
    margin: 25px auto 0;
}

.p-works__bg1 {
    position: relative;
    z-index: 50;
}
.p-works__bg1:after {
    position: absolute;
    top: 0;
    content: "";
    background: #000;
    opacity: .5;
    z-index: 5;
    width: 100%;
    height: 100%;
}
.p-works__bg1 img{
    filter: blur(4px);
    height: 1050px;
    object-fit: cover;
}

.swiper-slide { cursor: grab; }
.swiper-slide:active {cursor: grabbing;}

.p-works__img {
    display: flex;
    gap: 50px;
}
.p-works__item {
    position: relative;
    flex: 1;
    width: 48%;
}
.p-works__item img {
    border-radius: 15px;
}
.p-works__img .p-works__item:nth-of-type(1)::before,
.p-works__img .p-works__item:nth-of-type(2)::after {
    position: absolute;
    content: '';
    display: inline-block;
    width: 120px;
    height: 120px;
    top: -35px;
    left: -35px;
    z-index: 1000;
}

.p-works__img .p-works__item:nth-of-type(1)::before {
    background-image: url(../images/img-before.svg);
    background-repeat: no-repeat;
    background-size: contain;
}
.p-works__img .p-works__item:nth-of-type(2)::after {
    background-image: url(../images/img-after.svg);
    background-repeat: no-repeat;
    background-size: contain;
}
.swiper-pagination-progressbar .swiper-pagination-progressbar-fill {
    background: rgb(138, 126, 98);
}
.p-works .swiper-button-next,
.p-works .swiper-button-prev {
    color: #C60000;
    height: 45px;
    width: 45px;
}
.p-works .swiper-button-next {
    right: 3px;
    content: url(../images/img-works-next.svg);
}
.p-works .swiper-button-prev {
    left: 3px;
    content: url(../images/img-works-prev.svg);
}

@media(max-width: 1024px) {
    .p-works__img .p-works__item:nth-of-type(1)::before,
    .p-works__img .p-works__item:nth-of-type(2)::after {
        width: 80px;
        height: 80px;
    }
    .p-works__bg1 img {
        height: 870px;
    }
}
@media(max-width: 768px) {
    .p-works__txt {gap: 20px;}
    .p-works__subttl {font-size: 18px;}
    .p-works__img {
        flex-direction: column;
        align-items: center;
    }
    .p-works__item {
        width: 100%;
        max-width: 475px;
    }

    .p-works__bg1 img { height: 1245px;}

    
}
@media(max-width: 478px) {
    h2.p-works__ttl {
        font-size: 26px;
        line-height: 1.4;
    }
    .p-works__swiper1,
    .swiper2 {
        margin: 0 auto;
    }
    .p-works .swiper-button-prev,
    .p-works .swiper-button-next{
        width: 25px;
        height: 25px;
    }
    .p-works__img .p-works__item:nth-of-type(1)::before,
    .p-works__img .p-works__item:nth-of-type(2)::after {
        width: 70px;
        height: 70px;
    }
    .p-works__bg1 img {
        height: 1180px;
    }
    .p-works__list {
        flex-direction: column;
        gap: 30px;
    }
}


/*--------------------------------
   研究会
--------------------------------*/
.p-authority__pos {position: relative;}
.p-authority__bg {
    height: 500px;
    object-fit: cover;
}

.p-authority__cap {
    position: absolute;
    top: 80px;
    left: 50%;
    transform: translateX(-50%);
    color: #fff;
    text-align: center;
    width: 90%;
}

.p-authority__cap h3{
    font-size: 32px;
    line-height: 1.5;
    letter-spacing: 0.2em;
}

.p-authority__list {
    display: flex;
    justify-content: space-between;
    margin-top: -290px;
}
.p-authority__item {
    max-width: 510px;
    width: 48%;
}
.p-authority__txt {
    font-size: 20px;
    color: #fff;
    padding-left: 25px;
    border-left: 1px solid #fff;
    line-height: 1.4;
}
.p-authority__txt--r {
    line-height: 2.8;
}
.p-authority__ex {
    color: #fff;
    padding-left: 25px;
    margin: 15px auto 20px;
    line-height: 1.5;
}
.p-authority__arrow {
    width: 35px;
    margin: 50px auto;
}

.p-authority__contact {
    width: 100%;
    border: solid 1px #333; 
    outline: solid 1px #333;
    outline-offset: 5px;
    margin: 0 auto 110px;
    padding: 70px 40px;
}
.p-authority__ttl {
    display: inline;
    background: linear-gradient(transparent 50%, rgba(200 , 0 , 7 , .5) 85%);
    line-height: 1.5;
    padding-left: 10px;
}
.p-authority__lead {
    max-width: 675px;
    width: 100%;
    margin: 40px auto 0;
}
.p-authority__lead li {
    display: flex;
    align-items: center;
    gap: 20px;
    font-size: 20px;
    padding-bottom: 10px;
    margin-top: 50px;
    border-bottom: 1px solid #333;
}
.p-authority__img {
    background: url(../images/img-works-check.svg) no-repeat;
    background-size: contain;
    background-position: center;
    min-width: 25px;
    height: 28px;
}
.p-authority__lead li p {
    line-height: 1.5;
}

@media(max-width: 1024px) {
.p-authority__txt--r {
    line-height: 1.4;
}
}
@media(max-width: 768px) {
    .p-authority__bg {
        height: 1025px;
    }
    .p-authority__cap {
        top: 45px;
    }
    .p-authority__cap h3 {
        font-size: 26px;
    }
    .p-authority__list {
        margin-top: 0;
        flex-direction: column;
        gap: 40px;
        position: absolute;
        top: 75%;
        left: 50%;
        transform: translate(-50%, -75%);
    }
    .p-authority__item {
        width: 90vw;
    }
    .p-authority__txt {
        font-size: 18px;
        padding-left: 15px;
        margin-bottom: 10px;
    }
    .p-authority__ex {padding-left: 15px;}
    
    .p-authority__contact {padding: 50px 40px;}
    .p-authority__ttl {font-size: 22px;}
    .p-authority__lead li {margin-top: 40px; font-size: 18px;}
}

@media(max-width: 478px) {
    .p-authority__bg {
        height: 960px;
    }
    .p-authority__item {
        width: 85vw;
        max-width: 335px;
    }
    .p-authority__contact {
        padding: 50px 15px 60px;
    }
    .p-authority__ttl {font-size: 20px;}
    .p-authority__lead li{font-size: 16px; gap: 10px;}
    .p-authority__img {min-width: 22px;}
}

/*--------------------------------
    お問い合わせ
--------------------------------*/
#p-contact {
    padding: 40px 0 120px;
}
.p-contact__banner {
    margin: 40px auto 0;
    max-width: 900px;
    width: 100%;
}
.p-contact__txt {
    margin-top: 50px;
    padding: 15px 20px;
    text-align: center;
}
.p-contact__sale {
    font-size: 20px;
    display: inline-block;
    border-bottom: solid 1px #870707;
    margin: 5px auto 20px;
}
@media(max-width: 768px) {
    .p-contact__sale{font-size: 16px;}
    .p-contact__txt {padding: 15px;}
}
@media(max-width: 478px) {
    .p-contact__limit {
        line-height: 1.6;
        font-size: 14px;
    }
}
form {
    margin: 0 auto;
    max-width: 900px;
    width: 100%;
}
table {
    width: 100%;
}
tr {
    margin-top: 30px;
    display: flex;
    gap: 40px;
}

tr td {
    flex: 1;
    width: 100%;
}
tr th span:nth-of-type(1) {
    width: 140px;
    text-align: left;
    display: inline-block;
    font-size: 18px;
}
.p-contact__note {
    background: #870707;
    color: #fff;
    padding: 5px 15px;
    font-weight: 400;
    display: inline-block;
    margin-left: 20px;
}

.p-contact__error {
    color: #870707;
    text-align: left;
    font-weight: 500;
}
table input[type="text"]::placeholder,
table input[type="email"]::placeholder,
table textarea::placeholder {
    color: #888;
}
table input[type="text"],
table input[type="email"],
table textarea {
    padding: 7px 20px;
    width: 100%;
    color: #111;
    line-height: 1.6;
    font-weight: bold;
    font-size: 18px;
}

.p-contact__btn {
	position: relative;
    display: inline-block;
    margin-top: 85px;
    vertical-align: middle;
    width: 100%;
	max-width: 500px;
    background: #00a960;
	box-shadow: 5px 5px #000;
    cursor: pointer;
    border: none;
	transition: 0.3s ease-in-out;
}

.p-contact__btn input[type="submit"] {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    padding: 0;
    border: none;
    outline: none;
    background: transparent;
	font-weight: bold;
    font-size: 16px;
    color: #fff;
    padding: 1.85rem 4rem;
    width: 100%;
    cursor: pointer;
    font-size: 20px;
}

.p-contact__btn:hover {
	box-shadow: none;
	transform: translate(5px, 5px);
}

.p-contact__btn:before {
    content: '';
    position: absolute;
    top: 50%;
    left: calc(100% - 75%);
    transform: translateY(-50%);
    border: 9px solid transparent;
    border-left: 12px solid #fff;
    z-index: 10;
	transition: 0.3s ease-in-out;
}

.p-contact__btn:hover:before {
    top: 50%;
    left: calc(100% - 74%);
}

@media(max-width: 1024px) {
}
@media(max-width: 768px) {
    tr {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
        margin-top: 30px;
        letter-spacing: 0;
    }
    /*td {  width: 100%; }*/

    table input[type="text"], 
    table input[type="email"], 
    table textarea {
        font-size: 16px;
    }

    tr th span:nth-of-type(1) { width: 130px; }
}
@media(max-width: 478px) {
    tr th span:nth-of-type(1) {
        font-size: 16px;
        width: 120px;
    }

    .p-contact__note {
        font-size: 14px;
        padding: 5px 10px;
    }
    table input[type="text"],
    table input[type="email"],
    table textarea,
    .p-contact__btn input[type="submit"] {
        font-size: 16px;
    }
    .p-contact__btn {margin-top: 65px;}
}


/*--------------------------------
    スタッフ
--------------------------------*/
#p-staff {
    padding: 40px 0 80px;
}
.p-staff__wrap {
    position: relative;
    margin: 50px auto 0;
}
.p-staff__pos {
    position: absolute;
    z-index: 100;
    bottom: 55px;
    right: -620px;
    opacity: 0;
    max-width: 590px;
    transition: .5s;
}

.p-staff .swiper-slide {
    position: relative;
}
.p-staff .p-staff__inner {
    transition: .5s;
    opacity:.2;
}
.p-staff .swiper-slide-active .p-staff__inner,
.p-staff .swiper-slide-active .p-staff__pos{
    opacity: 1;
}

.p-staff__cap {
    background: #870707;
    padding: 5px 15px;
    color: #fff;
    margin-bottom: 10px;
    display: inline-block;
}
.p-staff__txt {
    font-weight: bold;
    font-size: 20px;
    line-height: 1.6;
}

.p-staff .swiper-button-next {
    top:auto;
    bottom: -100px;
    right: 0;
    content: url(../images/img-staff-right.svg);
    vertical-align: middle;
    height: auto;
    width: 100px;
}
.p-staff .swiper-button-prev {
    top:auto;
    left: 0;
    bottom: -100px;
    content: url(../images/img-staff-left.svg);
    vertical-align: middle;
    height: auto;
    width: 100px;
}

@media(max-width: 1024px) { 
    .p-staff__pos {
        right: -410px;
        max-width: 380px;
    }
    .p-staff__txt {
        font-size: 18px;
    }
}
@media(max-width: 768px) { 
    .p-staff .swiper-slide {
        width: 100%;
    }
    .p-staff__pos {
        position: relative;
        max-width: 100%;
        margin: 20px auto 0;
        right: auto;
        bottom: auto;
    }
}

@media(max-width: 478px) { 
    #p-staff {
        padding: 15px 0 80px;
    }
    .p-staff__swiper {
        margin: 30px auto 0;
    }
    .p-staff__cap {font-size: 14px;}
    .p-staff__txt {
        font-size: 15.5px;
    }
}

/*--------------------------------
    店舗情報
--------------------------------*/
#p-shop {
    padding: 30px 0 60px;
}
.p-shop__wrap {
    max-width: 900px;
    width: 100%;
    margin: 40px auto;
}
.p-shop__name {
    font-size: 20px;
    padding: 15px 20px;
    font-weight: bold;
    margin-top: 40px;
    color: #54585a;
}

.p-shop__access {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-top: 40px;
}
.p-shop__access img {
    width: 48%;
}
.p-shop__access img,
.p-shop__access iframe {
  flex: 1 1 48%;
  max-width: 48%;
}
.p-shop__item {
    margin-top: 40px;
    display: flex;
    gap: 20px;
    border-bottom: 1px solid #e4e4e4;
    padding: 10px 15px;
    color: #54585a;
    font-size: 18px;
}
.p-shop__item p:nth-of-type(1) {
    min-width: 100px;
}
.p-shop__item a {
    display: inline;
    color: #54585a;
}
.p-shop__note {
    text-indent: -1.5em;
    padding-left: 1.5em;
}
@media(max-width: 700px) {
    .p-shop__access { flex-direction: column; }
    .p-shop__access img,
    .p-shop__access iframe {
        width: 100%;
        max-width: 100%;
    }
    .p-shop__access iframe {
        aspect-ratio: 16 / 9;
    }

}
@media(max-width: 600px) {
    .p-shop__name { font-size: 18px; }
}
@media(max-width: 478px) {
    #p-shop {
        padding: 0 0 60px;
    }
    #contact { padding: 20px 0 80px; }
    .p-shop__item p:nth-of-type(1) { min-width: 80px; }

    .p-shop__item { 
        gap: 10px; 
        font-size: 16px;
    }

    .p-shop__name {
        line-height: 1.6;
        letter-spacing: -.01em;
        padding: 10px 20px;
    } 
}


/*--------------------------------
   店舗ページへ
--------------------------------*/
.c-store-site {
    position: relative;
    width: 100%;
    background: url(../images/img-store-bg.jpg);
    background-size: cover;
    background-position: top;
}
.c-store-site__link {
    width: 50%;
    min-width: 550px;
    background:rgba(150,50,0,0.6);
    padding: 130px 10px;
    text-align: center;
}
.c-store-site__link p {
    color: #fff;
    font-size: 20px;
    font-weight: bold;
}
.c-store-site__link a {
    color: #C60000;
    background: #fff;
    vertical-align: middle;
	position: relative;
	width: 310px;
	margin: auto;
	padding: 1rem 3rem;
	font-weight: bold;
	box-shadow: 5px 5px #C60000;
    margin-top: 30px;
	transition: 0.3s ease-in-out;
}
.c-store-site__link a:hover {
	box-shadow: none;
	transform: translate(5px, 5px);
}
@media(max-width: 768px) {
    .c-store-site__link {
        width: 100%;
        min-width: auto;
    }
}

@media(max-width: 478px) {
    .c-store-site__link p { font-size: 16px; }
    .c-store-site__link a { width: 90%; }   
}

/*--------------------------------
    フッター
--------------------------------*/
#l-footer {
    padding: 40px 0;
}
.l-footer__logo { text-align: center; }
.l-footer__logo img {
    max-width: 500px;
    width: 100%;
}
.l-footer__nav {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 20px;
    font-size: 14px;
}
.l-footer__nav a { color: #333; }
@media(max-width: 768px) {
    .l-footer__nav { gap: 20px; }
    .l-footer__nav a { font-size: 14px; }
}

/* --- --------------------------------------------
・完了画面
 --------------------------------------------*/
.p-completion__ttl img {
    width: 230px;
}

.completion p {
    margin-top: 10px;
}

.p-completion__ttl {
    border-bottom: 2px solid #C60000;
    margin: 40px auto 30px;
}
.p-completion__ttl p {
    font-size: 24px;
    font-weight: bold;
    margin: 30px auto;
}

.p-completion__wrap {
    background: #f2f2f2;
    padding: 40px 60px;
    margin-top:30px;
    line-height: 1.7;
}
.p-completion .content-form {
    padding-bottom: 60px;
}
@media(max-width: 478px) {
    .p-completion__ttl img { width: 170px; }
    .p-completion__ttl p {font-size: 17px; letter-spacing: -.01em;}
    .p-completion__wrap {padding: 30px;}

}
/* --- --------------------------------------------
・
 --------------------------------------------*/

.c-ttl { padding-top: 50px; text-align: center;}
.c-ttl h2 {font-size: 32px; line-height: 1.5; letter-spacing: 0.2em; color: #870707;}

@media(max-width: 478px) { 
    .c-ttl h2 {font-size: 28px;}
}


/* --- フォント --- */
.c-txt-spacing {letter-spacing: -.01em;}
.c-txt-bold { font-weight: bold;}

.c-txt-center {text-align: center!important;}
.c-txt-left {text-align: left!important;}
.c-txt-right {text-align: right!important;}
.c-txt-just {text-align: justify!important;}


/* --- フォントカラー --- */
.c-txt-white {color: #fff!important;}
.c-txt-pink {color: #d1268c!important;}
.c-txt-orange {color: #870707;}


/* --- 背景色 --- */
.c-bg-white {background: white;}
.c-bg-orange {background: #C60000;}
.c-bg-beige {background: #E4DED9;}
