@charset "UTF-8";

:root {
    --primary-red: #9C3A35;
    --primary-brown: #F1E9DE;
    --primary-baige: #FFF9F0;
    --primary-white: #fff;
    --primary-black: #000000;
}

html {
    font-size: 62.5%;
}

body {
    margin: 0 auto;
    font-family: "Zen Old Mincho",
                "Lora";
    font-style: normal;
    color: var(--primary-black,#000);
    font-weight: 400;
    line-height: 1.5;
    min-width: 330px;
    max-width: 100%;
}

img {
    max-width: 100%;
    height: auto;
}

.section__topic {
    color: #9C3A35;
text-align: center;
font-family: Lora;
font-size: 3rem;
font-style: normal;
font-weight: 600;
line-height: 50px;
margin: 0 auto;
background-color: var(--primary-white);

}


.btn {
    border: 1px solid #9C3A35;
    padding: 15px 20px;
    color: var(--primary-red);
    text-align: center;
    font-family: Lora;
    font-size: 1.8rem;
    font-style: normal;
    font-weight: 400;
    line-height: 1.5;
    display: block;
    width: 200px;
    height: 60px;
    margin: 0 auto;
    position: relative;
    transition: 0.4s;

}



.btn:hover {
    opacity: 0.5;
}

/* common pc */

@media screen and (min-width: 769px) {
    .section__topic {
        color: #9C3A35;
    text-align: center;
    font-size: 6.5rem;
    font-style: normal;
    font-weight: 600;
    line-height: 90px;
    margin: 0 auto;
    background-color: var(--primary-white);
  
    }

    .btn {
        height: 85px;
        width: 235px;
        font-size: 2.5rem;
        padding: 23px;
    }
}


/* loading */


.loading {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 9999;
    background-color: #9C3A35;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeOut 1.5s 2.5s forwards;
  }
  
  @keyframes fadeOut {
    0% {
      opacity: 1;
    }
  
    100% {
      opacity: 0;
      visibility: hidden;
    }
  }
  
  .loading__logo {
    opacity: 0;
    animation: logo_fade 2s 0.5s forwards;
    width: 175px;
  }
  
  @keyframes logo_fade {
    0% {
      opacity: 0;
      transform: translateY(20px);
    }
  
    60% {
      opacity: 1;
      transform: translateY(0);
    }
  
    100% {
      opacity: 0;
    }
  }

  @media screen and (min-width: 769px) {
    .loading__logo {
        width: 400px;
    }
    
  }

  


/* scroll */

.topbtn {
    background-color: #9C3A35;
    font-size: 1.2rem;
    padding: 16px;
    border-radius: 50%;
    position: fixed;
    bottom: 1.5%;
    right: 1.5%;
    color: #ffff;
    box-shadow: 2px 2px 4px 2px  rgba(109, 42, 39, 0.5);
    
}

@media screen and (min-width: 769px) {
    .topbtn {
        padding: 32px;
        font-size: 2rem;
    }
    
}

/* fadein */

.fadein {
    transform: translate(0, 50px);
    opacity: 0;
    transition: 0.8s;
}

.fadein.animated {
    transform: translate(0, 0);
    opacity: 1;
}





/* =================
article
===================== */

.mainimg__pc {
    display: none;
}



.mainimg__sp {
    width: 100%;
    height: auto;
}

/* article pc */

@media screen and (min-width: 769px) {
    .mainimg__pc {
        display: block;
        width: 100%;
        height: auto;
    }

    .mainimg__sp {
        display: none;
    }

    /* .intro {
        padding: 73px 81px 50px 0;
    }

    .catcycopy {
        font-size: 12rem;
        padding: 0 0 0 130px;
    }

    .intro__text {
        width: 479px;
        height: auto;
        margin-inline: auto 100px;
        margin-top: -100px;
        padding: 70px 50px;
    }
     */
}

/* =================
gallery
===================== */

.section--gallery {
    padding: 60px 16.6% 36px 16.6%;
    background: var(--primary-brown);
    
    

   
}

.section__topic--gallery {
    background: var(--primary-brown);
}

.photosp {
    
    display: block;
    margin: 10PX auto;
}

.photo-pc {
    display: none;
}

.photosp:first-child {
    margin-top: 50px;
}

.more--btn {
    margin-top: 37px;
}

.more--btn::after {
    top: 45%;
}

.photos-sp {
    max-width: 300px;
    margin: 0 auto;
}





@media screen and (min-width: 769px) {
    .section--gallery {
        padding: 130px 139px 40px 139px;
    }

    .photos-sp {
        display: none;
    }

    .photo-pc {
        display: grid;
        max-width: 900px;
        gap: 10px;
        margin-top: 70px;
        grid-template-columns: 1fr 1fr 1fr;
        grid-template-rows: 1fr 1fr;
        margin: 100px auto;
       
    }

    .photopc {
        width: 300px;
        height: auto;
        object-fit: cover;
    }
    
}

/* =================
works
===================== */

.circle {
    position: relative;
background: var(--primary-brown);
height: 20vh;
border-bottom-left-radius: 50% 77%;
border-bottom-right-radius: 50% 77%;
max-width: 2000px;
z-index: 0;
top: -35px;
 
 }


.section--works {
    background: var(--primary-baige);
    padding: 0 0 100px 0;

}


.section__topic--works {
    background: var(--primary-baige);
}

.workspic1 {
    width: 230px;
    height: 172px;
    margin-top: 35px;
    border-radius: 10px 10px 0 0;
}



.works__name {
    color: #000;
    text-align: left;
    font-family: "Zen Old Mincho";
    font-size: 1.4rem;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    padding-top: 20px;
    margin-left: 5px;
}

.works__day {
    margin-top: 3px;
    color: #000;
    text-align: left;
    font-family: "Zen Old Mincho";
    font-size: 0.8rem;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    margin-left: 5px;
}   

.works__title {
    color: #000;
    font-family: "Zen Old Mincho";
    font-size: 1.6rem;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    text-align: left;
    margin-left: 5px;
    margin-top: 25px;
}

.works__client {
    color: #000;
    font-family: "Zen Old Mincho";
    font-size: 1.6rem;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    text-align: left;
    margin-left: 5px;

}

.mv__btn {
    font-size: 1.2rem;
    width: 89px;
    height: 30px;
    display: block;
    border-radius: 5px;
    text-align: center;
    color: var(--primary-red);
    margin-top: 35px;
    padding-top: 5px;
    margin-left: 4px;
    border: 1px solid #9C3A35;
    

}

.mv__btn:hover {
    opacity: 0.5;
}


.works__con {
    width: fit-content;
    margin: 0 auto;
}

.works__about {
    background: var(--primary-white);
    width: 230px;
    height: auto;
    border-radius: 0 0 10px 10px;
    padding: 0 0 50px 0;
}

/* works pc */

@media screen and (min-width: 769px) {
    
        

    .works__con {
        display: flex;
        justify-content: center;
        align-items: center;
        margin-top: 80px;
        max-width: 650px;
    }

    .workspic1 {
        width: 55%;
        height: 286px;
        margin-top: 0;
        border-radius: 10px 0 0 10px;
    }

    .works__about {
        width: 400px;
        height: 286px;
        border-radius: 0 10px 10px 0;
        padding-left: 10px;
    
    }

    .works__title {
        font-size: 2.3rem;
        margin-top: 44px;
    }

    .works__name {
        font-size: 1.7rem;
    }

    .works__client {
        font-size: 2.3rem;
    }

    .mv__btn {
        width: 137px;
        font-size: 1.6rem;
        height: 47px;
        padding: 10px;
        margin-top: 48px;
    }

    .more--btn {
        margin-top: 47px;
    }

    .section__topic--works {
        margin-top: 100px;
    }

   
}

/* =================
about
===================== */

.section--about {
    padding: 75px 10% 50px 10%;
    background: var(--primary-baige);
}

.section__topic--about {
    background: var(--primary-baige);
}

.plofile {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border: solid 1px #9C3A35;
    position: relative;
    background-color: var(--primary-white);
    padding: 45px 47px;
    width: fit-content;
    margin: 60px auto;
}

.plofile::before {
    content: '';
    position: absolute;
    border: solid 1px #9C3A35;
    top: 20px;
    left: 20px;
    right: 20px;
    bottom: 20px;
}

.plofile__pic {
    width: 118px;
    height: 118px;
}

.name {
    color: #000;
    font-family: "Zen Old Mincho";
    font-size: 1.8rem;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    text-align: center;
    margin-top: 25px;
}

.plofile__text {
    color: #000;
    text-align: center;
    font-family: "Zen Old Mincho";
    font-size: 1.2rem;
    font-style: normal;
    font-weight: 400;
    line-height: 1.5; 
    margin-top: 22px;
}

.plofile__dl {
    display: flex;
    align-items: center;
    gap: 10px;
    justify-content: center;
    margin-top: 20px;
}

.plofile__list {
    color: #9C3A35;
    text-align: center;
    font-family: "Zen Old Mincho";
    font-size: 1.3rem;
    font-weight: 400;
    border: 1px solid #9C3A35;
    width: 33%;
}

.plofile__item {
    color: #000;
    text-align: left;
    font-family: "Zen Old Mincho";
    font-size: 1.2rem;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    width: 81%;

}


/* about pc */



@media screen and (min-width: 769px) {  
    .name {
        font-size: 3.5rem;
    }

    .plofile__pic {
        width: 30%;
        height: auto;
        margin-top: 40px;
    }

    .plofile__text {
        font-size: 1.6rem;
        padding: 0 30px;
        margin-top: 40px;
    }

    .plofile__list {
        font-size: 1.4rem;
        width: 54%;
    }
    

    .plofile__item {
        font-size: 1.4rem;
        width: 152%;
    }

    .plofile__topic {
        margin-top: 40px;
        padding-bottom: 40px;
    }

.section--about {
    padding: 100px 20% 125px 20%;
}

.plofile {
    padding-right: 10px;
    padding-left: 10px;
}



   
}





/* =================
contact
===================== */

.section--contact {
    padding: 50px 10% 100px 10%;
    background: var(--primary-brown);
}

.section__topic--contact {
    background: var(--primary-brown);
}

.contact__detail {
    background: var(--primary-white);
    border-radius: 10px;
    padding-bottom: 60px;
    box-shadow: 7px 6px #9C3A35;
    max-width: 900px;
    margin: 50px auto;
}

.contact__text {
    color: #000;
    text-align: center;
    font-family: "Zen Old Mincho";
    font-size: 1.4rem;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    padding-top: 70px;
    padding-left: 60px;
    padding-right: 60px;
}

.SNS {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 30px;
}

.comi {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5px;
    margin-top: 20px;
}

.comi__text {
    color: #000;
    text-align: center;
    font-family: Lora;
    font-size: 1.4rem;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

.comi__pic {
    width: 10px;
    height: 10px;
}

.mailto {
    display: block;
    margin: 0 auto;
    color: var(--primary-red);
    width: 161px;
    height: 50px;
    font-size: 1.6rem;
    text-align: center;
    border-radius: 10px;
    padding-top: 12px;
    margin-top: 30px;
    border: 1px solid #9C3A35;
   
}

.mailto:hover {
    opacity: 0.5;
}

/* contact pc */

@media screen and (min-width: 769px) {
    .section--contact {
        padding: 70px 13% 100px 13%;
    }

    .contact__text {
        font-size: 1.8rem;
        padding: 95px 80px 44px 80px;
    }

    .SNS {
        margin-top: 0;
        gap: 15px;
    }

    .SNS__icon {
        width: 25px;
        height: 25px;
    }

    .comi__pic {
        width: 15px;
        height: 15px;
    }

    .comi__text {
        font-size: 1.6rem;
    }
    
    .comi {
        gap: 8px;
        margin-top: 35px;
    }

    .mailto {
        width: 236px;
        height: 60px;
        font-size: 2em;
        margin-top: 40px;
    }
}



