@charset "UTF-8";

/* 共通部分
------------------------------- */
html {
    font-size: 100%;
}
a {
    text-decoration: none;
}
img {
    max-width: 100%;
    object-fit: cover;
}
.font-english {
  font-family: "Philosopher", sans-serif;
  font-weight: 400;
  font-style: normal;
}
.font-japanese {
  font-family: "Philosopher", sans-serif;
  font-weight: 400;
  font-style: normal;
}
.page-title {
    text-align: center;
    font-size: 5rem;
}
.smart-phone {
    display: none;
}
h2 {
    font-size: 2rem;    
}
h3 {
    font-size: 1rem;
    font-weight: 500;
}
a {
    text-decoration: none;
}


/* ヘッダー 
----------------------------------*/

header {
    background-color: black;
    height: 5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
header img {
    width: 4em;
    border-radius: 50%;
    margin: 0.5rem;
}
header nav {
    justify-content: right;
}
nav ul{
    list-style: none;
    display: flex;
    justify-content: right;
}
nav li a{
    color: white;    
    padding-right: 2.5rem;
    font-size: 1.75rem;
}



/* top-wrapper
----------------------------------*/

.topwrapper {
    height: 40rem;
    display: flex;
    justify-content: right;
    background-image: url(../img/IMG_5734.png);
    background-size: cover;
    background-position: center;
}
.catchphrase {
    width: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 40rem;
}
.catchphrase h1 {
    font-size: 3rem;
  color: black;
}



/* Service
----------------------------------*/
.service-container {
    margin: 2rem;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0 2rem;
    max-width: 1024px;
    margin: auto;
    padding: 2rem;
}
.s-item img {
    border-radius: 50%;
}
.s-item h2 {
    text-align: center;
}



/* Works
----------------------------------*/
.works-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0 2rem;
    max-width: 1024px;    
    padding: 2rem;
    margin: auto;  
}
.works-container a {
    display: block;
}
.works-container a :hover {
    background-color: #eee;
    transition: 0.3s;    
}
.w-item h2, h3{
    color: black;
}
.w-item {
    height: 25rem;
    padding: 1rem;    
}
.w-item img {
    aspect-ratio: 16/9;
}

/* About
----------------------------------*/
.about-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    max-width: 1024px; 
    gap: 0 2rem;       
    padding: 2rem;
    margin: auto;      
}
.a-item {
    text-align: center;
}
.a-item img {
    height: 25rem;
    width: 20rem;
    border-radius: 2rem;
}
.a-item h3 {
    text-align: left;
}
.info {
    display: flex;
    height: 4rem;
    justify-content: right;
    align-items: center;
    margin: auto;
    width: 100%;
    max-width: 1024px;
    padding: 2rem 0 3rem;
}
.btn {
    background-color: gray;
    color: white;
    font-size: 1.5rem;    
    padding: 1rem;
    border-radius: 1rem;
    transition: 0.2s;
}
.btn:hover {
    background-color: #555;
}
.icon {
    height: 3rem;
    border-radius: 1rem;
}
.info a {
    margin: 0.75rem;
}

/* Contact
----------------------------------*/
.contact-container {
    padding: 2rem;
    max-width: 1024px;
    margin: auto;
}
.contact-container h3 {
    margin-bottom: 2rem;
}
.contact-container input, textarea {
    width: 30rem;
    padding: .25rem;
    margin-bottom: 2rem;
    max-width: 100%;
}
.contact-container input {
    height: 1.25rem;
}
.contact-container textarea {
    height: 5rem;
}
.contact-container .btn {
    font-size: 1rem;
    display: inline-block;
    margin: 1rem 0;
}




/* フッター
----------------------------------*/
footer {
    background-color: black;
    height: 10rem;
}
.copyright {
    color: white;
    text-align: center;
    line-height: 10rem;
}




/* スマホ版
----------------------------------*/

@media (max-width: 600px) {
    .smart-phone {
        display: block;
    }
    .desktop {
        display: none;
    }
    .topwrapper {
        background-image: url(../img/IMG_5718.jpeg);    
    }
    nav li a{
    color: white;    
    padding-right: 1rem;
    font-size: 1rem;
    }


    .catchphrase-s {
        text-align: center;
        font-size: 3rem;
        margin: 5rem 0 8rem;
    }
    .service-container, .works-container, .about-container {
        grid-template-columns: repeat(1, 1fr);
    }
    .info {
        justify-content: center;
    }

}