@charset "UTF-8";

/* -----------------------------------------
共通 
----------------------------------------- */
html {
    font-size: 80%;
}
body{
    font-family: sans-serif;
    font-style: normal;
    font-weight: 100;
    line-height: 1.75;
    color: #000000;
}
a {
    text-decoration: none;
}
img {
    max-width: 100%;
}
.wrapper {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 10px;
}


/* -----------------------------------------
HEADER 
----------------------------------------- */
.page-header {
    display: flex;
    justify-content: space-between;
    height: 140px;
}
.logo {
    width: 270px;
    margin-top: 30px;
}
.subtitle {
    font-family: interstate, sans-serif;
    font-style: normal;
    font-weight: 300;
    font-size: 15px;
    width: 280px;
    margin-top: 20px; margin-bottom: 0;
    line-height: 1.2;
    letter-spacing: 0.4em
}
.main-nav {
    display: flex;
    font-size: 15px;
    margin-top: 114px;
    list-style: none;
    letter-spacing: 0.1em
}
.main-nav li {
    margin-left: 20px;
    line-height: 1;
}
.main-nav a {
    font-family: interstate, sans-serif;
    font-style: normal;
    font-weight: 300;
    color: #555555;
    line-height: 1;
}
.main-nav a:hover {
    color: #999999;
}
hr {
    border-width: 1px 0px 0px 0px;
    border-style: solid;
    border-color: #bbbbbb;
 }


/*------------- WORKS -------------*/

.contents {
    margin-top: 30px;
}
.contents-info {
    padding: 4px 0px 4px 0px;
    margin-bottom: 0px;
    line-height: 1.4;
}
.contents-info br {
    display: none;
}
.contents-title {
    font-size: 1.4rem;
    margin-right: 10px;
}
.dot {
    font-size: 90%;
    color: #c0c0c0;
}

.grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(160px,1fr));
  margin-top: 60px;
  margin-bottom: 60px;
}

/* -----------------------------------------
ABOUT 
----------------------------------------- */

/*-- Message --*/
.about {
    max-width: 540px;
    padding-left: 0px;
    margin: 60px auto 60px;
}
.about-title {
    font-family: interstate, sans-serif;
    font-style: normal;
    font-weight: 300;
    font-size: 2rem;
    text-align: center;
    border-top: 1px solid #bbbbbb;
    border-bottom: 1px solid #bbbbbb;
    letter-spacing: 0.1em;
}
.about-sub1 {
    font-size: 1.5rem;
    line-height: 2rem;
}
.about-sub2 {
    font-size: 1.5rem;
    line-height: 1.75rem;
    margin-bottom: 10px;
}
h5 {
    font-size: 1.25rem;
}

/*-- Profile --*/

.profile {
    margin-top: 80px;
}

/*-- TABLE --*/
table {
    width: 540px;
}
table {
    border-collapse: collapse;
}
th {
    width: 100px;
    text-align: left;
}
th,td {
    border-top: dotted 1px #bbbbbb;
    border-bottom: dotted 1px #bbbbbb;
    padding:4px 0 4px 0;
}
.td-3line {
    line-height: 1.5rem;
}
/*-- TABLE END --*/

.story {
    margin-top: 80px;
    display: flex;
}
.portrait-section {
    margin-right: 30px;
}
.portrait-img {
    width: 144px;
}
.story-text {
    text-align: justify;
}

/* -----------------------------------------
CONTACT 
----------------------------------------- */
.contact {
    max-width: 540px;
    padding-left: 0px;
    margin: 60px auto 60px;
}
.contact-title {
    font-family: interstate, sans-serif;
    font-style: normal;
    font-weight: 300;
    font-size: 2rem;
    text-align: center;
    border-top: 1px solid #bbbbbb;
    border-bottom: 1px solid #bbbbbb;
    letter-spacing: 0.1em;

}

/* フォーム */
form div {
    margin-top: 40px;
    margin-bottom: 14px;
}
label {
    font-size: 1.125rem;
    margin-bottom: 2px;
    display: block;
}
input[type="text"],
input[type="email"],
textarea {
    border: 1px #bbbbbb solid;
    border-radius: 2px;
    padding: 10px;
    font-size: 1rem;
}
input[type="text"],
input[type="email"] {
    width: 100%;
    max-width: 540px;
}
textarea {
    width: 100%;
    max-width: 540px;
    height: 10rem;
}
input[type="submit"] {
    font-size: 1.25rem;
    border: 1px #bbbbbb solid;
    cursor: pointer;
    line-height: 1;
    padding: 10px 20px;
}
.button:hover {
    background-color: #dddddd;
}

/* -----------------------------------------
FOOTER 
----------------------------------------- */
footer {
    margin-top: 60px;
    padding: 10px 0;
    border-top: 1px #bbbbbb solid;
    line-height: 60px;
}
footer p {
    width: 140px;
    margin: 0 auto 40px;
}


/* モバイル版
------------------------------- */
@media (max-width: 600px) {

    /* HEADER */
    .page-header {
        display: block;
        height: 100px;
    }
    .page-title {
        font-size: 2.5rem;
    }
    .subtitle {
        font-size: 0.875rem;
    }
    .logo {
        width: 200px;
        margin-top: 16px;
    }
    .main-nav {
        margin-top: 16px;
        justify-content: flex-end;
        align-items: center;
    }

    /* WORKS */
    .grid {
        grid-template-columns: repeat(auto-fit, minmax(80px,1fr));
    }
    .contents {
        margin-top: 10px;
    }
    .contents-info br {
        display: inline;
    }
    /* ABOUT */
    th {
        white-space: nowrap;
    }
    table {
        width: auto;
    }
    .story {
        display: block;
    }   
    .portrait-section {
        width:120px;
        margin: 0 auto 10px;
    }

    /* CONTACT */
    #contact .page-title {
        margin-top: 40px;
    }

    /* フォーム */
    input[type="text"],
    input[type="email"],
    textarea {
        max-width: 100%;
    }
