@charset "UTF-8";
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@100..900&display=swap');

html{
    background-color: #FFF5F5;
    color: #752100;
    font-size: 100%;
    font-family: "Noto Sans JP", sans-serif;
}

img{
    max-width: 100%;
    height: auto;
}

ul{
    list-style: none;
}

header{
    display: flex;
    justify-content: space-between; 
    align-items: center;
    padding: 30px 60px;            
}

nav ul{
    display: flex;
    gap: 40px;          
    margin: 0;
    padding: 0;
}

h1 {
    margin: 0;                              
}

.section-title,footer,#about,#contact,.category-title{
    text-align: center;
}
.section-title{
    margin-bottom: 40px; 
}

.profile-container {
    display: flex;
    align-items: center;     
    justify-content: center;               
    margin-top: 20px;
    gap: 50px;
}

#profile-img {
    width: 250px;
    object-fit: cover;
}

.profile-text ul li:first-child {
    font-size: 17px;     
    margin-bottom: 4px;
}

.profile-text {
    text-align: left;
    line-height: 1.8;
}

.profile-text ul {
    padding-left: 0;
    margin-left: 0;
}

.profile-text p{
    font-size: 14px;     
    margin-top: 16px;
}

#about {
    padding: 60px 0;
}

#works ul {
    display: flex;
    flex-wrap: wrap;          
    gap: 20px;                
    padding: 0;
    margin: 0;
}

#works ul li {
    width: calc((100% - 40px) / 3); 
    box-sizing: border-box;
}

#works ul li a {
    display: block;
    color: inherit; 
    text-decoration: none;          
}

#works ul li h3 {
    text-decoration: underline;
    margin-bottom: 8px;       
}

#works ul li img {
    width: 65%;               
    display: block;           
    margin: 0 auto 15px auto; 
    border-radius: 8px;       
}

#works ul li h3,#works ul li p {
    width: 65%;               
    margin-left: auto;       
    margin-right: auto;
    text-align: left;         
}

#works ul li p {
    margin-top: 0;
    font-size: 14px;
}

#works {
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
    background-color: #FFFCFC;
    padding: 20px 0 40px;    
}

#works h2 {
    margin-bottom: 30px; 
}

#contact .sns-links {
    display: flex;
    justify-content: center; 
    gap: 20px;               
}

#contact .sns-links a {
    display: inline-block;
    font-size: 28px;                  
    color: #752100;                  
    text-decoration: none;             
    transition: all 0.3s;
}

#contact .sns-links a:hover {
    color: rgba(117, 33, 0, 0.5);  
}

.btn-outline {
    display: inline-block;
    padding: 10px 24px;                            
    border-radius: 6px;                  
    background-color: rgba(117, 33, 0, 0.5); 
    color: #ffffff;                      
    text-decoration: none;              
    transition: all 0.3s;
    margin-top: 15px;
}

.btn-outline:hover {
    background-color: rgba(117, 33, 0, 0.8); 
}

nav ul li a {
    color: #752100;                 
    transition: all 0.3s;           
}

nav ul li a:hover,
#works ul li a:hover h3 {
    color: rgba(117, 33, 0, 0.5);  
    text-decoration: none;          
}

#contact {
    position: relative;
    overflow: hidden;         
    padding: 60px 0;
}

#contact::before {
    content: "";
    position: absolute;
    top: 85px;                        
    left: 5%;
    width: 150px;                     
    height: auto;
    aspect-ratio: 1 / 1;
    background: url("image/frametop.png") no-repeat top left / contain;
    opacity: 0.4;
    pointer-events: none;
   
}

#contact::after {
    content: "";
    position: absolute;
    top: 160px;                       
    right: 5%;
    width: 150px;                     
    height: auto;
    aspect-ratio: 1 / 1;
    background: url("image/frame.png") no-repeat top right / contain;
    opacity: 0.4;
    pointer-events: none;
}

#contact .btn-outline {
    position: relative;          
    display: inline-block;
}

#contact .btn-outline::before {
    content: "";
    position: absolute;
    top: 50%;                     
    transform: translateY(calc(-50% + 30px));  
    left: -160px;                  
    width: 140px;                  
    height: 140px;
    opacity: 0.6;                 
    background: url("image/neko.png") no-repeat center / contain; 
    pointer-events: none;
}

footer {
    padding-bottom: 30px; 
}

.profile-page-detail {
    display: flex ;
    align-items: center ;       
    justify-content: center ;  
    gap: 30px ;                 
    max-width: 800px ;
    margin: 0 auto 30px ;
}

.profile-page-detail img {
    width: 200px ;              
    height: auto ;
    flex-shrink: 0 ;
}

.profile-page-text ul {
    padding-left: 0 ;           
    margin: 0 ;
    text-align: left ; 
    font-size: 16px ;           
    line-height: 1.8 ;          
}

.profile-page-text li {
    margin-bottom: 6px ;
}

.profile-bio {
    max-width: 680px;       
    margin: 40px auto 0;    
    text-align: left;       
    line-height: 1.8;       
}

.profile-bio p {
    margin-bottom: 24px;
}

.profile-bio strong {
    font-weight: 600; 
}

.hamburger {
    display: none;
}

.work-detail > img {
    display: block;
    margin: 0 auto 30px;
    max-width: 100%;
    height: auto;
}

.work-detail {
    max-width: 680px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: left;
}

.p-work-detail__list {
    list-style: disc;
    padding-left: 1.5em;
}

.p-work-detail__item {
    line-height: 1.8;
    margin-bottom: 12px;
}

.btn-back-wrap {
    text-align: right;
    max-width: 680px;
    margin: 20px auto 0;
}

@media (max-width: 768px) {
header {
    display: flex;
    justify-content: space-between; 
    align-items: center;            
    position: relative;
    padding: 15px 20px;
}

h1 {
    font-size: 20px;
    margin: 0;
}

.hamburger {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 28px;
    height: 18px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 100;
    padding: 0;
    margin: 0;
}

.hamburger span {
    width: 100%;
    height: 2px;
    background-color: #752100;
    transition: all 0.3s;
}

.hamburger.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

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

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

nav {
    position: fixed;
    top: 0;
    right: -100%; 
    width: 100%;
    height: 100vh;
    background-color: #FFF5F5;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s;
    z-index: 90;
}

nav.active {
    right: 0;
}

nav ul {
    flex-direction: column;
    align-items: center;
    gap: 30px;
    margin: 0;
    padding: 0;
}

.profile-container {
    flex-direction: column;
    gap: 20px;
    padding: 0 20px;
}

#profile-img {
    width: 180px;
}

.profile-page-detail {
    flex-direction: column;
    gap: 20px;
    padding: 0 20px;
}

.profile-page-detail img {
    width: 160px;
}

.profile-bio {
    padding: 0 20px;
}

#works ul {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    padding: 0 15px;
}

#works ul li {
    width: calc((100% - 15px) / 2);
    
}

#works ul li img,
#works ul li h3,
#works ul li p {     
    width: 85%;
    margin-left: auto;     
    margin-right: auto;
}

#contact p {
    padding: 0 25px; 
}

#contact p:nth-of-type(2) {
    font-size: 14px; 
}

#contact::before {
    top: 90px;
    left: 2%;
    width: 60px;
}

#contact::after {
    top: 300px;
    right: 2%;
    width: 60px;
}

#contact .btn-outline::before {
    display: block;
    width: 80px;
    height: 60px;
    left: -85px;
    top: 40px;
    transform: translateY(-50%);
}

.btn-back-wrap {
        margin-right: 20px;
        margin-bottom: 20px;
        padding-right: 0;
    }

}



    
    
