@charset "utf-8";

:root {
  /* グリーンベース */
  /* --main-body-color: #fff7f1;
  --main-header-color: #34542c;
  --main-font-color: #1a1311;
  --main-border-color: #800000;
  --main-box-color: #fff0e9;
  --nav-background-color: #291a88cc;
  --section-title-color: #fff0e9;
  --section-title-backcolor: #5b5b2c;
  --header-font-color: #fff0e9;
  --footer-font-color: #fff0e9; */

  /* ブルーベース */
  /* メイン */
  /* --main-body-color: #fff4ea; */
  --main-body-color: #ffffff;
  --main-header-background-color: #00061cde;
  --main-font-color: #1a1311;
  --main-border-color: #291a88cc;
  /* ナビ */
  /* --nav-background-color: #e1db7ae0; */
  --nav-background-color: #000000e1;
  --nav-font-color: #ffffff;
  --nav-box-shadow-color: #ffffff;
  --nav-a-hover-color: #fce300;
  /* --nav-background-color: #cdcdcdea; */
  /* --nav-font-color: #1a1311; */
  /* ハンバーガーメニュー */
  --hamburger_backcolor: #ffffff99;
  --hamburger_color: #000000;

  /* トップイメージ */
  --topimage-font-color: #fff0e9;
  --topimage-font-shadow-color: #fef682d3;
  /* セクションボタン */
  --section-title-color: #fff0e9;
  --section-title-backcolor: #0d3263;
  --section-title-inside_backcolor: #ffe600;

  /* 経歴 */
  --biography-dt-background-color: #c9c7e0;
  --biography-dd-background-color: #f0f0fd;

  /* リンク */
  --link-font-color: #0d3263;

  /* フッター */
  --footer-font-color: #fff0e9;
  --footer-background-color: #00061cde;

  /* テキストアンダーライン */
  --books-underline-color: #f2f51f;
}

html {
  /* ページ内リンクでスクロールする際に、ヘッダーの高さを考慮して遷移させる。さらに見えやすいように+10pxを追加 */
  scroll-padding-top: calc(100px + 10px);
}
body {
  /* 基本文字形式設定 */
  color: var(--main-font-color);
  font-family: "游ゴシック", YuGothic, "ヒラギノ角ゴ ProN W3",
    "Hiragino Kaku Gothic ProN", "メイリオ", Meiryo, Verdana, sans-serif;
  letter-spacing: 0.06em;
  line-height: 1.8;
  background-color: var(--main-body-color);
}

/* 初期設定 start*/
*,
::before,
::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

ul {
  list-style: none;
}

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

img {
  vertical-align: bottom;
}
/* 初期設定 end*/

header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  color: var(--nav-font-color);
  background-color: var(--main-header-background-color);
  height: 100px;
  box-shadow: 0 3px 10px var(--nav-box-shadow-color);
  z-index: 999;
}

.iconimage {
  height: 80px;
  margin: 10px 20px;
}
/* ナビゲーション */
nav {
  width: 50%;
  position: absolute;
  top: 40px;
  left: 45%;
  /* border: solid #fff0e2; */
  font-size: 1.3rem;
}

#menu-btn,
.btn {
  display: none;
}

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

nav ul li a:hover {
  color: white;
  text-shadow: 0 0 10px var(--nav-a-hover-color),
    0 0 20px var(--nav-a-hover-color), 0 0 40px var(--nav-a-hover-color),
    0 0 48px var(--nav-a-hover-color), 0 0 160px var(--nav-a-hover-color),
    0 0 180px var(--nav-a-hover-color), 0 0 200px var(--nav-a-hover-color),
    0 0 220px var(--nav-a-hover-color), 0 0 240px var(--nav-a-hover-color);
  transition: 0.3s;
}

/* topimage start*/
.topimage {
  width: 100%;
  margin-top: 100px;
  height: calc(100vh - 100px);
  /* background-image: url(./img/topimg_green.png); */
  /* background-image: url(../img/topimg_blue.png); */
  background-image: url(../img/topimg_blue.jpg);
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}

.topimage-text {
  color: var(--topimage-font-color);
  font-family: "Montserrat", sans-serif;
  /* font-family: "Major Mono Display", monospace; */
  /* 筆記体風 */
  /* font-family: "Homemade Apple", cursive, "Montserrat", sans-serif; */
  /* font-weight: 400;
  font-style: normal; */

  font-optical-sizing: auto;
  font-style: normal;
}

.topimage-text-nomal {
  font-size: 100px;
  font-weight: 800;
  width: 100%;
  padding-left: calc(100vw / 8);
  padding-top: calc(100vh / 8);
  line-height: 1.2em;
  text-shadow: 1px 1px 10px var(--topimage-font-shadow-color);
}

.topimage-text-small {
  font-size: 40px;
  font-weight: 700;
  width: 100%;
  padding-left: calc(100vw / 6);
  padding-bottom: 200px;
  line-height: 1.2em;
  text-shadow: 1px 1px 10px var(--topimage-font-shadow-color);
}

.topimage_painter {
  color: var(--main-font-color);
  font-size: 1rem;
  font-style: italic;
  text-align: right;
}
/* topimage end*/

section {
  min-width: 768px;
  width: 80%;
  margin: 50px auto 0;
}

.explanation {
  width: 80%;
  margin: 0 auto;
}

.biography {
  width: 80%;
  margin: 0 auto;
  padding-top: 20px;
}

.biography dl {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  font-size: 0.8rem;
}

.biography dt {
  width: 25%;
  padding: 10px;
  background-color: var(--biography-dt-background-color);
  font-size: 0.8rem;
}

.biography dd {
  width: 75%;
  padding: 10px;
  background-color: var(--biography-dd-background-color);
}

.profile,
.research,
.philosophy,
.books,
.access {
  /* 各メニューごとに余白を設定 */
  margin-bottom: 150px;
}

/* タイトルボックス start*/
.title_box {
  /* border: none; */
  width: 300px;
  padding: 5px;
  /* border-radius: 15px; */
  background-color: var(--section-title-backcolor);
  /* margin-top: 100px; */
  position: relative;
  /* margin: 0 auto; */
  margin-bottom: 30px;
}

.inside_box {
  position: absolute;
  width: 5%;
  height: 70%;
  top: calc(30% / 2);
  left: 5%;
  background-color: var(--section-title-inside_backcolor);
}

.title_box h2,
.title_box h4 {
  text-align: center;
  line-height: 1.2;
  color: var(--section-title-color);
}
/* タイトルボックス end*/

/* プロフィール start*/
.profile ul {
  display: flex;
  align-items: center;
}
.profile-pic {
  /* border: solid; */
  flex-basis: 50%;
  /* width: 200px; */
  text-align: center;
}
.profile_photographer {
  color: var(--main-font-color);
  font-size: 0.8rem;
  font-style: italic;
  text-align: center;
}
.profile-name {
  /* border: solid; */
  padding: 20px 0 20px;
  flex-basis: 50%;
}

.profile img {
  /* align-items: center; */
  width: 250px;
  height: 250px;
}

/* .text_labo_contact {
  padding-top: 20px;
  text-align: center;
  font-size: 12px;
} */

/* プロフィール end*/

/* 研究紹介 start*/
.research ul {
  list-style: square inside;
}

.biography a {
  text-decoration: underline;
  color: var(--link-font-color);
  /* font-size: 1rem; */
}
/* 研究紹介 end*/

/* 書籍 start*/
.books-explanation {
  display: flex;
}
.books-pic {
  flex-basis: 20%;
  margin-bottom: 20px;
}
.books-pic img {
  width: 150px;
}
.books-desc {
  flex-basis: 80%;
  padding-left: 20px;
  margin-bottom: 20px;
}

.book-title {
  font-size: 1.3rem;
  font-weight: bold;
}
.book-subtitle {
  font-size: 1.1rem;
  font-weight: bold;
}
.book-text {
  font-size: 0.9rem;
}
/* 書籍 end*/

/* アクセス start*/
.access {
  /* border: solid; */
  align-items: center;
}

.google-map iframe {
  width: 100%;
  min-height: 400px;
  filter: grayscale(100%);
  -webkit-filter: grayscale(100%);
  transition: 0.5s;
}

.google-map iframe:hover {
  filter: none;
  -webkit-filter: none;
}

address {
  font-style: normal;
}
/* アクセス end*/

.footerimg {
  width: 100%;
  background-image: url(../img/footerimg.jpg);
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  height: 30vh;
}

footer {
  /* max-width: 1200px; */
  color: var(--footer-font-color);
  background-color: var(--footer-background-color);
  padding-top: 40px;
  padding-bottom: 25px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

footer ul {
  display: flex;
}

.img-icon {
  height: 25px;
  margin-right: 10px;
}

.logo-footer {
  height: 100px;
  margin: 20px;
}

.copyright {
  padding-top: 30px;
  font-size: 0.6rem;
}
.fadeIn {
  opacity: 0;
  /* transform: translate(0, 0px); */
  transition: all 2s;
}

.fadeIn.up {
  opacity: 1;
  /* transform: translate(0, 0); */
}

/* 装飾 */
.underline {
  text-decoration-color: var(--books-underline-color);
  text-decoration-line: underline;
  text-decoration-thickness: 7px;
  text-underline-offset: -3px;
  text-decoration-skip-ink: none;
}

@media (max-width: 768px) {
  html {
    /* ページ内リンクでスクロールする際に、ヘッダーの高さを考慮して遷移させる。見えやすいように+10pxを追加 */
    scroll-padding-top: calc(60px + 10px);
  }

  body {
    font-size: 14px;
  }

  header {
    /* width: 50%; */
    height: 60px;
    padding-top: 0;
  }
  .iconimage {
    display: none;
  }

  section {
    /* border: solid #000; */
    min-width: auto;
    width: 95%;
  }

  .explanation {
    /* border: solid #000; */
    width: 95%;
  }

  .explanation ul {
    display: block;
  }

  .biography {
    /* border: solid #000; */
    width: 95%;
  }

  .topimage {
    /* ヘッダーの高さを含める */
    margin-top: 60px;
  }

  .topimage-text-nomal {
    font-size: 60px;
  }

  .topimage-text-small {
    font-size: 30px;
  }

  /* ハンバーガーメニュー　start */
  .btn {
    width: 45px;
    height: 45px;
    background-color: var(--hamburger_backcolor);
    border-radius: 5px;
    position: fixed;
    top: 8px;
    right: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 998;
  }

  .btn span,
  .btn span::before,
  .btn span::after {
    content: "";
    display: block;
    width: 30px;
    height: 1px;
    background: var(--hamburger_color);
    position: absolute;
    transition: 0.5s;
  }

  .btn span::before {
    top: -10px;
  }

  .btn span::after {
    top: 10px;
  }
  /* ハンバーガーメニュー　end */

  /* ハンバーガーメニューチェック　start */
  #menu-btn:checked ~ .btn span {
    background-color: transparent;
  }

  #menu-btn:checked ~ .btn span::before {
    top: 0;
    transform: rotate(45deg);
  }

  #menu-btn:checked ~ .btn span::after {
    top: 0;
    transform: rotate(-45deg);
  }

  nav {
    /* 初期化 */
    position: static;
    width: auto;
  }

  nav li {
    width: 200px;
    font-weight: bold;
    text-align: center;
    /* background-color: #d78017; */
    /* border: solid; */
    /* border-width: thin; */
    padding: 15px 0 15px;
  }

  nav ul li a:hover {
    /* color: rgb(27, 50, 94); */
    text-shadow: none;
    /* transition: 0.8s; */
  }

  .g-nav {
    /* ナビを用意 位置は画面外に設定*/
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: fixed;
    top: 0;
    left: -100%;
    width: 70%;
    height: 100vh;
    background-color: var(--nav-background-color);
    /* background: linear-gradient(
      to left,
      #1714c5c7,
      var(--nav-background-color)
    ); */
    color: var(--nav-font-color);
    z-index: 100;
    transition: 0.5s;
  }

  .g-nav li {
    margin-bottom: 40px;
  }

  #menu-btn:checked ~ .g-nav {
    left: 0;
  }

  main .topimage {
    height: calc(100vh - 60px);
  }

  main section ul {
    display: block;
  }

  main section li {
    width: 100%;
  }

  .biography dt {
    width: 30%;
  }

  .biography dd {
    width: 70%;
  }

  .profile img {
    /* align-items: center; */
    width: 150px;
    height: 150px;
  }

  .profile_photographer {
    font-size: 0.5rem;
  }

  .books ul li {
    width: 100%;
  }

  .books-desc {
    padding-left: 0px;
  }

  .book-text {
    font-size: 100%;
  }

  .iconfooter {
    height: 80px;
    margin: 10px;
  }
}
