/* @media screen and (max-width: 499px) {
  　画面サイズ 499pxまで適用　
  .content {
    color: #red;
  }
}

@media screen and (min-width: 600px) and (max-width: 999px) {
  　画面サイズ 600pxから999pxまで適用　
  .content {
    color: #green;
  }
} */

* {
  box-sizing: border-box;
  padding: 0px;
  margin: 0px;
  font-family: YuMincho, "Yu Mincho", "Hiragino Mincho ProN", "serif";
  color: inherit;
  /* outline: 1px solid magenta; */
}
img {
  max-width: 100%;
  height: auto;
}
div {
  display: block;
  unicode-bidi: isolate;
}
a,
a:hover,
a:visited {
  text-decoration: none;
  color: inherit;
}
.sns a[target="_blank"] {
  padding-right: 15px;
  background: url("../img/blanklink.png") right center/11px auto no-repeat;
}
html {
  scroll-behavior: smooth;
  font-size: 100%;
  /* font-size: calc((100vw - 320px) / 140 + 16px); */
}
body {
  width: 100%;
  background-color: #72736f;
  /* overflow: hidden scroll; */
  display: block;
  line-height: 1.4;
  overflow-x: hidden;
}
ul {
  list-style: none;
}
.over-row {
  margin: 0 calc(50% - 50vw);
  width: 100%;
}
.row {
  display: flex;
  flex-wrap: wrap;
}

/* --------------------
        ヘッダー
-------------------- */

header {
  padding: 30px 4% 10px;
  position: fixed;
  top: 0;
  width: 100%;
  background-color: transparent;
  display: flex;
  align-items: center;
  background-color: rgba(255, 246, 236, 0.1);
  z-index: 9999;
}
header h1 {
  margin: 0;
  padding: 0;
  font-size: 2rem;
  line-height: 0.8;
}
header #logop2 {
  display: block;
}
header a {
  text-decoration: none;
}
header nav {
  margin: 0 0 0 auto;
}
header ul {
  list-style: none;
  margin: 0;
  display: flex;
}
header li {
  margin: 0 0 0 15px;
  font-size: 1rem;
  /* color: #fff; */
  font-weight: bold;
}
header li:hover {
  color: #ddd;
}

.sp-nav {
  display: none;
}

@media screen and (max-width: 640px) {
  .pc-nav {
    display: none;
  }
  .sp-nav {
    z-index: 1;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    display: block;
    width: 100%;
    background: rgba(0, 0, 0, 0.8);
    opacity: 0;
    transform: translateY(-100%);
    transition: all 0.2s ease-in-out;
  }
  #hamburger {
    position: relative;
    display: block;
    width: 30px;
    height: 25px;
    margin: 0 0 0 auto;
  }
  #hamburger span {
    position: absolute;
    top: 50%;
    left: 0;
    display: block;
    width: 100%;
    height: 2px;
    background-color: #fff;
    transform: translateY(-50%);
  }
  #hamburger::before {
    content: "";
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #fff;
  }
  #hamburger::after {
    content: "";
    display: block;
    position: absolute;
    bottom: 0;
    left: 0;
    width: 70%;
    height: 2px;
    background-color: #fff;
  }
  /*スマホメニュー*/
  .sp-nav ul {
    padding: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
  }
  .sp-nav li {
    margin: 0;
    padding: 0;
    color: #fff;
  }
  .sp-nav li span {
    font-size: 15px;
    color: #fff;
  }
  .sp-nav li a,
  .sp-nav li span {
    display: block;
    padding: 20px 0;
  }
  /*-閉じるアイコンー*/
  .sp-nav .close {
    position: relative;
    padding-left: 20px;
  }
  .sp-nav .close::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    display: block;
    width: 16px;
    height: 1px;
    background: #fff;
    transform: rotate(45deg);
  }
  .sp-nav .close::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    display: block;
    width: 16px;
    height: 1px;
    background: #fff;
    transform: rotate(-45deg);
  }
  .toggle {
    transform: translateY(0);
    opacity: 1;
  }
}

.inner {
  margin: 0 auto;
  /* padding: 0 100px; */
  max-width: 1000px;
}
@media screen and (max-width: 999px) {
  .inner {
    padding: 0 3%;
  }
}

#mainimage img {
  width: 100%;
  height: auto;
}

/*キャッチフレーズ*/

.typed {
  position: absolute;
  top: 600px;
  left: 50px;
  font-size: 100px;
  color: #fff;
  text-shadow: 1px 1px 0px #000, -1px -1px 0px #000, -1px 1px 0px #000,
    1px -1px 0px #000, 1px 0px 0px #000, -1px 0px 0px #000, 0px 1px 0px #000,
    0px -1px 0px #000;
  font-weight: bold;
  line-height: 1;
  z-index: 9999;
}

/* --------------------
        ニュース
-------------------- */

.sec01m {
  display: flex;
  width: auto;
  height: 200px;
  padding-top: 30px;
  flex-wrap: nowrap;
}

h2 {
  font-size: 6.25rem;
  font-family: YuMincho, "Yu Mincho", "Hiragino Mincho ProN", "serif";
  font-weight: bold;
}

.sec01m p {
  display: block;
  width: 100%;
  padding: 5.5% 1%;
  font-size: 2.25rem;
}

.newsitem {
  width: 100vw;
  height: auto;
  background-color: #262522;
}

.newsbox {
  position: relative;
  max-width: 960px;
  margin: 0 auto;
  padding: 10% 0;
  /* top: 150px; */
}

.newsitemlist {
  margin: 0 10%;
}

.newsitemlist li {
  border-bottom: 1px solid #ccc;
  list-style: none;
}
.newsitemlist .newstext-top {
  text-decoration: none;
  display: block;
  padding: 10px 0;
  font-size: 2rem;
}
.newsitemlist a:hover {
  background-color: #ccc;
}
.newsitemlist span {
  color: #737373;
  vertical-align: middle;
  display: inline-block;
  margin-right: 10px;
}
.newsitemlist p {
  /* color: #131313; */
  color: #fff;
  display: inline-block;
  margin: 0;
  padding: 0;
  vertical-align: middle;
  font-size: 1.5rem;
}

@media screen and (max-width: 499px) {
  .sec01m {
    height: 100px;
    padding-top: 30px;
  }

  h2 {
    font-size: 3.125rem;
  }

  .sec01m p {
    width: 100%;
    padding: 5.5% 1%;
    font-size: 1.125rem;
  }

  /* .newsitem {
    width: 100vw;
    height: 650px;
    background-color: #262522;
  } */

  /* .newsbox {
    max-width: 960px;
    top: 50px;
  } */

  .newsitemlist .newstext-top,
  .newsline {
    font-size: 0.8rem;
  }
}

/* --------------------
        制作物
-------------------- */

section .works {
  position: relative;
}

.sec02m {
  display: flex;
  width: auto;
  height: 200px;
  padding-top: 30px;
  flex-wrap: nowrap;
}

.sec02m p {
  display: block;
  width: 100%;
  padding: 5.5% 1%;
  font-size: 36px;
}

ul.tab {
  text-align: right;
  padding-top: 50px;
  cursor: pointer;
}
@media screen and (max-width: 499px) {
  ul.tab {
    padding-top: 10px;
  }
}

.is-active {
  color: #ddd;
  font-weight: bold;
  text-decoration: underline;
}

.is-hide {
  display: none;
}

li.tab_member {
  display: inline;
  margin-right: 10px;
}
@media screen and (max-width: 499px) {
  li.tab_member {
    font-size: 14px;
  }
}

li.tab_member:not(:first-child) {
  border-left: 1px solid #ddd;
  padding-left: 10px;
}

div.list {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
}

div.list::after {
  display: block;
  content: "";
  width: 330px;
}

div.list div.contents {
  width: 330px;
  margin-top: 50px;
}
@media screen and (max-width: 990px) {
  div.list div.contents {
    width: 300px;
  }
}
@media screen and (max-width: 599px) {
  div.list div.contents {
    width: 150px;
  }
}

div.contents a:hover img {
  opacity: 0.5;
}

div.contents p {
  margin-top: 10px;
  text-align: left;
}

div.contents p.small {
  font-size: 12px;
  color: #a3a3a3;
  margin-top: -5px;
}

.Pagination {
  padding-top: 60px;
  /* padding-bottom: 160px; */
  display: flex;
  align-items: center;
}

.Pagination > * + * {
  margin-left: 12px;
}

.Pagination-Item-Link {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  width: 35px;
  height: 35px;
  font-size: 20px;
  font-weight: bold;
  transition: all 0.15s linear;
  text-align: center;
}

.Pagination-Item-Link-Icon {
  width: 20px;
}

li.Pagination-Item.number.isActive {
  pointer-events: none;
  background: #111;
  color: #fff;
}

li.Pagination-Item.number:not(.isActive):hover {
  background: #111;
  color: #fff;
}

/* --------------------
      私について
-------------------- */

.aboutitem {
  width: 100vw;
  height: auto;
  background-color: #262522;
  color: #fff;
  padding: 5% 0;
}

.aboutbox {
  max-width: 960px;
  margin: 0 auto;
}

.sec03m p {
  display: block;
  width: 100%;
  padding: 5.5% 1%;
  font-size: 36px;
}

/* .topprofilebox {
  display: flex;
} */

.topprofiletext {
  max-width: 710px;
  margin-left: 2.5%;
}
@media screen and (max-width: 999px) {
  .topprofiletext {
    max-width: none;
    margin: 0;
  }
  .about #name {
    font-size: 60px;
  }
  .name {
    font-size: 24px;
  }
  #infotext {
    font-size: 20px;
  }
}

/* .about figure {
  padding: 10% 5% 10% 0;
} */

/* .about img {
  float: left;
  padding: 150px 0;
  margin-bottom: 160px;
  padding-right: 50px;
  max-width: 100%;
  height: auto;
  vertical-align: middle;
  transform: scale(1);
} */

.about #name {
  font-size: 60px;
}
@media screen and (max-width: 499px) {
  .about #name {
    font-size: 40px;
  }
  .name {
    font-size: 14px;
  }
  p#infotext {
    font-size: 14px;
  }
}

#name2 {
  display: block;
  line-height: 0.8;
}

.name {
  font-size: 20px;
  font-weight: bold;
  /* margin: 10px 0; */
  margin-bottom: 5%;
}

#infotext {
  font-size: 16px;
  margin-bottom: 10px;
}

.sns {
  display: flex;
  gap: 0 40px;
}

/* --------------------
    ニュースページ
-------------------- */

.newstext {
  margin-top: 130px;
}

.newscontents {
  width: 100vw;
  height: auto;
  /* margin: 0 -100px;
  margin: 0 calc (50% - 50vw); */
  background-color: #262522;
}

/* --------------------
    アバウトページ
-------------------- */

.profile {
  margin-top: 200px;
}

h3 {
  font-size: 48px;
  padding-top: 20px;
  font-weight: bold;
  color: #fff;
}

.profilebox {
  position: relative;
  width: 100vw;
  height: auto;
  /* margin: 0 -100px;
  margin: 0 calc (50% - 50vw); */
  background-color: #262522;
}

.profiletextarea {
  /* max-width: 1200px; */
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-content: center;
}
@media screen and (max-width: 1249px) {
  .profiletextarea {
    text-align: center;
  }
}

.profiletextarea figure {
  padding: 4% 0;
}

.profileimg {
  margin: 50px 100px;
  /* float: left; */
}

#profiletext {
  font-size: 1.1rem;
  /* font-size: 1.4vw; */
  color: #fff;
  padding-right: 100px;
}

.h2box {
  display: flex;
  width: auto;
  height: 200px;
  padding-top: 30px;
  flex-wrap: nowrap;
}

.timeline li {
  overflow: hidden;
  margin: 0;
  position: relative;
  text-align: left;
}

.timeline-date {
  width: 100px;
  float: left;
  padding: 30px 5%;
}

.timeline-content {
  width: 80%;
  float: left;
  border-left: 3px #ddd solid;
  padding: 30px 0 30px 40px;
}
@media screen and (max-width: 499px) {
  .timeline-content {
    border: none;
  }
  .timeline-content::before {
    display: none;
  }
}

.timeline-content:before {
  content: "";
  width: 12px;
  height: 12px;
  background: #597c8b;
  position: absolute;
  left: 96px;
  top: 33px;
  border-radius: 100%;
}

.timeline-box {
  display: flex;
  max-width: 100%;
}

.skilllist {
  top: 200px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
}

.skilllistitem {
  width: 300px;
  height: 600px;
  background-color: #262522;
  border: 1px solid #ddd;
  padding: 10px;
  margin-bottom: 10px;
  box-sizing: border-box;
  text-align: center;
}
/* @media screen and (max-width: 599px) {
  .skilllistitem {
  width: 150px;
  height: 300px;
  }
  .skilltitle {
    font-size: 1.5rem;
  }
  .skillname {
    font-size: 6px;
  }
} */

.skilltitle {
  display: block;
  position: relative;
  font-size: 3rem;
  font-weight: bold;
  color: #72736f;
  line-height: 0.8;
  padding-top: 30px;
  height: 130px;
  letter-spacing: -0.05em;
  justify-content: center;
  align-items: center;
}

.skillcontents {
  position: relative;
  color: #fff;
  font-size: 20px;
  padding-top: 10px;
  height: 60%;
  margin: 0 30px;
  line-height: 1.45;
}

.skillname {
  position: relative;
  color: #72736f;
  padding: 40px 0;
  font-size: 12px;
}

#skilltext0 {
  letter-spacing: px;
}

#skilltext01 {
  letter-spacing: -2px;
}

#skilltext02 {
  letter-spacing: -1px;
}

/* --------------------
        フッター
-------------------- */

.footer {
  margin-top: 10%;
  padding: 2rem;
  font-size: 15px;
  color: #ddd;
  background: #262522;
  border-top: 1px solid #e5e7eb;
}

.footer a:hover {
  color: #000;
}

@media (min-width: 999px) {
  .footer {
    display: flex;
    justify-content: space-between;
  }
  .navitem {
    display: flex;
  }
  .navitem li + li {
    margin-left: 16px;
  }
}
