* {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

html, body, h1, h2, h3, h4, h5, h6, ul, ol, dl, li, dt, dd, p, div, span, img, a, table, tr, th, td, small, button, time, figure {
  border: 0;
  font: inherit;
  font-size: 100%;
  margin: 0;
  padding: 0;
  vertical-align: baseline;
}

html {
  line-height: 1;
}

ol, ul {
  list-style: none;
}

li, dd {
  list-style-type: none;
}

header, footer, nav, section, article, aside, figure, figcaption {
  display: block;
}

img {
  border: none;
  vertical-align: bottom;
  width: 100%;
}

a {
  cursor: pointer;
  text-decoration: none;
}

.inner {
  width: 100%;
  margin: 0 auto;
}

body {
  color: #333;
  line-height: 1.5;
}

header {
  width: 100%;
  height: 600px;
  position: relative;
}

.header-inner {
  max-width: 100%;
}

.header-image {
  height: 500px;
  text-align: center;
  padding-top: 200px;
  background: url("../img/main-top.jpg");
  background-size: cover;
  background-position: 50% 80%;
}

.header-image a {
  color: #333;
  font-size: 4em;
  font-family: 'Dancing Script', cursive;
}

@media screen and (max-width: 767px) {
  .header-image a {
    font-size: 2em;
  }
}

@media screen and (max-width: 991px) {
  .header-image a {
    font-size: 2em;
  }
}

@media screen and (max-width: 1199px) {
  .header-image a {
    font-size: 4em;
  }
}

@media screen and (max-width: 767px) {
  .header-image {
    background-position: 50% 80%;
    height: 300px;
  }
}

@media screen and (max-width: 991px) {
  .header-image {
    height: 400px;
    padding-top: 200px;
  }
}

@media screen and (max-width: 1199px) {
  .header-image {
    height: 500px;
    background-position: 100% 80%;
    padding-top: 200px;
  }
}

.header-nav {
  padding-top: 10px;
  padding-bottom: 10px;
  max-width: 1600px;
  margin: 0 auto;
}

.header-items {
  display: flex;
  justify-content: flex-end;
}

@media screen and (max-width: 767px) {
  .header-items {
    justify-content: center;
  }
}

.menu-item {
  margin-right: 30px;
}

.menu-item:last-child {
  margin-right: 85px;
}

@media screen and (max-width: 767px) {
  .menu-item {
    margin-right: 5%;
    margin-left: 5%;
  }
}

@media screen and (max-width: 767px) {
  .menu-item {
    margin-right: 30px;
  }
  .menu-item:last-child {
    margin-right: 40px;
  }
}

@media screen and (max-width: 1199px) {
  .menu-item {
    margin-right: 30px;
  }
}

.menu-item > a {
  color: #333;
  font-size: 1.5em;
}

@media screen and (max-width: 767px) {
  .menu-item > a {
    font-size: 1em;
  }
}

.m_fixed {
  position: fixed;
  width: 100%;
  max-width: 1600px;
  margin: 0 auto;
  background-color: rgba(255, 255, 255, 0.5);
  z-index: 10;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
}

@media screen and (max-width: 767px) {
  .m_fixed {
    top: 0;
    left: 50%;
    transform: translateX(-50%);
  }
}

@media screen and (max-width: 991px) {
  .m_fixed {
    top: 0;
    right: 0;
  }
}

.blog-content {
  width: 90%;
  max-width: 1600px;
  margin: 0 auto;
  position: relative;
}

.blog-item {
  display: flex;
  align-items: center;
  margin-bottom: 50px;
  position: relative;
  color: #333;
}

.blog-item .blog-image {
  height: 500px;
  width: 80%;
  position: relative;
}

@media screen and (max-width: 1199px) {
  .blog-item .blog-image {
    width: 90%;
  }
}

@media screen and (max-width: 767px) {
  .blog-item .blog-image {
    width: 100%;
  }
}

.blog-item .blog-image img {
  height: 100%;
}

.blog-item:nth-child(1n) .blog-text {
  position: absolute;
  left: 60%;
}

@media screen and (max-width: 1199px) {
  .blog-item:nth-child(1n) .blog-text {
    left: 60%;
  }
}

@media screen and (max-width: 991px) {
  .blog-item:nth-child(1n) .blog-text {
    left: 60%;
  }
}

@media screen and (max-width: 767px) {
  .blog-item:nth-child(1n) .blog-text {
    top: 80%;
    left: 44%;
  }
}

.blog-item:nth-child(2n) {
  flex-flow: row-reverse;
}

.blog-item:nth-child(2n) .blog-text {
  position: absolute;
  left: 0;
  right: 70%;
}

@media screen and (max-width: 1199px) {
  .blog-item:nth-child(2n) .blog-text {
    right: 50%;
  }
}

@media screen and (max-width: 991px) {
  .blog-item:nth-child(2n) .blog-text {
    right: 40%;
  }
}

@media screen and (max-width: 767px) {
  .blog-item:nth-child(2n) .blog-text {
    right: 10%;
  }
}

.blog-item .blog-text-block {
  background-color: #fff;
  padding: 20px;
  width: 40%;
  box-shadow: 10px 10px 10px rgba(0, 0, 0, 0.4);
}

@media screen and (max-width: 767px) {
  .blog-item .blog-text-block {
    width: 50%;
  }
}

.blog-item .blog-text-block:nth-child(1n) {
  -webkit-transform: skew(20deg);
  -moz-transform: skew(20deg);
  -o-transform: skew(20deg);
}

.blog-item .blog-text-block:nth-child(2n) {
  -webkit-transform: skew(-20deg);
  -moz-transform: skew(-20deg);
  -o-transform: skew(-20deg);
}

.blog-item .blog-text-block time {
  font-size: 3em;
}

@media screen and (max-width: 991px) {
  .blog-item .blog-text-block time {
    font-size: 2em;
  }
}

@media screen and (max-width: 767px) {
  .blog-item .blog-text-block time {
    font-size: 1.5em;
  }
}

.blog-item .blog-text-block .blog-title {
  font-size: 2em;
}

@media screen and (max-width: 991px) {
  .blog-item .blog-text-block .blog-title {
    font-size: 1.5em;
  }
}

@media screen and (max-width: 767px) {
  .blog-item .blog-text-block .blog-title {
    font-size: 1em;
  }
}

.pagenation {
  text-align: center;
  margin-bottom: 30px;
}

.pagenation span, .pagenation a {
  font-size: 1.5em;
  margin: 10px;
  padding: 5px 10px;
  background-color: #333;
  color: #fff;
}

footer .footer-text {
  text-align: center;
  padding-top: 20px;
  padding-bottom: 20px;
}

.sub-header {
  height: 350px;
}

@media screen and (max-width: 1199px) {
  .sub-header {
    height: 350px;
  }
}

@media screen and (max-width: 767px) {
  .sub-header {
    height: 300px;
  }
}

.sub-header-image {
  height: 200px;
  font-size: 4em;
  padding-top: 30px;
}

.sub-bread {
  margin-bottom: 60px;
  font-size: 1.5em;
  color: #9f9f9f;
}

.sub-bread span {
  color: #333;
}

.sub-bread a span {
  color: #9f9f9f;
}

@media screen and (max-width: 767px) {
  .sub-bread {
    font-size: 1em;
  }
}

.sub-bread ul {
  display: flex;
}

.archive-title {
  font-size: 4em;
  margin-bottom: 60px;
  text-align: center;
}

.blog-single {
  width: 90%;
  max-width: 1500px;
  margin: 0 auto;
}

.single-main-title {
  text-align: center;
  font-size: 4em;
  margin-bottom: 60px;
}

@media screen and (max-width: 767px) {
  .single-main-title {
    font-size: 2em;
  }
}

.single-main-image {
  margin-bottom: 60px;
}

.single-main-image img {
  height: auto;
}

.single-main-text img {
  height: auto;
}

.not-page__inner {
  width: 90%;
  max-width: 1500px;
  margin: 0 auto;
  padding: 20px;
  background-color: #ededed;
}

.not-page__inner p {
  text-align: center;
  line-height: 2em;
  font-size: 1.5em;
}

@media screen and (max-width: 767px) {
  .not-page__inner p {
    font-size: 1em;
  }
}

.profile-page {
  overflow: hidden;
  position: relative;
}

@media screen and (max-width: 1199px) {
  .profile-page {
    width: 100%;
  }
}

.profile-page:after {
  content: "";
  position: absolute;
  top: -30px;
  left: -30px;
  z-index: -10;
  border-top: 500px solid #ffbeac;
  border-right: 800px solid transparent;
}

@media screen and (max-width: 1199px) {
  .profile-page:after {
    border-top: 400px solid #ffbeac;
    border-right: 700px solid transparent;
  }
}

@media screen and (max-width: 991px) {
  .profile-page:after {
    border-top: 300px solid #ffbeac;
    border-right: 600px solid transparent;
  }
}

@media screen and (max-width: 767px) {
  .profile-page:after {
    border-top: 200px solid #ffbeac;
    border-right: 400px solid transparent;
  }
}

.profile-image {
  background: url("../img/image1.png") no-repeat;
  background-size: cover;
  background-position: -20% 50%;
  border-radius: 50%;
  width: 300px;
  height: 300px;
  margin-left: 50%;
  transform: translateX(-50%);
}

.profile-text {
  width: 50%;
  max-width: 1500px;
  margin: 0 auto;
}

@media screen and (max-width: 767px) {
  .profile-text {
    width: 90%;
  }
}

.profile-text h3 {
  font-size: 24px;
}

.profile-text h4 {
  font-weight: bold;
}

.profile-text p {
  font-size: 20px;
}

.profile-name {
  margin-top: 30px;
  margin-bottom: 30px;
}

.profile-career {
  margin-bottom: 30px;
}

.profile-career p {
  line-height: 1.5em;
}

.profile-hobby {
  margin-bottom: 30px;
  position: relative;
}

.profile-hobby:after {
  content: "";
  position: absolute;
  top: -400px;
  left: 400px;
  z-index: -10;
  border-bottom: 400px solid #ffffa6;
  border-left: 400px solid transparent;
  transform: rotate(10deg);
}

@media screen and (max-width: 1199px) {
  .profile-hobby:after {
    top: -450px;
    left: 300px;
    border-bottom: 350px solid #ffffa6;
    border-left: 350px solid transparent;
  }
}

@media screen and (max-width: 991px) {
  .profile-hobby:after {
    top: -450px;
    left: 200px;
    border-bottom: 280px solid #ffffa6;
    border-left: 280px solid transparent;
  }
}

@media screen and (max-width: 767px) {
  .profile-hobby:after {
    top: -450px;
    left: 100px;
    border-bottom: 280px solid #ffffa6;
    border-left: 280px solid transparent;
  }
}

.profile-blog {
  margin-bottom: 30px;
  position: relative;
}

.profile-blog::after {
  content: "";
  position: absolute;
  z-index: -10;
  top: -100px;
  left: -300px;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background-color: #92c3ff;
}

@media screen and (max-width: 991px) {
  .profile-blog::after {
    width: 300px;
    height: 300px;
    top: -30px;
    left: -170px;
  }
}

/* サブメニューをabsoluteにするため、親メニューをrelativeに */
.menu-item-has-children {
  position: relative;
}

/* 親メニューにマウスオーバーしたときにカーソルを変更 */
.menu-item-has-children:hover {
  cursor: pointer;
}

/* 子を持つ親メニューにマウスオーバーしたときサブメニューを表示 */
.menu-item-has-children:hover .header-nav-child {
  display: block;
}

/* サブメニューをabsoluteにして親メニューの下に配置。スタイルは適宜調整してください */
.header-nav-child {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  width: 200px;
  background: white;
  box-shadow: 0px 0px 3px rgba(0, 0, 0, 0.2);
  padding: 0;
}

/* サブメニューの境目をわかりやすくするため、一番下の項目以外下線を引いた */
.header-nav-child > .menu-item:not(:last-child) {
  border-bottom: 1px solid #eee;
}

/* サブニューのリンクタグをmenu-itemの大きさと合わせ、クリックしやすいようにした */
.header-nav-child > .menu-item a {
  display: inline-block;
  width: 100%;
  height: 100%;
  padding: .5em 0;
}

/* サブメニューにマウスオーバーしたときリンクの背景色とテキストカラーを変更 */
.header-nav-child > .menu-item a:hover {
  background: black;
  color: white;
}

.sub-menu {
	display: flex;
}