@charset "UTF-8";

/*共通部分----------------------------------------------*/
html {
  font-size: 100%;
}
body {
  font-family: "MS P Gothic", "MS Pゴシック", sans-serif;
  line-height: 1.7;
  color: #000000;
  margin: 0;
  padding: 0;
}
a {
  text-decoration: none;
}
img {
  max-width: 100%;
}


/*フォント
font-family: 'EB Garamond', serif;*/


/*HEADER-----------------------------------------------*/
.logo {
  width: 220px;
  margin-top: 5px;
}
.main-nav {
  display: flex;
  font-size: 1.125rem;
  margin-top: 34px;
  list-style: none;
}
.main-nav li {
  margin-left: 36px;
}
.sp-option {
  visibility: collapse;
}
#close {
  /* visibility: hidden; */
  opacity: 0;
}
.main-nav a {
  color: #fff;/*あとで#fff（白）に変更*/
  transition: .2s;
}
.main-nav a:hover {
  color: #ffbf1f;/*7acbe1*/
}
.page-header {
  display: flex;
  justify-content: space-between;
}
.wrapper {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 3%;
}
.sp-menu {
  /* display: none; */
  visibility: collapse;
}

/*HOME---------------------------------------------*/

/*メインコンテンツ*/
.page-title {
  display: flex;
  justify-content: center;
  font-size: 60px;
  color: #fff;
  font-family: 'EB Garamond', serif;
  font-weight: lighter;
  text-shadow: 3px 3px 6px #444444;
  margin: 0 auto;
  padding-bottom: 30px;
}

/*メインコンテンツ*/
.main {
  margin-left: 250px;
  padding-top: 30vh;
}
.main img {
  height: 14vh;
  width: auto;
}
.bottom {
  display: flex;
  justify-content: space-between;
}
.item1 {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  margin: auto;
  width: 120px;
}
.item1:hover {
  width: 124px;
  transition: .3s;
}
.item2 {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 60px;
  margin-right: 40px;
  user-select: none;
}
/*大きな画像*/
.big-bg {
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
}
#home {
  background-image: url(images/home-bg.jpg);
  min-height: 100vh;
}

/*コンテンツ*/
.container {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-column-gap: 30px;
  margin: 8rem 9rem;
}
.capital-letter::first-letter {
  font-size: 3.2em;
  line-height: 1;
  float: left;
  margin: 0;/*.2em*/
  padding: 3px 5px 0 0;
  /*background-color: #432;*/
}
.button {
  font-size: 1.3em;
  color: #000000;
  border-style: solid;
  padding: 0.3em 1em;
  border-color: #000000;
  transition: .3s;
}
.button:hover {
  color: #fff;
  background: #000000;
}
.item {
  border-right: 2px solid rgba(0,0,0,.2);
  padding-right: 30px;
  margin-bottom: 100px;
}
.item img {
  box-shadow: 5px 5px 12px gray;
}
.item img:hover {
  opacity: .6;
}

/*/////////////////////フッター/////////////////////*/
footer {
  background: #7acbe1;
  text-align: center;
  padding: 5px 0;
}
footer p {
    color: #fff;
    font-size: 0.875rem;
}
.footer-logo img {
  height: 50px;
}
.footer-nav li {
  margin-left: 2%;
  margin-right: 2%;
}
.footer-nav {
  display: flex;
  justify-content: center;
  font-size: 1rem;
  list-style: none;
}
.footer-nav a {
  color: #555555;
  transition: .2s;
}
.footer-nav a:hover {
  color: #ffbf1f;
  /*color: #ffbf1f;/*7acbe1*/
}
/*//////////////ここまでフッター/////////////*/

/*////////////////////////CONTACT/////////////////////*/

#contact {
  background-image: url(images/contact-bg.jpg);
  min-height: 100vh;
}
/*フォーム*/
form {
  padding: 0 8%;
}
form div {
  margin-bottom: 14px;
}
label {
  font-size: 1.125rem;
  font-family: 'EB Garamond', serif;
  margin-bottom: 5px;
  display: block;
}
.message {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
}
.left {
  margin-right: 20px;
  width: 75%;
}
.right {
  margin-right: 20px;
  margin-bottom: 19px;
  width: 15%;
}
input[type="text"],
input[type="email"],
textarea {
  background: rgba(255,255,255,.5);
  border: 1px #fff solid;
  border-radius: 5px;
  padding: 5px;
  font-size: 1rem;
}
input[type="text"]:hover,
input[type="email"]:hover,
textarea:hover {
  background: rgba(100,100,100,.5);
  border: 1px #808080 solid;
}
input[type="text"],
input[type="email"] {
  width: 100%;
  max-width: 240px;
}
textarea {
  height: 150px;
  width: 100%;
}
input[type="submit"] {
  border: none;
  border-radius: 5px;
  background-color: rgba(0, 0, 0, 0.6);
  cursor: pointer;
  line-height: 1;
  height: 165px;
  font-family: 'EB Garamond', serif;
  color: #fff;
  width: 100%;

}
input[type="submit"]:hover {
  background-color: rgba(0, 0, 0, 0.8);
}
/* contactボタン */
.contact-form {
  margin-top: 100px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.contact-btn p {
  width: 200px;
  background-color: rgba(0, 0, 0, 0.5);
  text-align: center;
  border-radius: 3px;
  padding-top: 10px;
  cursor: pointer;
  padding-bottom: 10px;
}
.contact-btn a {
  color: white;
  font-weight: bold;
}
.contact-btn p:hover {
  background-color: rgba(0, 0, 0, 0.7);
}

/*//////////////////////AUTHOR///////////////////////*/
#author {
  background-image: url(images/author-bg.jpg);
}
.content {
  display: block;
  /*background-color: rgba(0, 0, 0, 0.5);/*あとで消す*/
  margin: 120px auto;
  padding: 2%;
}
.content h3 {
  border-bottom: 2px #000000 solid;
}
.intro-left {
  /*background-color: #ffbf1f;/*あとで消す*/
  display: inline-block;
  height: 100%;
  width: 15%;
  text-align: center;
  vertical-align: top;
}
.intro-right {
  /*background-color: #ffbf1f;/*あとで消す*/
  display: inline-block;
  width: 80%;
  padding: 2%;
  vertical-align: top;
}
.topic {
  /*background-color: #a6ce39;/*あとで消す*/
  display: inline-block;
  height: 100%;
  width: 44%;
  padding: 2%;
  vertical-align: top;
}
.sp-order {
  display: flex;
  flex-direction: row;
}
.topic-left {
  margin-right: 2%;
}
.topic-right {
  margin-left: 2%;
}
.topic img {
  text-align: center;
  box-shadow: 5px 5px 12px gray;
}
.mini-icon {
  width: 10%;
  max-width: 100px;
  margin-top: 0;
  margin-right: 2%;
  padding-top: 0;
  padding-bottom: 0;
}
.with-mini-icon {
  margin-bottom: 0;
}
.content a {
  display: block;
  color: #000;
}
.content a:hover {
  color: #7acbe1;
  transition: .2s;
}
/*CHECK BLOGS*/
#check-blogs {
  /*background-color: #a6ce39;/*あとで消す*/
  display: block;
  text-align: center;
  /*padding-right: 20%;*/
  margin-bottom: 10%;
}
#check-blogs a {
  display: inline-block;
  vertical-align: middle;

}
#check-blogs .click2blogs {
  font-size: 1.2rem;
  color: #000000;
}
#check-blogs .click2blogs:hover {
  cursor: pointer;
}
#check-blogs .jump2blogs {

  width: 20%;
  max-width: 200px;
}
#check-blogs .jump2blogs:hover {
  width: 21%;
  max-width: 210px;
  transition: .3s;
}



/*///////////////////////ここまでAUTHOR/////////////////////////*/

/*/////////////////////////RESOURCES//////////////////////////*/
#resources {
  background-image: url(images/resources-bg.jpg);
}
/*books, links, locationsの3つのbig-block*/
.big-block {
  /*background-color: rgba(0, 0, 0, 0.5);/*あとで消す*/
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-around;
  margin-top: 120px;
  margin-bottom: 140px;
}
.big-block h3 {
  border-bottom: 2px #000000 solid;
}
.big-block li {
  margin-bottom: 10px;
}
.big-block a {
  color: #000000;
  display: block;
}
.big-block a:hover {
  color: #7acbe1;
}

/*big-blockの中*/
.left-block {
  /*background-color: #a6ce39;/*あとで消す*/
  width: 55%;
  margin-right: 15px;
}
.books-right, .links-right, .locations-right {
  /*background-color: #ffbf1f;/*あとで消す*/
  width: 41%;
  padding-left: 15px;
}
.books-right {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: flex-start;
  padding-top: 50px;
}
.books-right div {
  width: 25%;
  margin-left: 20px;
}
.books-right img, .locations-right img {
  box-shadow: 5px 5px 12px gray;
}
.books-right img:hover, .locations-right img:hover {
  opacity: .6;
  cursor: pointer;
}
.locations-right {
  padding-top: 50px;
  display: block;
}
.locations-right div {
  margin: 3%;
}
.left-block dd {
  font-size: .85rem;
  margin-bottom: 10px;
}

/* books */
.left-block img {
  width: 16px;
  height: 16px;
}
.book-info {
  color: #444444;
  font-size: small;
}
/*///////////////ここまでRESOURCES///////////////*/


/*///////////////ここからGALLERY/////////////*/
#gallery {
  /*background: linear-gradient(#000000, #666666 ) fixed;*/
  background-image: url(images/gallery-bg.jpg);
  height: 100vh;
}
.gallery-category {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.category-btn p {
  width: 150px;
  background-color: #7acbe1;
  text-align: center;
  border-radius: 3px;
  padding-top: 5px;
  padding-bottom: 5px;
}
.category-btn a {
  color: #234;
  font-weight: bold;
  /* text-shadow: 1px 1px 2px gray; */
}
.category-btn p:hover {
  background-color: #008BBB;
}

/*///////////////////////ここまでギャラリー////////////////////*/

/*////////////メインギャラリー////////////*/
/*ギャラリーヘッダー*/
#gallery-header {
  width: 100vw;
  top: 0;
  background-color: #000;
  position: fixed;
  display: flex;
  justify-content: space-between;
  box-shadow: 2px 0 4px black;
}
#gallery-header h1 {
  margin-top: 10px;
  margin-left: 40px;
  margin-bottom: 0;
}
.gallery-nav {
  display: flex;
  margin-right: 40px;
  margin-top: 27px;
  list-style: none;
}
.gallery-nav li {
  margin-left: 36px;
}
.gallery-nav a {
  color: #fff;
}
.gallery-nav a:hover {
  transition: .3s;
  text-shadow: 3px 3px 6px white;
}
.gallery-logo {
  width: 150px;
}

/*メインコンテンツ*/
/*固定要素*/
.fixed-bg {
  min-height: 100vh;
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
}
.fixed-bg h2 {
  margin: 0;
  padding-top: 50vh;
  text-align: center;
  color: rgba(255, 255, 255, 0.7);
  font-family: serif;
  font-size: 5rem;
}
.bg01 {
  background-image: url(images/gallery/bg01.jpg);
}
.bg02 {
  background-image: url(images/gallery/bg02.jpg);
}
.bg03 {
  background-image: url(images/gallery/bg03.jpg);
}
.bg04 {
  background-image: url(images/gallery/bg04.jpg);
}
.bg05 {
  background-image: url(images/gallery/bg05.jpg);
}
/*スクロール要素*/
.scroll-bg {
  margin: 0;
  padding: 200px;
  /*グリッド構成*/
  display: grid;
  grid-gap: 40px;
  grid-template-columns: repeat(3, 1fr);
}
.bg-color01 {
  background-color: rgb(85, 192, 232, .7);
}
.bg-color02 {
  background-color: rgba(195, 42, 15, .7);
}
.bg-color03 {
  background-color: rgba(104, 42, 15, .7);
}
.bg-color04 {
  background-color: rgba(0, 50, 0, .7);
}
.bg-color05 {
  background-color: rgba(252, 207, 39, .7);
  padding-bottom: 300px;/*フッターとの距離をとるため*/
}
.gallery-item {
  width: 100%;
}
.scroll-bg img {
  width: 100%;
}
.gallery-item p {
  margin: 0 auto;
  color: #444444;
  font-size: small;
}
.gallery-item a {
  color: #444444;
}
.gallery-item a:hover {
  color: #fff;
}
.img-info {
  border-left: solid 5px #666666;
  padding-left: 7px;
  color: #444444;
}
.caption {
  font-weight: bold;
}
.location {
  font-size: small;
}
.location img {
  height: 12px;
  width: 12px;
}


/*///////////ここまでメインギャラリー//////////*/

/* レスポンシブ */
/* iPad用表示 */
@media (max-width: 800px) {
  /* header */
  .logo {
    position: absolute;
    top: 20px;
    left: 20px;
    width: 150px;
  }
  
  /*HOME---------------------------------------------*/

  /*メインコンテンツ*/
  .main {margin-left: 100px;}
  .item1:hover {width: 180px;}
  .item1 {width: 200px;}
  .container {
    grid-template-columns: 1fr 1fr;
    margin: 150px 64px;
  }

  /*/////////////////////フッター/////////////////////*/

  .footer-logo img {
    height: 64px;
  }
  .footer-nav li {
    margin: 5px 0;
  }
  .footer-nav {
    flex-direction: column;
    font-size: 1.2rem;
    padding-left: 0;
  }
  /*//////////////ここまでフッター/////////////*/

  /*//////////////////////AUTHOR///////////////////////*/
  .content {
    /* display: block; */
    /*background-color: rgba(0, 0, 0, 0.5);/*あとで消す*/
    margin: 50px auto;
    padding: 6%;
  }
  .intro-left {
    display: block;
    height: 100%;
    width: 100%;
  }
  .intro-left img {
    width: 150px;
  }
  .intro-right {
    display: block;
    width: 100%;
    margin: auto;
    /* padding: 5%; */
    /* vertical-align: top; */
  }
  .topic {
    display: block;
    /* height: 100%; */
    width: 100%;
    /* padding: 5%; */
    margin: auto;
  }
  .topic img {
    margin-top: 50px;
    margin-bottom: 50px;
  }
  .mini-icon {
    width: 100px;
    margin: 0;
    padding: 0;
    margin-left: auto;
    padding-right: 6%;
    /* right: 0; */
    /* text-align: right; */
  }
  .with-mini-icon {
    margin-bottom: 0;
  }
  .sp-order {
    flex-direction: column;
  }
  .sp-order .inorder1{
    order: 1;
  }
  .sp-order .inorder2{
    order: 2;
  }
  /*///////////////////////ここまでAUTHOR/////////////////////////*/
  /*/////////////////////////RESOURCES//////////////////////////*/

  /*books, links, locationsの3つのbig-block*/
  .big-block {
    flex-direction: column;
  }
  /*big-blockの中*/
  .left-block {
    width: 100%;
    margin: auto 0;
  }
  .books-right, .links-right, .locations-right {
    width: 90%;
    margin: auto;
  }
  .books-right {
    padding-left: 50px;
    margin: 0;
  }
  /*///////////////ここまでRESOURCES///////////////*/
  /*////////////メインギャラリー////////////*/
  /*スクロール要素*/
  .scroll-bg {
    padding: 120px 70px;
    grid-gap: 30px;/*グリッド構成*/
  }
  /*///////////ここまでメインギャラリー//////////*/


}

/* スマホ用画面表示 */
@media (max-width: 600px) {


  .page-title {
    padding-top: 64px;
    font-size: 48px;
  }
  /*HEADER-----------------------------------------------*/
  .logo {
    display: none;

  }
  .main-nav {
    font-size: 1.5rem;
    margin-top: 86px;
    margin-bottom: 0;
    padding-left: 0;
    flex-direction: column;
  }
  .sp-option {
    visibility: visible;
  }
  #close {
    opacity: 1;
    /* z-index: 2;
    visibility: collapse; */
  }
  .overlay {
    position: fixed;
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
    /* background: rgba(0, 0, 0, .85); */
    z-index: 1;
    visibility: collapse;
  }
  .material-icons {
    position: fixed;
    top: 24px;
    right: 24px;
    color: white;
    cursor: pointer;
    padding: 7px;
    background: gray;
    border-radius: 3px;
    /* box-shadow: 1px 1px 2px #444444; */
  }
  .main-nav li {
    padding: 10px 50px;
    border-bottom: 2px solid rgba(255, 255, 255, .5);
    text-align: center;
    margin-left: 0;
  }
  .sp-menu #open {
    box-shadow: 1px 1px 2px #444444;
  }
  .sp-menu {
    visibility: visible;
  }

  .page-header {
    justify-content: center;
  }
  .page-header h1 {
    display: none;
  }

  /* ハンバーガーメニューの開閉 */
  .show {
    visibility: visible;
    background: rgba(0, 0, 0, .85);
    transition: .3s;
  }
  /* アニメーション */
  .overlay li {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity .5s, transform .5s;
  }

  .overlay.show li {
    opacity: 1;
    transform: none;
  }


  /*HOME---------------------------------------------*/

  /*メインコンテンツ*/
  #home {
    display: flex;
  }
.home-content {
  justify-content: center;
  align-self: center;
}
  .main {
    margin: 0;
    padding: 0;
  }
  .container {
    grid-template-columns: 1fr;
    margin-top: 150px;
    margin-left: 32px;
    margin-right: 16px;
  }
  /*//////////////////RESOURCES//////////////////*/
  .books-right {
    padding-left: 24px;
  }
  .books-right div {
    width: 25%;
    margin-left: 20px;
  }
  /*///////////////ここまでRESOURCES/////////////*/

  /*///////////////////CONTACT////////////////*/
  /*フォーム*/
  form {
    padding: 0 10%;
  }
  form div {
    margin-bottom: 0;
  }
  label {
    font-size: 1.25rem;
  }
  .message {
    display: flex;
    flex-direction: column;
  }
  .left {
    margin: 0;
    width: 100%;
  }
  .right {
    margin: 0;
    width: 100%;
    text-align: center;
  }
  input[type="text"],
  input[type="email"],
  textarea {
    font-size: 1.25rem;
  }
  input[type="text"],
  input[type="email"] {
    max-width: 90vw;
  }
  textarea {
    height: 200px;
    width: 100%;
  }
  input[type="submit"] {
    height: 48px;
    width: 60%;
    margin: 16px auto;
  }
  /*///////////////ここまでCONTACT//////////////*/

  /*HEADER GALLERY*/
  .gallery-nav {
    font-size: 1.5rem;
    margin: 0;
    margin-top: 86px;
    padding-left: 0;
    flex-direction: column;
  }
  .gallery-nav li {
    padding: 10px 50px;
    border-bottom: 2px solid rgba(255, 255, 255, .5);
    text-align: center;
    margin-left: 0;
  }

  /*////////////メインギャラリー////////////*/

  #gallery-header h1 {
    margin-top: 16px;
  }

  /*メインコンテンツ*/
  /*固定要素*/
  .fixed-bg h2 {
    font-size: 3rem;
  }
  /*スクロール要素*/
  .scroll-bg {
    padding: 120px 56px;
    /*グリッド構成*/
    grid-template-columns: repeat(1, 1fr);
  }
  .bg-color05 {
    /*フッターとの距離をとるため*/
    padding-bottom: 200px;
  }
  /*///////////ここまでメインギャラリー//////////*/
}
