@charset "UTF-8";

html{scroll-behavior: smooth;}

*{box-sizing: border-box;}

img{
  vertical-align: bottom;
}

body {
  margin: 0;
  border-left:30px solid #dc6150;
  background-color: #fffae7;
  background-image: url(../images/noise02.png);
  background-repeat: repeat;
  font-family: "Helvetica Neue",Arial,"Hiragino Kaku Gothic ProN","Hiragino Sans",Meiryo,sans-serif;
}

body, h1, h2, h3, dl, dd{
  margin: 0;
}


a{
  text-decoration: none;
  color: black;
}



ul{
  padding: 0;
  margin: 0;
}

.header{
  width: 1200px;
  margin: 0 auto;
}

.header h1{
  width: 657px;
  margin:0 auto;
  padding-top: 100px;
  text-align: center;
}

.header h1 img{
  width: 100%;
}

.nav{
  width: 760px;
  margin: 80px auto 75px;
}

.nav ul{
  display: flex;
  justify-content: space-between;
}

.nav ul li a{
  font-size: 32px;
  font-family: "Kiwi Maru", serif;
  font-weight: 400;
  font-style: normal;
  position: relative;
  display: inline-block;
  text-decoration: none;
}

a::after {
  position: absolute;
  bottom: -3px;
  left: 0;
  content: '';
  width: 100%;
  height: 3px;
  background: #774836;
  border-radius: 5px; /* 線幅の半分 */
  transform: scale(0, 1);
  transform-origin: left top;
  transition: transform .5s;
}

.nav ul li a:hover::after {
  transform: scale(1, 1);
} 



/* main-visual */
.main-visual{
  width: 1200px;
  margin: 0 auto;
  position: relative;
  height: 884px;
}

.main-visual img{
  width: 100%;
  position: absolute;
  box-shadow: 6px 6px 6px 0px rgba(128, 128, 128, 0.45);
}

/* h2タイトル共通 */
h2{
  width: 464px;
  margin: 0 auto;
  padding: 10px 0;
  text-align: center;
  background-image : linear-gradient(to right, #000 13px, transparent 13px);
  background-size: 28px 5px;
  background-repeat: repeat-x; 
  background-position: left bottom;
  font-size: 56px;
  font-family: "Kiwi Maru", serif;
  font-weight: 400;
  font-style: normal;
}

/* h3タイトル共通 */

h3{
  width: 400px;
  margin: 100px auto 33px;
  text-align: center;
  font-size: 42px;
  font-family: "Kiwi Maru", serif;
  font-weight: 400;
  font-style: normal;
  letter-spacing: -0.05em;
}

.title  p{
  width: 1200px;
  margin: 50px auto 0;
  text-align: center;
}

/* ギャラリー */
.gallery-outer{
  width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}


.gallery-outer::after{
  content:"";
  display: block;
  width:27.5%;
}

.gallery-content{
  width: 330px;
  overflow-wrap: break-word;  /* 自動改行（単語ごともしくは途中でも） */
  margin-bottom: 108px;
}

.gallery-content img{
  box-shadow: 6px 6px 6px 0px rgba(128, 128, 128, 0.45);
}


.gallery-content a{
  display: block;
  width: 330px;
  height: 200px;
  border: none;
  transition: 0.5s;
}

.gallery-content a:hover{
  width: 330px;
  height: 200px;
  opacity:0.5;
}

.thumbnail-name{
  font-weight: bold;
}

.work{
  font-size: 16px;
  margin: 4px 0 0;
}

/* topページへ戻るボタン */
.top-page-button{
  position: fixed;
  right: 30px;
  bottom: 0;
  font-size: 30px;
  color: #fff;
  background: #CD6150;
  padding: 10px;
  cursor: pointer;
  transition: .3s;
  
  /*デフォルトで非表示にする*/
  opacity: 0;
  visibility: hidden;
}

.active{
  opacity: 1;
  visibility: visible;
}

footer{
  position: relative;
}

/*このクラスが付与されると表示する*/
.absolute{
  position: absolute;
  top: -84px;
  bottom: auto;
}

.copyright{
  width: 1200px;
  margin: 0px auto;
  padding: 150px 0 46px;
  text-align: center;
}

/* galleryページ */
h4{
  width: 1200px;
  font-size: 25px;
  margin: 0 auto 30px;
  letter-spacing: 0.05em;
  font-weight: bold;
}

.gallery-page-outer{
  width: 1200px;
  display: flex;
  margin: 0 auto 150px;
  justify-content: space-between;
}

.gallery-page-left{
  width: 783px;
}

.gallery-page-left p .url{
  color: #774836;
  font-weight: bold;
}

.gallery-page-left p a{
  transition: 0.5s ease;
}

.gallery-page-left p a:hover{
  opacity: 0.5;
}

.gallery-page-left-upper{
  width: 783px;
  margin-bottom: 70px;
}
.gallery-page-left-upper img{
  width: 783px;
  object-fit: cover;
}

.gallery-page-left-low{
  width: 783px;
  display: flex;
  justify-content: space-between;
}

.gallery-page-left-low-s{
  width: 370px;
}

.gallery-page-left-low-s img{
  width: 370px;
  object-fit: cover;
}

.gallery-page-right{
  width: 370px;
}

.gallery-sentence{
  display: inline-block;
  width: 370px;
  padding: 25px;
  background-color: white;
  border: solid 2px #DBDBDB;
  line-height: 1.9;
  letter-spacing: 0.05em;
  text-align: justify;
  word-break: break-all;
}

.gallery-sentence dl dd{
  margin: 0 0 0 20px;
}

/* ギャラリー　バナー */
.banner-d{
  width: 783px;
  text-align: center;
  margin-bottom: 50px;
}
.banner-d p{
  width: 783px;
  font-weight: bold;
  text-align: center;
}

.banner-d img{
  object-fit: none;
  object-position: top;
  border: solid 1px #777777;
}

/* me */
.me-outer{
  width: 1200px;
  margin: 75px auto 0;
  display: flex;
  justify-content: space-between;
}

.me-left{
  width: 370px;
}

.me-logo{
  width: 370px;
  height: 370px;
  background-color: white;
  border-radius: 50%;
  display: grid;
  place-content: center;
  border:#774836 solid 5px;
}

.me-logo img{
  width: 200px;
}

.me-right{
  width: 785px;
  
}

.note-back{
  width: 785px;
  background-color: #fff; /* 背景色 */
  padding-top: 40px;
  box-shadow: 6px 6px 6px 0px rgba(128, 128, 128, 0.45);
}

.note{
  margin-right: auto;
  margin-left: auto;
  width: 700px;
  padding: 0 1.5em;
  background-image: linear-gradient(180deg, #ccc 1px, transparent 1px); /* 罫線の色と太さ  */
  background-size: 100% 2.5em; /* 行の高さ */
  line-height: 2.5em; /* 文字の高さ */
  padding-bottom: 1px; /* 最終行の下にも罫線を引く */
}


h5{
  font-size: 35px;
  font-family: "Kiwi Maru", serif;
  font-weight: 400;
  font-style: normal;
  letter-spacing: -0.05em;
  margin: 0 0 42px 0;
}

/* コンタクト */
form{
  width: 1200px;
  margin: 44px auto 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}

.form-label{
  width: 15%;
  font-size: 20px;
  letter-spacing:0.05em;
  font-weight: bold;
  margin-bottom: 40px;
}

input[type="text"],
input[type="email"],
textarea{
  border: 1px solid #CDCDCD;
  background-color: white;
  width: 85%;
  height: 60px;
  padding-left: 10px;
  margin-bottom: 40px;
}

textarea{
  height: 200px;
  margin-bottom: 50px;
  padding-left: 10px;
}

.submit{
  margin: 0 auto 50px;
}

input[type="submit"]{
  background-color: #774836;
  color: #ffffff;
  border:none;
  padding: 18px 80px;
  font-size: 20px;
}

.hamburger-menu{
  display: none;
}

/* スマホ　レスポンシブ */
@media screen and (max-width:390px){
  body {
    border-left:15px solid #dc6150;
  }

  .gallery-outer, form, .me-outer,
  .gallery-page-outer{
    display: block;
  }

  .gallery-outer, .copyright, form,
  .me-outer, .me-left, .me-right{
    width: 100%;
  }

  .gallery-outer{
    width: 330px;
    margin: 0 auto;
  }

  .header{
    width: 100%;
    display: flex;
    margin-bottom: 20px;
  }

  .header h1{
    width: 230px;
    margin: 0;
    padding: 15px 0 0 15px;
  }


  .nav{
    display: none;
  }

  /* ハンバーガーメニューここから */
  .header{
    justify-content: space-between;
  }

  .hamburger-menu{
    display: block;
    padding: 15px 15px 0 0;
  }

  .menu-btn {
    position: relative;
    top: 0;
    right: 0;
    display: flex;
    height: 40px;
    width: 40px;
    justify-content: center;
    align-items: center;
    z-index: 100;
    background-color: #B6907F;
}
.menu-btn span,
.menu-btn span:before,
.menu-btn span:after {
    content: '';
    display: block;
    height: 3px;
    width: 25px;
    /* border-radius: 3px; */
    background-color: #ffffff;
    position: absolute;
}
.menu-btn span:before {
    bottom: 10px;
}
.menu-btn span:after {
    top: 10px;
}

/* タップされた時×になる */
#menu-btn-check:checked ~ .menu-btn span {
  background-color: rgba(255, 255, 255, 0);/*メニューオープン時は真ん中の線を透明にする*/
}
#menu-btn-check:checked ~ .menu-btn span::before {
  bottom: 0;
  transform: rotate(45deg);
}
#menu-btn-check:checked ~ .menu-btn span::after {
  top: 0;
  transform: rotate(-45deg);
}

/* チェックボタンを隠す */
#menu-btn-check {
  display: none;
}

/* メニュー部分 */
.menu-content {
  opacity: 0; /* 透明 */
  transform: translateY(-10px); /* 少し上にずらす */
  pointer-events: none; /* クリックを無効化 */
  transition: opacity 0.3s ease, transform 0.3s ease; /* トランジション設定 */
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 325px;
  background-color: #B6907F;
  z-index: 90;
  }
  
  /* チェックされている時 */
  #menu-btn-check:checked ~ .menu-content {
  opacity: 1; /* 表示 */
  transform: translateY(0); /* 元の位置に戻す */
  pointer-events: auto; /* クリックを有効化 */
  }

.menu-content ul {
  padding: 70px 10px 0;
}

.menu-content ul li {
  border-bottom: solid 3px #ffffff;
  list-style: none;
  text-align: center;
}

.menu-content ul li a {
  display: block;
  width: 100%;
  font-size: 24px;
  font-family: "Kiwi Maru", serif;
  font-weight: 400;
  font-style: normal;
  box-sizing: border-box;
  color:#ffffff;
  text-decoration: none;
  padding: 9px 0 10px 0;
  position: relative;
}

/* ハンバーガーここまで */

  .main-visual{
    width: 100%;
    height: 300px;
  }

  h2{
    width: 200px;
    margin: 0 auto;
    padding: 7px 0;
    background-image : linear-gradient(to right, #000 13px, transparent 13px);
    background-size: 19px 3px;
    font-size: 24px;
  }

  h3{
    width: 200px;
    margin: 65px auto 15px;
    text-align: center;
    font-size: 20px;
    font-family: "Kiwi Maru", serif;
    font-weight: 400;
    font-style: normal;
    letter-spacing: -0.05em;
  }

  .gallery-content{
    margin-bottom: 70px;
  }


  .copyright {
    margin: 0px auto;
    padding: 50px 0 46px;
}

.title  p{
  width: 87%;
  margin: 30px auto 0;
  text-align: center;
  font-size: 12px;
}

/* フォーム */
form{
  width: 90%;
  margin: 30px auto 0;
}

.form-label{
  width: 100%;
  margin: 0 auto 8px;
  font-size: 15px;
  letter-spacing:0.05em;
  font-weight: bold;
}

input[type="text"],
input[type="email"],
textarea{
  width: 100%;
  border: 1px solid #CDCDCD;
  background-color: white;
  height: 30px;
  padding-left: 10px;
}

textarea{
  height: 200px;
  margin-bottom: 50px;
  padding-left: 10px;
}

.submit{
  margin: 0 auto 70px;
  text-align: center;
}

input[type="submit"]{
  background-color: #774836;
  color: #ffffff;
  border:none;
  padding: 18px 80px;
  font-size: 20px;
}

/* わたし */
.me-logo{
  width: 250px;
  height: 250px;
  margin: 0 auto;
}

.me-logo img{
  width: 138px;
}

.me-right{
  margin-top: 50px;
}
.note-back{
  width: 90%;
  margin: 0 auto;
}

.note{
  width: 100%;
  margin-bottom: 90px;
  padding: 0 1.2em;
  background-size: 100% 2.4em;
  line-height: 2.4em;
  padding-bottom: 1em;
}

/* ギャラリーページ */
h4{
  width: 90%;
  font-size: 20px;
  margin: 50px auto 18px;
  /* text-wrap: balance; */
}

.gallery-page-outer{
  width: 90%;
  margin: 0 auto 150px;
}

.gallery-page-left{
  width: 100%;
}

.gallery-page-left-upper{
  width: 100%;
}

.gallery-page-left-upper img{
  width: 100%;
}

.gallery-page-left-low{
  width: 100%;
}

.gallery-page-left-low-s{
  width: 47%;
}

.gallery-page-left-low-s img{
  width: 100%;
}

.gallery-page-right{
  width: 100%;
  margin-top: 50px;
}

.gallery-sentence{
  width: 100%;
  padding: 16px;
  line-height: 1.8;
  letter-spacing: 0.015em;
}
  
/* ギャラリー　バナー */
.banner-d{
  width: 100%;
  text-align: center;
  margin-bottom: 50px;
}
.banner-d p{
  width: 100%;
  font-weight: bold;
  text-align: center;
}

.banner-d img{
  width: 100%;
  object-fit: cover;
  object-position: top;
  border: solid 1px #777777;
}


}