@charset "utf-8";

/* Portfolio CSS */

/* 全体共通設定 */

:root {
    --color-white: #f9f9f9;
    --color-black: #333;
    --color-darkGray: #666;
    --color-light: #e7e0e0;
    --color-base: #F6F0E6;
    --color-main: #8E2C2C;
    --color-text: #2F2A28;
    --color-sub: #D8CFC3;
}

html {
    font-size: 16px;
    line-height: 1.8;
    font-family: sans-serif;
    background-color: var(--color-white);
    color: var(--color-black);
    scroll-behavior: smooth;
}

/* レスポンシブイメージ */
img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

/* aタグのアニメーション時間 */
a {
    transition: 0.6s;
}

/* 見出しの共通設定 */
h1,
h2,
h3 {
    font-weight: bold;
    text-align: center;
}

/* 見出しの個別設定 */
h1 {
    font-size: 100px;
}

h2 {
    font-family: "Anton", sans-serif;
    font-size: 64px;
    font-weight: 400;
    color: var(--color-main);
    text-align: left;
    margin-bottom: 40px;
}

h3 {
    font-size: 20px;
}

/* 英語の大きな見出し */
h1,
h2 {
    font-family: "Anton", sans-serif;
}

/* 日本語の本文 */
body {
    font-family: "Zen Maru Gothic", sans-serif;
}

/* 全体共通設定 */

/* 各セクションの設定 */

/* Header ここから*/
header {
    background-image: url(../images/header.png);
    color: var(--color-base);
    text-align: center;
}

header .eyeCatch {
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    padding: 80px 20px;
    text-shadow: 0 0 8px rgb(0 0 0 / 0.8);
}

/*  Header ここまで*/

/* Naviここから */
nav {
    position: fixed;
    top: 20px;
    right: 30px;
    z-index: 100;
    background-color: rgba(55, 75, 55, 0.9);
    padding: 8px 16px;
    border-radius: 4px;
}

nav ul {
    display: flex;
    gap: 24px;
}

nav ul li a {
    display: inline-block;
    font-family: "Anton", sans-serif;
    font-size: 20px;
    color: var(--color-base);
    padding: 10px;
}

nav ul li a:hover {
    color: var(--color-darkGray);
}

/* Naviここまで */

/* Mainここから */

/* Main共通設定 */
main p {
    margin-bottom: 16px;
}

main>section {
    padding: 60px 20px;
    scroll-margin-top: 80px;
}

main .innerWrap {
    max-width: 1000px;
    margin: 0 auto;
}

/* Aboutここから */
.aboutContent {
    display: flex;
    align-items: center;
    gap: 60px;
}

.aboutContent>img {
    width: 38%;
}

.abouttext {
    flex: 1;
    font-size: 15px;
}

.abouttext h3 {
    margin-bottom: 30px;
}

/* Aboutここまで */

/* Worksここから */
.workslist {
    display: grid;
    align-items: start;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.workslist .frame>p {
    height: 260px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 0;
    background-color: #eeece8;
}

.workslist .frame img {
    width: auto;
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
}

.workslist>.frame:nth-child(even) {
    transform: translateY(40px);
}

/* 作品ごとの設定ここから */
.workslist .logo img {
    width: 60%;
    height: auto;
    display: block;
    margin: 0 auto;
}

.workslist .christmas img {
    width: 70%;
    height: auto;
    display: block;
    margin: 0 auto;
}

.workslist .cafe img {
    width: 75%;
    height: auto;
    display: block;
    margin: 0 auto;
}

/* 作品ごとの設定ここまで */

#works h2 {
    font-size: 80px;
    text-align: left;
    color: var(--color-main);
    line-height: 1.1;
    margin-bottom: 40px;
}

.workslist h3 {
    margin-top: 10px;
    margin-bottom: 10px;
}

/* 文章の設定 */
.workslist .worktext {
    background-color: transparent;
    padding: 16px 0;
}

/* 文章の設定 */
.detailLink {
    text-align: right;
}

.comingsoon {
    display: flex;
    justify-content: center;
    align-items: center;
    align-self: start;
    height: 260px;
    background-color: transparent;
    border-top: 1px solid #bbb;
    border-bottom: 1px solid #bbb;
    color: #888;
}

/* Worksここまで */

/* Skillsここから */
.skillitem {
    text-align: center;
    border-bottom: 3px solid var(--color-main);
    padding-bottom: 24px;
    margin-bottom: 24px;
}

.skillitem>p {
    text-align: center;
}

/* Skillsここまで */

/* Contactここから */
#contact form {
    max-width: 400px;
    margin: 0 auto;
}

#contact p {
    text-align: center;
}

#contact form dl {
    margin-bottom: 24px;
}

#contact form input,
#contact form textarea {
    background-color: var(--color-white);
    border: 2px solid var(--color-main);
    width: 100%;
    padding: 8px;
    border-radius: 8px;
    resize: none;
}

/* 送信ボタン */
#contact form .submit {
    text-align: center;
}

#contact form .submit input {
    text-align: center;
    background-color: var(--color-main);
    color: var(--color-white);
    width: 200px;
    transition: 0.6s;
}

#contact form .submit input:hover {
    transform: scale(1.5);
}

/* Contactここまで */
/* Mainここまで */

/* Page Topここから */
#pagetop {
    position: fixed;
    right: 30px;
    bottom: 30px;
    z-index: 100;
}

#pagetop a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 65px;
    height: 65px;
    border-radius: 50%;
    background-color: var(--color-main);
    color: var(--color-white);
    font-size: 12px;
    text-decoration: none;
    box-shadow: 0 4px 10px rgb(0 0 0 / 0.2);
}

#pagetop a:hover {
    transform: scale(1.05);
}

/* Page Topここまで */

/* Footer ######################################## */

footer {
    background-image: url(../images/header.png);
    color: var(--color-white);
    text-align: center;
    padding: 30px 0;
}

/* ######################################## Footer */