html{
    font-size: 100%;
}

body{
    background-color: #ffefe4;
    color: #24292e;
    font-family: "Sawarabi Gothic"; 
}

a{
    text-decoration: none;
}

p{
    font-size: 1.3rem;
}

img{
    max-width: 100%;
}


li{
    list-style: none;
    font-size: 1.2rem;
}

.wrapper{
    max-width: 960px;
    margin: 0 auto 0px auto;
    font-size: 0.9rem;
    display: block;
}


.sec-title{
    font-size: 1.5rem;
    text-align: center;
}

.site-title{
    line-height: 3rem;
    font-weight: 600;
    font-size: 2.4rem;
    padding-bottom: 20px;
}

.site-title a{
    color: #744444;
    display: block;
}

.li-title{
    font-size: 1.3rem;
    text-align: center;
    margin-bottom: 20px;
}

.lisec-title{
    text-align: center;
    color: #744444;
    margin-bottom: 20px;
    margin-top: 20px;
}

.lisec-wave{
    text-align: center;
    color: blue;
    font-size: 1.3rem;
    margin-top: 20px;
    margin-bottom: 20px;
}
/* header */
#header{
    max-width: 960px;
    align-items: center;
    justify-content: space-between;
    margin: 0% auto;
    padding: 0 4%;
    height: 210px;
    text-align: center;
}

#header ul{
    padding: 15px 0px 10px ;
    align-items: center;
    text-align: center;
}

#header li{
    font-size: 1.2rem;
    margin-left: 30px;
    text-align: center;
    display: inline-block;
}

#header ul li a{
    color: #24292e;
    transition: 0.5s;
}

#header ul li a:hover{
    opacity: 0.5;
}

/* Main */
#main{
    margin-bottom: 80px;
}

#main img{
    width: 100%;
    max-width: 1920px;
    height: 400px;
    object-fit: cover;
}

/* About */
#about ul{
    margin-bottom: 0px;
}

#about ul li{
    margin-bottom: 3px;
}

#about ul li:first-child{
    margin-bottom: 30px;
}

#qr img{
    width: 50%;
    height: 100%;
}


/* Works */
#works ul{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 0px;
}

#works ul li{
    width: 40%;
    margin-bottom: 23px;
}

#works ul li img{
    cursor: pointer;
    transition: all 0.3s;
}

#works ul li img:hover{
    transform: scale(1.2, 1.2);
    opacity: 0.7;
}

.slidboxp{
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 620px;
    height: 80vh;
    margin: 0em auto 1em auto;
    position: relative;
}

.slidboxp::before{
    content: '';
    display: block;
    padding-bottom: 100%;
}

.slidboxp .pilates{
    width: 80%;
    height: auto;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 720px;
    max-height: 100%;
    opacity: 0;
    animation: itemFade-chg-itm-anim 30s infinite;
}

.slidboxp .pilates:nth-of-type(1){
    animation-delay: 0s;
}

.slidboxp .pilates:nth-of-type(2){
    animation-delay: 5s;
}

.slidboxp .pilates:nth-of-type(3){
    animation-delay: 10s;
}

.slidboxp .pilates:nth-of-type(4){
    animation-delay: 15s;
}

.slidboxp .pilates:nth-of-type(5){
    animation-delay: 20s;
}

.slidboxp .pilates:nth-of-type(6){
    animation-delay: 25s;
}

@keyframes itemFade-chg-itm-anim{
    0%{
        opacity: 0;
    }
    10%{
        opacity: 1;
        z-index: 3;
    }
    16%{
        opacity: 1;
    }
    50%{
        opacity: 0;
        z-index: 1;
    }
    100%{
        opacity: 0;
    }
}

.slidboxc{
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 620px;
    height: 80vh;
    margin: 0em auto 1em auto;
    position: relative;
}

.slidboxc::before{
    content: '';
    display: block;
    padding-bottom: 100%;
}

.slidboxc .conditioning{
    width: 80%;
    height: auto;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 720px;
    max-height: 100%;
    opacity: 0;
    animation: itemFade-chg-itm-anim 30s infinite;
}

.slidboxc .conditioning:nth-of-type(1){
    animation-delay: 0s;
}

.slidboxc .conditioning:nth-of-type(2){
    animation-delay: 5s;
}

.slidboxc .conditioning:nth-of-type(3){
    animation-delay: 10s;
}

.slidboxc .conditioning:nth-of-type(4){
    animation-delay: 15s;
}

.slidboxc .conditioning:nth-of-type(5){
    animation-delay: 20s;
}

.slidboxc .conditioning:nth-of-type(6){
    animation-delay: 25s;
}



  /* ふわっとアニメーション */
  @keyframes anime {
    0% {
      opacity: 0;
    }
    30% {
      opacity: 1;
    }
    35% {
      opacity: 1;
    }
    50% {
      opacity: 0;
      z-index: 9;
    }
    100% {
      opacity: 0;
    }
  }
  
  @-webkit-keyframes anime {
    0% {
      opacity: 0;
    }
    30% {
      opacity: 1;
    }
    35% {
      opacity: 1;
    }
    50% {
      opacity: 0;
      z-index: 9;
    }
    100% {
      opacity: 0;
    }
  }


/* News */
#news dl{
    display: flex;
    flex-wrap: wrap;
    border-top: 1px solid #c8c8c8;
    margin-bottom: 20px;
}

#news dt{
    width: 20%;
    border-bottom: 1px solid #c8c8c8;
    padding: 15px;
}

#news dd{
    width: 80%;
    border-bottom: 1px solid #c8c8c8;
    padding: 15px;
}

/* Contact */
#contact p{
    text-align: center;
    margin-bottom: 20px;
}

#contact dl{
    display: flex;
    flex-wrap: wrap;
}

#contact dt{
    width: 15%;
    margin-bottom: 10px;
}

#contact dd input,
#contact dd textarea{
    width: 100%;
    border: 1px solid #c8c8c8;
    padding: 10px;
}

#contact dd textarea{
    height: 10rem;
}

#contact dd{
    width: 85%;
    margin-bottom: 10px;
}

#contact .button{
    text-align: center;
}

#contact .button input{
    border: 1px solid #24292e;
    background-color: #24292e;
    width: 200px;
    padding: 15px 0;
    color: #fff;
    transition: all 0.3s;
}

#contact .button input:hover{
    background-color: #fff;
    color: #24292e;
}

/* SP */
@media screen and (max-width: 600px){
.site-title{
    line-height: 1.7rem;
    font-size: 1.4rem;
}

    /* header */
    #header{
        flex-direction: column;
        height: auto;
        line-height: 40px;
    }


    #header li{
        font-size: 0.8rem;
        margin-left: 20px;
    }
    
    /* Works */
    #works ul{
    flex-direction: column;
    }

    #works ul li{
    width: 100%;
    }

    /* News */
    #news dl{
        flex-direction: column;
    }

    #news dt{
        width: 100%;
        border-bottom: none;
        padding: 0;
    }

    #news dd{
        width: 100%;
        padding-top: 0;
    }
    /* Contact */
    #contact dl{
        flex-direction: column;
    }

    #contact dt{
        width: 100%;
        margin-bottom: 5px;
    }

    #contact dd{
        width: 100%;
    }
}

.profile-container {
    display: flex;
    align-items: flex-start; /* 上端揃え */
}

.profile-image {
    flex: 1; /* 画像とテキストが同じ幅になるように */
    padding-right: 20px; /* 画像とテキストの間隔 */
}

.profile-text {
    flex: 2; /* テキスト部分が画像よりも広くなるように */
}