@charset "UTF-8";

/* ページ全体 */
html *,
::before,
::after {
  box-sizing: border-box;
}

html {
  font-size: 14px;
}

body {
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 400;
}

h1,
h2,
h3,
h4,
h5,
h6,
th,
strong {
  font-weight: 700;
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: bottom;
}

.header-container {
  background-image: url(../images/header_foot.jpg);
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  height: 400px;
  /* display: flex; 
  flex-direction: column;
  justify-content: center;
  align-items: center;*/
}

.header-title {
  color: #fff;
  text-shadow: 1px 1px 10px #4b2c14;
  padding-left: 20px;
  padding-top: 30px;
}

.header-title h1 {
  margin-bottom: 0;
}

.header-title p {
  margin: 10px 0 0;
  font-size: 15px;
}

.post .main-container {
  padding: 40px 4% 0 4%;
  background-image: url(../images/top-line.png);
  background-repeat: repeat-x;
  background-position: 0 10px;
}

.post-header {
  margin-bottom: 60px;
}

.post-header h2 {
  margin-bottom: 20px;
  line-height: 1.5;
  font-size: 1.5rem;
}

.post-tag {
  margin-bottom: 8px;
  font-size: 0.75rem;
  line-height: 2;
}

.post-tag span {
  padding: 2px 10px;
  background-color: #73cbd6;
  border-radius: 20px;
  margin-right: 5px;
}

.post-tag span a {
  color: #fff;
  text-decoration: none;
}

.post-info {
  margin-bottom: 3px;
  padding-bottom: 15px;
  background-image: url(../images/underline.png);
  background-position: bottom;
  background-repeat: repeat-x;
  font-size: 0.75rem;
  text-align: right;
}

.post-info span {
  margin-right: 10px;
}

.post-info span i {
  color: #73cbd6;
  padding-right: 5px;
}

.post-contents {
  margin-bottom: 60px;
}

.post-contents h3 {
  margin: 60px 0 30px 0;
  padding: 14px 0 14px;
  border-top: 1px solid #000;
  border-bottom: 1px solid #000;
  font-size: 1.25rem;
}

.post-contents>*:first-child {
  margin-top: 0;
}

.post-contents p {
  margin: 30px 0;
  line-height: 1.9;
  text-align: justify;
}

.post-contents mark {
  background: linear-gradient(transparent 50%, #ffff7c 50%);
}

.photo-caption {
  margin: 30px 0;
}

.photo-caption figcaption {
  font-size: 0.75rem;
  margin-top: 5px;
  color: #747474;
}

.list {
  margin: 30px 0;
}

.list li {
  margin-bottom: 1rem;
  line-height: 1.5;
}

.info-box {
  border: 4px solid #b8e5ea;
  padding: 2rem;
  margin: 30px 0;
}

.info-box p {
  margin: 0;
}

.float-box {
  display: flow-root;
}

.float-right {
  float: right;
  width: 40%;
  margin: 0 0 0 1rem;
}

.float-box p {
  margin: 0;
}

.float-left {
  float: left;
  width: 40%;
  margin: 0 1rem 0 0;
}

.point_box {
  list-style: none;
  padding: 0
}

.point_list {
  margin-top: 35px;
}

.list_sub {
  border: 1px solid #b8e5ea;
  border-left: 8px solid #b8e5ea;
}

.list_sub p {
  margin: 0;
  padding: 5px;
  font-size: 16px;
}

.list_text {
  padding: 0 30px;
}

.list_text p {
  margin: 10px 0 0;
}

.post-footer {
  margin-bottom: 60px;
}

.post-footer h3 {
  display: inline-block;
  margin: 0;
  padding: 10px 30px;
  background-color: #000;
  color: #fff;
  font-size: 1.25rem;
  border-radius: 10px 10px 0 0;
  font-family: 'Croissant One', cursive;
  font-weight: 400;
}

.post-footer h3 i {
  padding-right: 5px;
}

.profile {
  display: flex;
  border: 1px solid #000;
  padding: 1rem;
}

.pr-photo {
  flex: 0 0 100px;
  margin-right: 14px;
}

.pr-photo img {
  border-radius: 20%;
}

.pr-text {
  flex: 1 1 auto;
}

.pr-text p {
  line-height: 1.9;
  margin: 0;
}

.side-latest {
  margin-bottom: 60px;
}

.side-latest h3 {
  font-family: 'Croissant One', cursive;
  font-weight: 400;
  font-size: 1.25rem;
  margin: 0 0 10px 0;
}

.side-latest ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.side-latest li {
  display: grid;
  grid-template-columns: 80px 1fr;
  column-gap: 10px;
  align-items: center;
  border-bottom: 1px solid #d8d8d8;
  margin: 0 0 16px 0;
  padding: 0 0 16px 0;
}

.side-latest img {
  border-radius: 40px;
}

.side-latest a {
  text-decoration: none;
  color: #000;
}

.side-latest a:hover {
  opacity: 0.5;
}

.side-latest p {
  font-size: 0.75rem;
  line-height: 1.5;
  margin: 0;
}

.side-book {
  margin-bottom: 60px;
}

.side-book h3 {
  background-color: #000;
  color: #fff;
  font-family: 'Croissant One', cursive;
  font-weight: 400;
  font-size: 1.25rem;
  margin: 0 0 20px;
  padding: 5px;
  text-align: center;
}

.book-info {
  display: grid;
  grid-template-columns: 80px 1fr;
  column-gap: 10px;
  margin-bottom: 50px;
  margin-top: 20px;
}

.book-image {
  grid-column: 1/2;
  grid-row: 1/3;
}

.book-text {
  font-size: 0.875rem;
  line-height: 1.5;
}

.book-text p {
  margin: 0;
}

.buttom {
  align-self: end;
  justify-self: start;
}

.buttom a {
  background-color: #f4dd64;
  display: inline-block;
  width: 180px;
  line-height: 40px;
  border-radius: 35px;
  font-size: 14px;
  text-decoration: none;
  text-align: center;
  color: #000;
  font-weight: bold;
}

.buttom a:hover {
  opacity: 0.8;
}

.gotop {
  text-align: center;
}

.gotop a {
  display: inline-block;
  text-align: center;
  background-color: #000;
  opacity: 0.6;
  color: #fff;
  padding: 1rem 4rem;
  border-radius: 20px 20px 0 0;
  font-size: 1.25rem;
}

.gotop a:hover {
  opacity: 0.8;
}

html {
  scroll-behavior: smooth;
}

.footer-container {
  background-color: #000;
  padding: 30px 4%;
}

.copyright {
  color: #d8d8d8;
  text-align: center;
  font-size: 0.75rem;
  margin: 0;
}


/* レスポンシブデザインのCSS
------------------------------------------ */

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }

  .header-container {
    max-width: 1040px;
    padding: 0 20px;
    margin: 0 auto;
  }

  .post .main-container {
    max-width: 1040px;
    padding: 80px 20px 0 20px;
    margin: 0 auto;
  }

  .columns {
    display: grid;
    grid-template-columns: 1fr 290px;
    grid-gap: 40px;
  }

  .post-contents {
    max-width: 600px;
    margin: 0 auto 60px;
  }

  .post-footer {
    max-width: 600px;
    margin: 0 auto 60px;
  }

  .post-header h2 {
    margin: 0 0 20px;
  }

}