﻿@charset "utf-8";

/* リセットCSS */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    /* font-size: 16px; */
}

ul {
    list-style: none;
}

/* リセットCSSここまで */

/* 全ページ設定 */
body {
    color: #201508;
        /* googleフォント */
        font-family: "Noto Sans JP", sans-serif;
        font-optical-sizing: auto;
        font-weight: 400;
        font-style: normal;
        /* googleフォントここまで */
      }   

a {
    color: #dc095d;
}
a:visited {
   color: #7a057a; 
} 

.top-box, .top-box .btn, .top-bnr-img img, #art img {
    box-shadow: 5px 8px 15px #8a8a8a;
}

header, footer, .pagetop,#gnav {
    background-color: #b79d91;
}

section {
    background-color: #f2e8da;
    padding: 100px 0 200px;
}

.container {
    width: 1100px;
    margin: 0px auto;
}
.flex-box {
    display: flex;
    flex-wrap: wrap;
}

.center {
    text-align: center;
}

/* headerここから */
/* 上部固定*/
header {
    position: fixed;
    z-index: 100;
    top: 0;
    left: 0;
    width: 100%;
}

main {
    margin-top: 50px;
    /* headerの縦幅と同じにする(重なり防止) */
}


/* 上部固定ここまで */
.drawer_hidden {
    display: none;
}/*ハンバーガーメニューのチェックボックス非表示*/

header .container {
    display: flex;
    flex-wrap: wrap;
    margin: 0 auto;
    padding: 0;
}

.title a, #gnav a {
    text-decoration: none;
    color: #201508;
}

.title a:hover, #gnav a:hover {
    color: #352511;
}

.title {
    height: 40px;
    margin: 0 auto 0 10px;
    padding: 10px 0 0;
}

.title strong {
    font-size: 22px;
}

/* headerここまで*/

/* gnavここまから */

#gnav ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: right;/* containerに対して */
    font-size: 16px;
}

#gnav li {
    text-align: center;
    border-left: 1px solid #333;
    border-right: 1px solid #333;
}

#gnav li+li {
    border-left: 0;
    border-right: 1px solid #333;
}

#gnav li:hover {
    background-color: #c4678c;
    transition: background-color 1s;
}

#gnav a {
    display: inline-block;
    width: 100px;
    height: 50px;
    padding: 15px 0 0;
}

/* gnavここまで */

/*パンくずリスト*/
.pan {
    position: fixed;
    top: 60px;
    left: 20px;
}

.pan li {
    margin: 0;
    font-size: 12px;
}

.pan li:not(:last-of-type)::after {
    content: ">";
    margin: 10px;
}

/* ボタン */
.btn {
    display: block;
    background-color: #ba356a;
    width: 150px;
    border-radius: 10px;
    text-align: center;
    padding: 5px 10px 6px;
    color: #f7f7f7;
    text-decoration: none;
    font-size: 18px;
}

.btn:hover {
    background-color: #e6709f;
    color: #f7f7f7;
    transition: background-color .8s;
}

a.btn, a:hover.btn, a.btn:visited:hover {
    color: #ffffff;
}

/* ボタンここまで */

/* FOOTERの設定 ※一部header共通 */
footer .container {
    margin: 0 auto;
}

footer {
    padding: 50px 0 50px;
    text-align: center;
}

#fnav  {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin: 0px auto 50px;
}

#fnav li {
    text-align: center;
    padding: 0 20px;
}

#fnav li+li {
    border-left: 1px solid #201508;
}

.pagetop {
    position: fixed;
    display: block;
    bottom: 30px;
    right: 30px;
    z-index: 100;
    width: 60px;
    height: 60px;
    border-radius: 50%;
}

.pagetop img {
    width: 40px;
    height: 40px;
    margin: 10px;
}

footer p {
    margin-bottom: 20px;
}

/* FOOTERここまで*/

/* H設定 */
h1 {
    font-size: 38px;
}

.subtitle {
    text-align: center;
    color: rgb(244, 232, 234);
    background-color: #ba356a;
    width: 80%;
    margin: -50px auto 100px;
    padding: 10px 0;
}

h2 {
    text-align: center;
    font-size: 34px;
    border-bottom: solid 3px;
    margin: 0 0 150px;
    text-shadow: 10px 5px 3px rgba(97, 97, 97, 0.3);
}

h3 {
    margin-top: 30px;
    margin-bottom: 50px;
    margin-left: 50px;
    font-size: 28px;
}

/* トップページの設定 */
/*トップ画像*/
#top {
    background-image: url(img/topimg.jpg);
    background-position: center;
    height: 600px;
    padding: 0;
    position: relative;
    z-index: 103;
}


#top::before {
    position: absolute;
    z-index: 104;
    display: block;
    content: "";
    background-color: rgb(32 21 8 /.3);
    top: 0px;
    left: 0px;
    right: 0px;
    bottom: 0px;
}
#top .container{
padding-top: 130px;
padding-left: 70px;
position: relative;
z-index: 105;
}
#top h1 {
    color: #ffffff;
    margin-bottom: 70px;
}

.top-link {
    display: flex;
    flex-wrap: wrap;
    justify-content: left;
    row-gap: 20px;
    column-gap: 20px;
}

/*トップ画像ここまで*/

.top-box {
    background-color: #d9c8b6;
    width: 90%;
    margin: 30px auto 180px;
    padding: 20px 20px 80px;
    border-radius: 20px;
}

/* TOP-WORKS */
/* TOP-BANNER */
#works .btn {
    margin: 0 auto;
}

.top-bnr-img {
    display: flex;
    flex-wrap: wrap;
    row-gap: 30px;
    justify-content: space-around;
    margin-bottom: 70px;
}

.top-bnr-img img {
    max-width: 300px;
    max-height: 250px;
    width: 100%;
}

.top-bnr-img img:hover {
    transform: scale(1.1, 1.1);
    transition: transform 1s;
}

/* TOP-ART */
.top-floatbox img {
    width: 500px;
    float: left;
 margin-right: 20px; 
}

.top-floatbox {
    margin: 0 20px 50px;
}

.top-floatbox::after {
    content: "";
    display: block;
    clear: both;
}

.top-floatbox p {
    margin: 15px auto;
}

/* TOP-ABOUT */
.name {
    font-size: 18px;
    margin-left: 30px;
}

#about .flex-box {
    align-items: center;
}
#about img {
    width: 300px;
    height: 300px;
    border-radius: 150px;
    margin-bottom: 20px;
}

.prof-text {
    width: 600px;
    margin: 0 auto;
}

.prof-text p {
    padding: 10px 0;
}


/* TOP-SKILL */
.top-skill table {
    margin: 50px auto 20px;
    width: 80%;
    border-collapse: collapse;
    background-color: #e4d7c8;
}

.top-skill th, .top-skill td {
    border: 1px solid #333;

}

.top-skill th {
    width: 200px;
    height: 80px;
}

.skill-text {
    padding: 10px;
}

.star {
    height: 20px;
}

.top-skill img {
    width: 50px;
    height: 50px;
}

/* CONTACT */
.form {
    width: 100%;
    height: 1000px;
    border: 0;
    margin: 0 auto;
}

/* BANNER */
.bnr-list {
    justify-content: center;
    gap: 20px;
}

p.bnr-list {
    margin: 0 auto 40px;
}

.bnr-list img {
    width: 200px;
}

.bnr-list img:hover {
    transform: scale(1.1, 1.1);
    transition: transform 1s;
}

.bnr-box {
    margin-bottom: 200px;
    padding-top: 100px;
    margin-top: -100px;
    gap:10px;
}

/* BANNAR 個別紹介 */
.bnr-box h3 {
    margin: 0 0 20px;
    font-size: 25px;
}
.bnr-img img {
    width: 650px;
}
.bnr-img {
    background-color: #d9c8b6; 
    display: flex;
    align-items: center;
       }
.bnr-text {
    width: 440px;
}
.bnr-text,.bnr-coment{
    padding: 30px;
        border: #d9c8b6 solid 2px;
}
.bnr-text p,.bnr-coment p {
    margin: 25px 0;
}
.bnr-coment {
width: 1100px;}
.bnr-coment img {
margin: 15px 5px;}
/* BANNAR ここまで */

/* ART ここから */
.art-list {
    display: flex;
    justify-content: center;
flex-wrap :wrap;
    gap: 10px;
    position: relative;
}
.art-card {
    position: relative;
}
.art-list img {
    flex-grow: 1;
    height: 200px;
    object-fit: cover;
}
.art-card-text{
    position: absolute;
    top:0;
    left:0;
    opacity: 0;
    width: 100%;
    height:200px;
    padding: 10px;
    background-color: rgb(0,0,0,.5);
    color: #f2f2f2;
    font-size: 14px;
}
.art-card-text:hover {
    opacity: 1;
    transition: opacity 1s;
}
.art-list-text {
    margin-bottom: 25px;
}

.painting {
    margin-bottom: 500px;
    margin-top: -100px;
    padding-top: 100px;
}
.painting img {
    max-width: 100%;
    max-height: 1000px;
    height: auto;
    display: block;
    margin: 0 auto;
}
.painting p {
    margin: 30px 0;
}
.painting h3 {
    margin: 20px 0;
    font-size: 20px;
}
.painting p img {
    margin: 15px 10px;
    display: inline;
    max-height: 300px;
    object-fit: cover;
}

/* ART ここまで */
