@charset "UTF-8";
/*全体設定*/
html {
    background-color: #E8DED4;
    font-family: serif;
    color: #292929;
}

/*共通*/
h1 {
    color: #fff;
    font-weight: 900;
    font-size: 10rem;
}

p {
    font-size: 1.2rem;
    line-height: 2.3rem;
}

h2 {
    font-weight: 500;
    font-size: 5rem;
    letter-spacing: 7px;
}

.top-picture {
    width: 100%;
    height: 600px;
    object-fit: cover;
}

/*animation*/
.fade,
.brown-square {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1s ease, transform 1s ease;
}

.white-frame {
    border: #fff 2px solid;
    position: absolute;
    opacity: 0;
    top: 130px;
    margin: 0 auto;
    width: 70%;
}

.fade.active {
    opacity: 1;
    transform: translateY(0);
}

.brown-square {
    position: absolute;
    width: 70%;
    background-color: #c7b6a4;
    margin: -7% auto;
}

.brown-square.active {
    opacity: 0.7;
    transform: translateY(0);
}

.white-frame,
.brown-square {
    pointer-events: none;
    z-index: 1;
}

/*ヘッダー*/
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    background: #C2AE9A;
    color: #fff;
    height: 110px;
    padding: 0 30px;
}

.logo img {
    width: 50%;
}

.nav ul {
    display: flex;
    list-style: none;
    gap: 50px;
}

.nav li {
    text-decoration: none;
}

.nav a {
    color: #fff;
    text-decoration: none;
    font-size: 1.5rem;
}

.nav a:hover {
    color: yellow;
    transition: .4s ease-in-out;
}

/*ハンバーガー見た目*/
.hamburger {
    display: none;
    flex-direction: column;
    gap: 10px;
    cursor: pointer;
}

.hamburger span {
    width: 40px;
    height: 3px;
    background-color: #fff;
    border-radius: 20px;
    transition: .3s;
}

/*背景の図形*/
.shape1,
.shape2,
.shape4 {
    left: 0;
    width: 100%;
}

.shape1,
.shape2,
.shape4,
.white-frame,
.brown-square {
    position: absolute;
    z-index: 1;    
}

.shape1 {
    top: -200px;
}

.shape4 {
    bottom: -250px;
}

div, header, img {
    position: relative;
    z-index: 10;
}

.myname {
    text-align: center;
    margin: 80px 0;
}

.myname h2 {
    font-size: 4rem;
    letter-spacing: 10px;
    font-weight: 500;
}

.myname span {
    font-size: 2rem;
}

.main-picture {
    width: 70%;
    display: block;
    margin: 0 auto;
    object-fit: cover;
    height: 600px;
}

.information {
    position: relative;
    width: 60%;
    top: -10px;
    z-index: 20;
}

.information a {
    text-decoration: none;
    font-size: 1.5rem;
}

.more-btn {
    background: #fff;
    border-radius: 30px;
    margin: 30px auto;
    display: block;
    width: 300px;
    padding: 5px;
    text-align: center;
    color: #292929;
}

.information a:hover {
    background-color: #C2AE9A;
    transition: .5s ease-in-out;
    border: #fff 1px solid;
    color: #fff;
}

.left-info {
    left: 50px;
}

.right-info {
    margin-left: auto;
    right: 50px;
}

/*home-section*/
.wrapper {
    width: 70%;
    margin: 80px auto 200px;
}

.title-right {
    text-align: right;   
}

.title-left {
    text-align: left;
}

.pre-about {
    display: flex;
    align-items: end;
    gap: 10px;
    margin-bottom: 30px;
}

.subname span {
    font-size: 1.4rem;
    letter-spacing: 4px;
}

.subname h3 {
    font-size: 2.4rem;
    line-height: 100%;
    padding-top: 5px;
}

.age {
    line-height: 100%;
    font-size: 1.4rem;
}

.square-about,
.frame-about {
    height: 480px;
}

.frame-about,
.frame-work {
    left: 24px;
}

/*skill-section*/
.skill-icon {
    display: flex;
    gap: 30px;
    padding-top: 30px;
}

.skill-icon img {
    width: 100px;
}

.square-skill,
.frame-skill {
    height: 360px;
}

.square-skill,
.square-contact {
    right: 0;
}

.frame-skill,
.frame-contact {
    right: 24px;
}

/*work-section*/
.work-list {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 100px;
}

.work-list img {
    height: 370px;
    width: 100%;
    object-fit: cover;
}

.square-work,
.frame-work {
    height: 1500px;
}

/*contact-section*/
.square-contact,
.frame-contact {
    height: 300px;
}

.contact-information {
    text-align: center;
}

/*About Page*/
.about-section .wrapper {
    width: 60%;
    margin: 0 auto;
}

.title {
    text-align: center;
    margin: 100px 0 70px;
}

.title span {
    font-size: 2rem;
}

.door-pic,
.door-shape {
    border-radius: 500px 500px 0 0;
    height: 500px;
    width: 400px;
}

.door-pic {
    position: relative;
    object-fit: cover;
}

.door-shape {
    top: 0;
    border: #fff 5px solid;
    z-index: 10;
}

.my-info {
    display: flex;
    gap: 50px;
    justify-content: center;
    margin-bottom: 50px;
}

.my-detail {
    width: 100%;
    margin-top: 50px;
}

.my-detail .subname {
    margin-bottom: 30px;
    text-align: center;
}

.my-lists {
    width: 100%;
}

.my-lists ul {
    height: 80px;
    border: #B19B84 1px solid;
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    background-color: #fff;
}

.my-lists li {
    list-style: none;
    text-align: center;
    font-size: 1.2rem;
}

.item-title {
    background-color: #B19B84;
    height: 30px;
    color: #fff;
}

.item-info {
    padding-top: 10px;
}

.about-detail {
    width: 100%;
    background-color: #fff;
    height: 200px;
    opacity: 0.6;
    position: absolute;
    z-index: 1;
}

.about-section p {
    width: 60%;
    margin: 0 auto 200px;
    padding: 25px 0;
    opacity: 1;
    position: relative;
    z-index: 10;
}

/*skill*/
.icon-tools {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    width: 100%;
    margin: 0 auto;
    background: rgb(177,155,132, 0.5);
    padding: 50px;
    margin-bottom: 150px;
}

.skill {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.skill img {
  width: 100px;
  margin-right: 15px;
}

.bars {
    display: flex;
    gap: 4px;
    flex-direction: column;
}

.bars .bar {
  width: 60px;
  height: 8px;
  border-radius: 4px;
  background: orange; /* default */
  border: 1px solid #fff;
}

.bars .bar.active {
    background: #fff;
    border-color: orange;
}

.about-section .shape2 {
    width: 100%;
    top: 80px;
}

/*works page*/
.work-section .shape2 {
    top: 0px;
}

.slideshow {
    height: 400px;
    overflow: hidden;
    margin: 0 auto 150px;
    position: relative;
    width: 100%;
}

.slideshow-track {
    display: flex;
    transition: transform 0.6s ease;
}

.slideshow-item {
    width: 100%;
    flex: 0 0 100%;
    display: flex;
    justify-content: space-around;
    margin: 0 auto;
    max-width: 100%;
}

.slide-pic {
    width: 60%;
    height: 300px;
}

.slideshow-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.item-detail {
    display: flex;
    flex-direction: column;
    top: 75px;
}

.item-detail h3,
.item-detail span {
    color: #B19B84;
    text-align: center;
}

.item-detail h3 {
    font-size: 1.8rem;
}

.item-detail span {
    padding-bottom: 10px;
    font-size: .9rem;
}

.item-detail a {
    text-decoration: none;
    color: #fff;
    background-color: #B19B84;
    padding: 10px 10px;
    width: 120px;
    font-size: .9rem;
    margin: 10px auto;
}

.item-detail a:hover {
    background-color: #fff7f2;
    color: #B19B84;
    transition: .4s ease-in-out;
    scale: 90%;
    border: #B19B84 1px solid;
}

.prev,
.next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: #B19B84;
  border: none;
  font-size: 20px;
  cursor: pointer;
  z-index: 100;
}

.prev:hover,
.next:hover {
    transition: .4s ease-in-out;
    font-size: 25px;
}

.next {
    right: 0px;
}

.dots {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    top: 350px;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: #B19B84 1px solid;
  cursor: pointer;
}

.dot.active {
  background: #B19B84;
  border: #fff 1px solid;
}

/*work一覧*/
.grid-items {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    width: 100%;
    gap: 30px;
}

.grid-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
}

.black-hover{
    display: flex;
    top: 0;
    left: 0;
    height: 180px;
    position: relative;
    align-items: center;
    justify-content: center;    
    font-size: 0;
}

.grid-items a {
    text-decoration: none;
    color: #fff;
}

.black-hover:hover {
    background-color: rgba(0, 0, 0, 0.697);
    color: #fff;
    font-size: 1.5rem;
    transition: .4s ease-in-out;
}

.page-num {
    text-align: end;
    margin-top: 30px;
}

.page-num p {
    color: #fff;
}

.page-num a {
    color: #292929;
    text-decoration: none;
}

.page-num a:hover {
    color: #fff;
    transition: .4s ease-in-out;
}

/*作品の詳細*/
.work-section .shape2 {
    top: -150px;
    height: 1500px;
}

.works-img {
    width: 100%;
    margin: 0 auto;
}

.works-img img {
    width: 100%;
    margin: 0 auto;
    object-fit: cover;
}

.tag {
    display: flex;
    gap: 20px;
}

.explain {
    margin-bottom: 50px;
}

.banner {
    display: flex;
    gap: 10px;
    width: 100%;
    margin: 0 auto;
    height: 670px;
}

.banner img {
    object-fit: cover;
}

.spec {
    max-width: 700px;
    margin-top: 100px;
}

.row {
    display: grid;
    grid-template-columns: 100px 1fr 550px;
    align-items: center;
    margin: 30px 0 25px;
    gap: 20px;
}

.row span {
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.line {
    height: 1px;
    border: #292929 1px solid;
    width: 80px;    
}

.value {
    text-align: left;
}


.row a {
    color: #292929;
}

.row a:hover {
    color: #fff;
    transition: .4s ease;
}

.back {
    text-align: right;
    margin-top: 20px;
}

.back a {
    text-decoration: none;
    color: #292929;
    font-size: 1.2rem;
}

.back a:hover {
    color: #fff;
    transition: .4s ease;
}

.tag p {
    background-color: #fff;
    border-radius: 20px;
    padding: 0 20px;
    font-size: .98rem;
    border: #B19B84 1px solid;
    color: #B19B84;
    margin: 20px 0;
    display: inline-block;
    width: fit-content;
}

.haircare-img {
    height: 500px;
    display: flex;
    justify-content: center;
}

.haircare-img img {
    object-fit: cover;
    height: 100%;
    width: auto;
}

/*contact page*/
.contact-section .shape2 {
    top: -150px;
}
.contact {
    padding: 80px 20px;
}

.contact-form {
    max-width: 700px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 40px;
}

label {
    display: block;
    margin-bottom: 10px;
    font-size: 0.95rem;
}

label span {
    color: #292929;
}

input,
textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #B19B84;
    background-color: #fff;
    font-size: 1rem;
}

input:focus,
textarea:focus {
    outline: none;
    border-color: #292929;
}

.submit-btn {
    display: block;
    margin: 60px auto 0;
    padding: 15px 60px;
    background-color: #B19B84;
    color: #fff;
    font-size: 1rem;
    border: none;
    cursor: pointer;
    transition: .3s;
}

.submit-btn:hover {
    background-color: #c7b6a4;
    scale: 95%;
    color: #292929;
}

/*footer*/
footer {
    background-color: #c7b6a4;
    height: 150px;
    align-items: center;
    z-index: 15;
    position: relative;
}

.footer-logo {
    display: flex;
    gap: 10px;
    padding-top: 55px;
    text-align: center;
    text-decoration: none;
    justify-content: center;
}

footer p {
    color: #fff;
    font-size: 50px;
}

footer img {
    width: 20%;
    object-fit: cover;
}

@media (max-width: 768px) {
    header {
        height: 100px;
        z-index: 1000;
    }

    h1 {
        font-size: 4.6rem;
    }

    p {
        font-size: .9rem;
        line-height: 2.2rem;
        width: 100%;
    }

    .shape4 {
        margin-bottom: 50px;
    }

/*ナビゲーション*/
    .nav {
        position: fixed;
        top: 0;
        right: -700px;
        background: #C2AE9A;
        width: 100%;
        padding: 20px;
        height: 100%;
        transition: right .7s ease;
    }

    .nav ul {
        flex-direction: column;
        gap: 50px;
        padding-top: 100px;
    }

    .nav li {
        text-align: center;
    }

    .nav a {
        font-size: 2rem;
    }    

    .hamburger {
        display: flex;
        z-index: 1000;
    }

 /*JavaScriptで.activeが付いたときに表示*/
    .nav.active {
        right: 0;
    }

    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(10px, 10px);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(8px, -8px);
    }

/*home-title*/
    .myname {
        margin-bottom: 50px;
    }

    .myname h2 {
        font-size: 2.3rem;
        letter-spacing: 5px;
    }

    .myname span {
        font-size: 1.5rem;
    }

    .main-picture {
        width: 100%;
        height: 300px;
    }

/*home-section*/
    .wrapper {
        margin: 50px auto 150px;
        width: 95%;
    }

    .brown-square {
        background-color: #c7b6a4;
        width: 100%;        
        margin: -12% auto;
    }

    .white-frame {
        top: 70px;
        left: 9px;
        width: 95%;
    }

    .more-btn {
        padding: 5px 70px;
        border-radius: 20px;
        margin: 20px auto;
    }

    .information a {
        font-size: 1rem;
    }

    .information {
        padding: 0 25px;
        margin: 0 auto;
        width: 100%;
    }

    .shape1 {
        top: -10px;
    }

/*about-information*/
    .pre-about {
        margin-bottom: 15px;
    }

    .left-info {
        left: 0;
    }

    .right-info {
        margin-left: 0;
        right: 0;
    }

    .subname {
        width: 100%;
    }

    .subname span {
        font-size: 1.1rem;
        letter-spacing: 2px;
        width: 100%;
    }

    .subname h3 {
        font-size: 1.8rem;
        line-height: 100%;
        padding-top: 5px;
    }

    .age {
        line-height: 100%;
        font-size: 1.1rem;
    }

    .square-about {
        height: 400px;
    }

    .frame-about {
        height: 380px;
    }

/*skill-section*/
    .skill-icon {
        gap: 15px;
        margin: 0 auto;
    }

    .skill-icon img {
        width: 50px;
    }

    .square-skill {
        height: 200px;
    }

    .frame-skill {
        height: 180px;
    }

    .skill-info {
        margin-top: -10px;
    }

/*work-section*/
    .work-list {
        grid-template-columns: repeat(1, 1fr);
        gap: 30px;
    }

    .work-list img {
        width: 100%;
        height: 150px;
        object-fit: cover;
        border: #fff 1px solid;
    }

    .square-work {
        height: 650px;
    }

    .frame-work {
        height: 630px;
    }

/*contact-section*/
    .square-contact {
        height: 200px;
    }

    .frame-contact {
        height: 180px;
    }

    .shape4 {
        bottom: -150px;
    }

    .contact-information {
        text-align: center;
    }

    /*About Page*/
    .top-picture {
        height: 300px;
    }

    .about-section .wrapper {
        width: 95%;
    }

    .title h2 {
        font-size: 2.7rem;
    }

    .sub-picture {
        display: block;
        text-align: center;
    }

    .door-pic,
    .door-shape {
        border-radius: 400px 400px 0 0;
        height: 350px;
        width: 250px;
    }

    .door-shape {
        top: 0;
        left: 60px;      
    }

    .my-info {
        display: block;
        margin-bottom: 70px;
    }

    .my-lists {
        width: 90%;
        margin: 0 auto;
    }

    .about-detail {
        height: 300px;
    }

    .about-section p {
        width: 90%;
        margin: 0 auto 130px;
    }

    /*skill*/
    .icon-tools {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
        padding: 20px;
    }

    .skill img {
        width: 70px;
    }

    /*work page*/
    .slideshow {
        height: 160px;
        margin-bottom: 100px;
    }

    .slide-pic {
        width: 50%;
        height: 100px;
    }

    .item-detail {
        top: 10px;
    }

    .item-detail h3 {
        font-size: .9rem;
    }

    .item-detail span {
        padding-bottom: 10px;
        font-size: .7rem;
    }

    .item-detail a {
        padding: 5px 5px;
        width: 100px;
        font-size: .75rem;
        margin: 5px auto;
    }

    .prev,
    .next {
        display: none;
    }

    .dots {
        gap: 5px;
        top: 150px;
    }

    /*work一覧*/
    .grid-items {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .black-hover{
        height: 130px;
    }

    .page-num {
        text-align: end;
        margin: 30px 0 100px;
    }

    .page-num p {
        color: #fff;
    }

    .page-num a {
        color: #292929;
        text-decoration: none;
    }

    .page-num a:hover {
        color: #fff;
        transition: .4s ease-in-out;
    }

    /*作品の詳細*/
    .work-section .shape2 {
        top: -10px;
        height: 800px;
    }

    .tag {
        gap: 10px;
    }

    .banner {
        gap: 10px;
        height: auto;
    }

    .banner img {
        height: 240px;
    }

    .picture2 {
        width: 60%;
    }

    .picture3 {
        width: 40%;
    }

    .spec {
        margin-top: 80px;
        width: 100%;
    }

    .row {
        grid-template-columns: 8.3ch 1fr 200px;
        margin: 20px 0 15px;
        gap: 20px;
    }

    .row span {
        font-size: .9rem;
        margin-bottom: 20px;
    }

    .line {
        width: 40px;    
    }

    .back {
        margin: 20px 0;
    }

    .back a {
        font-size: .9rem;
    }

    .tag p {
        padding: 0 10px;
        font-size: .75rem;
    }

    .haircare-img {
        height: 300px;
    }

    /*contact page*/
    .contact-section .shape2 {
        top: 50px;
    }

    .contact-section .title {
        margin-bottom: 0px;
    }

    .shape4 {
        bottom: -200px;
    }

/*footer*/
    footer {
        height: 80px;
        margin-top: 100px;
    }

    .footer-logo {
        gap: 0px;
        padding-top: 25px;
    }

    footer p {
        font-size: 30px;
    }

    footer img {
        width: 50%;
        right: 80px;
    }
}