
/*
Theme Name:maimaica theme 2022
Author:Maika
Description:This is my original theme.
Ver.2.0
*/

@charset "UTF-8";
/* ========================================
    リセットcss
========================================= */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, .s-right ul li h4, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-style: normal;
  font-weight: normal;
  font-size: 100%;
  vertical-align: baseline; }

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

html {
  overflow-y: scroll; }

blockquote, q {
  quotes: none; }

blockquote:before, blockquote:after, q:before, q:after {
  content: '';
  content: none; }

input, textarea {
  margin: 0;
  padding: 0; }

ol, ul {
  list-style: none; }

table {
  border-collapse: collapse;
  border-spacing: 0; }

caption, th {
  text-align: left; }

a:focus {
  outline: none; }

/* micro clearfix */
.cf:before,
.cf:after {
  content: " ";
  display: table; }

.cf:after {
  clear: both; }

.cf {
  *zoom: 1; }

/* ========================================
　　　　import files
 ========================================*/
/* ========================================
    共通レイアウト
========================================= */
/*関数*/
/*IE*/
_:lang(x)::-ms-backdrop, body {
  font-family: "メイリオ", Meiryo, sans-serif; }

/*IE以外*/
*[lang="en"], .menu, .m-menu a, h2, h3, .en, .h-date, .btn-en span {
  font-size: 100%;
  font-family: 'STHeiti',sans-serif; }

* {
  -webkit-font-smoothing: antialiased;
  font-size: 16px; }

body {
  background: rgba(250, 250, 250, 0.7);
  box-sizing: border-box;
  color: #333;
  width: 100%;
  height: 100%;
  overflow-x: hidden; }

p, .s-right ul li h4, dd {
  font-size: 95%;
  font-family: "游ゴシック体", YuGothic, "游ゴシック Medium", "Yu Gothic Medium", "游ゴシック", "Yu Gothic", "メイリオ", sans-serif;
  color: #2c2c2c; }

a {
  text-decoration: none;
  color: #505050;
  -webkit-transition: 0.6s;
  -moz-transition: 0.6s;
  -o-transition: 0.6s;
  -ms-transition: 0.6s;
  transition: 0.6s; }
  a:hover {
    color: #aa1c00; }

.container {
  width: 85%;
  margin: 0 auto; }

h2 {
  text-align: center;
  font-size: 25px;
  color: #aa1c00; }

h3 {
  font-size: 22px;
  color: #ff6f61;
  padding: 0 0 16px; }

/* ========================================
    ヘッダー
========================================= */
header {
  position: fixed;
  width: 100%;
  height: auto;
  line-height: 106px;
  background: -moz-linear-gradient(rgba(250, 250, 250, 0.9), rgba(250, 250, 250, 0.8) 70%, rgba(250, 250, 250, 0));
  background: -webkit-linear-gradient(rgba(250, 250, 250, 0.9), rgba(250, 250, 250, 0.8) 70%, rgba(250, 250, 250, 0));
  background: linear-gradient(rgba(250, 250, 250, 0.9), rgba(250, 250, 250, 0.8) 70%, rgba(250, 250, 250, 0));
  z-index: 10; }

.menu {
  display: flex;
  display: -ms-flexbox;
  justify-content: flex-end;
  -ms-flex-pack: end;
  align-items: center;
  flex-wrap: wrap;
  -ms-flex-wrap: wrap;
  margin: 0 auto;
  width: 85%;
  font-size: 18px; }
  .menu li {
    margin: 0 20px; }
    .menu li:nth-child(4) {
      margin-left: 40px; }
    .menu li:last-child {
      margin-right: 0; }
    .menu li:nth-child(4), .menu li:nth-child(5), .menu li:last-child {
      font-size: 22px; }
      .menu li:nth-child(4) a, .menu li:nth-child(5) a, .menu li:last-child a {
        color: #aa1c00; }
        .menu li:nth-child(4) a:hover, .menu li:nth-child(5) a:hover, .menu li:last-child a:hover {
          color: #dd2400; }

#show {
  display: none; }

#m-menu {
  display: none; }

/* ========================================
    メイン
========================================= */
/*========== main ========== */
#main {
  display: flex;
  display: -ms-flexbox;
  justify-content: center;
  -ms-flex-pack: center;
  align-items: center;
  flex-wrap: wrap;
  -ms-flex-wrap: wrap;
  -webkit-box-pack: justify;
  height: 100vh; }

h1.main-title img {
  width: 60%;
  height: auto;
  display: inline-block; }

/*========== about ========== */
#about {
  padding: 106px 0 115px 0; }

.about {
  text-align: center;
  margin: 0 auto;
  padding: 88px 0 88px; }
  .about .name {
    font-size: 110%;
    display: block;
    padding-bottom: 40px; }

.ab-wrap {
  display: flex;
  display: -ms-flexbox;
  justify-content: space-between;
  -ms-flex-pack: justify;
  align-items: flex-start;
  flex-wrap: wrap;
  -ms-flex-wrap: wrap;
  -webkit-box-pack: justify; }
  .ab-wrap h3 {
    text-align: center; }

/*========== about left========== */
.ab-left, .ab-right {
  width: calc(100%/3.5);
  text-align: left; }
  .ab-left li, .ab-right li {
    display: flex;
    display: -ms-flexbox;
    justify-content: space-between;
    -ms-flex-pack: justify;
    align-items: flex-start;
    flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    padding-bottom: 24px; }
    .ab-left li .h-date, .ab-right li .h-date {
      padding-top: 3px;
      width: 20%;
      font-style: italic; }
    .ab-left li .h-contents, .ab-right li .h-contents {
      width: 80%; }
      .ab-left li .h-contents span, .ab-right li .h-contents span {
        padding-left: 1em;
        display: block; }

/*========== about middle========== */
.ab-middle {
  width: calc(100%/3.5); }

.skill {
  display: flex;
  display: -ms-flexbox;
  justify-content: space-around;
  -ms-flex-pack: distribute;
  align-items: start;
  flex-wrap: wrap;
  -ms-flex-wrap: wrap;
  -webkit-box-pack: start; }
  .skill li {
    width: calc(100%/3);
    text-align: center;
    margin-bottom: 32px; }
    .skill li .skill-icon {
      height: 50px;
      width: auto;
      margin-bottom: 5px; }
    .skill li .review {
      width: 85px;
      height: auto; }
      .skill li .review img {
        width: 100%; }

/*========== portfolio ========== */
#portfolio {
  padding: 106px 0 115px 0; }

.pf-lists {
  display: flex;
  display: -ms-flexbox;
  justify-content: center;
  -ms-flex-pack: center;
  align-items: flex-start;
  flex-wrap: wrap;
  -ms-flex-wrap: wrap;
  padding-top: 88px;
  max-height: 1500px;
  width: 100%; }
  .pf-lists li {
    background: #efefef;
    width: calc(100%/3);
    height: auto;
    overflow: hidden;
    -webkit-filter: drop-shadow(4px 4px 10px rgba(0, 0, 0, 0.1));
    -moz-filter: drop-shadow(4px 4px 10px rgba(0, 0, 0, 0.1));
    -ms-filter: drop-shadow(4px 4px 10px rgba(0, 0, 0, 0.1));
    filter: drop-shadow(4px 4px 10px rgba(0, 0, 0, 0.1)); }
    .pf-lists li img {
      width: 100%;
      max-height: 450px;
      object-fit: cover;
      object-position: top;
      display: block;
      transition-duration: 1s; }
      .pf-lists li img:hover {
        transform: scale(1.05);
        transition-duration: 1s; }

/*========== study ========== */
#study {
  padding: 106px 0 115px 0; }

.st-banner, .st-pen {
  display: flex;
  display: -ms-flexbox;
  justify-content: space-between;
  -ms-flex-pack: justify;
  align-items: center;
  flex-wrap: wrap;
  -ms-flex-wrap: wrap;
  -webkit-box-pack: justify; }

.st-banner {
  padding: 88px 32px; }

.st-left {
  width: 45%;
  height: auto; }
  .st-left p, .st-left .s-right ul li h4, .s-right ul li .st-left h4 {
    padding: 12px 0; }

.st-right {
  width: 50%;
  height: auto; }

.st-pen {
  padding: 88px 32px; }
  .st-pen p, .st-pen .s-right ul li h4, .s-right ul li .st-pen h4 {
    padding: 12px 0; }

button {
  margin: 24px 0 0 0;
  border-radius: 60px;
  border: none;
  width: 180px;
  height: 46px;
  box-shadow: 0px 2px 10px #999;
  transition: all 0.3s ease;
  background: -moz-linear-gradient(65deg, #ffbd61, #ff6f61);
  background: -webkit-linear-gradient(65deg, #ffbd61, #ff6f61);
  background: linear-gradient(65deg, #ffbd61, #ff6f61);
  background-size: 200% 100% !important;
  background-position: 100% 0% !important;
  cursor: pointer; }
  button:hover {
    color: #fff;
    background-position: 0% !important;
    box-shadow: 0 0px 12px #BBB;
    transition: all 0.3s ease;
    transform: translateY(-1px); }
  button:active {
    transform: translateY(0);
    background-position: 50% !important; }
  button a {
    display: inline-block;
    color: #fff; }
    button a:hover {
      color: #fff; }

/* ========================================
    フッター
========================================= */
footer {
  padding: 88px 0 10px 0;
  text-align: center;
  letter-spacing: 1px;
  font-size: 70%; }

/* ========================================
    共通レイアウト
========================================= */
/*関数*/
/*IE*/
_:lang(x)::-ms-backdrop, body {
  font-family: "メイリオ", Meiryo, sans-serif; }

/*IE以外*/
*[lang="en"], .menu, .m-menu a, h2, h3, .en, .h-date, .btn-en span {
  font-size: 100%;
  font-family: 'STHeiti',sans-serif; }

* {
  -webkit-font-smoothing: antialiased;
  font-size: 16px; }

body {
  background: rgba(250, 250, 250, 0.7);
  box-sizing: border-box;
  color: #333;
  width: 100%;
  height: 100%;
  overflow-x: hidden; }

p, .s-right ul li h4, dd {
  font-size: 95%;
  font-family: "游ゴシック体", YuGothic, "游ゴシック Medium", "Yu Gothic Medium", "游ゴシック", "Yu Gothic", "メイリオ", sans-serif;
  color: #2c2c2c; }

a {
  text-decoration: none;
  color: #505050;
  -webkit-transition: 0.6s;
  -moz-transition: 0.6s;
  -o-transition: 0.6s;
  -ms-transition: 0.6s;
  transition: 0.6s; }
  a:hover {
    color: #aa1c00; }

.container {
  width: 85%;
  margin: 0 auto; }

h2 {
  text-align: center;
  font-size: 25px;
  color: #aa1c00; }

h3 {
  font-size: 22px;
  color: #ff6f61;
  padding: 0 0 16px; }

/* ========================================
    ヘッダー
========================================= */
header {
  position: fixed;
  width: 100%;
  height: auto;
  line-height: 106px;
  background: -moz-linear-gradient(rgba(250, 250, 250, 0.9), rgba(250, 250, 250, 0.8) 70%, rgba(250, 250, 250, 0));
  background: -webkit-linear-gradient(rgba(250, 250, 250, 0.9), rgba(250, 250, 250, 0.8) 70%, rgba(250, 250, 250, 0));
  background: linear-gradient(rgba(250, 250, 250, 0.9), rgba(250, 250, 250, 0.8) 70%, rgba(250, 250, 250, 0));
  z-index: 10; }

.menu {
  display: flex;
  display: -ms-flexbox;
  justify-content: flex-end;
  -ms-flex-pack: end;
  align-items: center;
  flex-wrap: wrap;
  -ms-flex-wrap: wrap;
  margin: 0 auto;
  width: 85%;
  font-size: 18px; }
  .menu li {
    margin: 0 20px; }
    .menu li:nth-child(4) {
      margin-left: 40px; }
    .menu li:last-child {
      margin-right: 0; }
    .menu li:nth-child(4), .menu li:nth-child(5), .menu li:last-child {
      font-size: 22px; }
      .menu li:nth-child(4) a, .menu li:nth-child(5) a, .menu li:last-child a {
        color: #aa1c00; }
        .menu li:nth-child(4) a:hover, .menu li:nth-child(5) a:hover, .menu li:last-child a:hover {
          color: #dd2400; }

#show {
  display: none; }

#m-menu {
  display: none; }

/* ========================================
    メイン
========================================= */
/*========== main ========== */
#main {
  display: flex;
  display: -ms-flexbox;
  justify-content: center;
  -ms-flex-pack: center;
  align-items: center;
  flex-wrap: wrap;
  -ms-flex-wrap: wrap;
  -webkit-box-pack: justify;
  height: 100vh; }

h1.main-title img {
  width: 60%;
  height: auto;
  display: inline-block; }

/*========== about ========== */
#about {
  padding: 106px 0 115px 0; }

.about {
  text-align: center;
  margin: 0 auto;
  padding: 88px 0 88px; }
  .about .name {
    font-size: 110%;
    display: block;
    padding-bottom: 40px; }

.ab-wrap {
  display: flex;
  display: -ms-flexbox;
  justify-content: space-between;
  -ms-flex-pack: justify;
  align-items: flex-start;
  flex-wrap: wrap;
  -ms-flex-wrap: wrap;
  -webkit-box-pack: justify; }
  .ab-wrap h3 {
    text-align: center; }

/*========== about left========== */
.ab-left, .ab-right {
  width: calc(100%/3.5);
  text-align: left; }
  .ab-left li, .ab-right li {
    display: flex;
    display: -ms-flexbox;
    justify-content: space-between;
    -ms-flex-pack: justify;
    align-items: flex-start;
    flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    padding-bottom: 24px; }
    .ab-left li .h-date, .ab-right li .h-date {
      padding-top: 3px;
      width: 20%;
      font-style: italic; }
    .ab-left li .h-contents, .ab-right li .h-contents {
      width: 80%; }
      .ab-left li .h-contents span, .ab-right li .h-contents span {
        padding-left: 1em;
        display: block; }

/*========== about middle========== */
.ab-middle {
  width: calc(100%/3.5); }

.skill {
  display: flex;
  display: -ms-flexbox;
  justify-content: space-around;
  -ms-flex-pack: distribute;
  align-items: start;
  flex-wrap: wrap;
  -ms-flex-wrap: wrap;
  -webkit-box-pack: start; }
  .skill li {
    width: calc(100%/3);
    text-align: center;
    margin-bottom: 32px; }
    .skill li .skill-icon {
      height: 50px;
      width: auto;
      margin-bottom: 5px; }
    .skill li .review {
      width: 85px;
      height: auto; }
      .skill li .review img {
        width: 100%; }

/*========== portfolio ========== */
#portfolio {
  padding: 106px 0 115px 0; }

.pf-lists {
  display: flex;
  display: -ms-flexbox;
  justify-content: center;
  -ms-flex-pack: center;
  align-items: flex-start;
  flex-wrap: wrap;
  -ms-flex-wrap: wrap;
  padding-top: 88px;
  max-height: 1500px;
  width: 100%; }
  .pf-lists li {
    background: #efefef;
    width: calc(100%/3);
    height: auto;
    overflow: hidden;
    -webkit-filter: drop-shadow(4px 4px 10px rgba(0, 0, 0, 0.1));
    -moz-filter: drop-shadow(4px 4px 10px rgba(0, 0, 0, 0.1));
    -ms-filter: drop-shadow(4px 4px 10px rgba(0, 0, 0, 0.1));
    filter: drop-shadow(4px 4px 10px rgba(0, 0, 0, 0.1)); }
    .pf-lists li img {
      width: 100%;
      max-height: 450px;
      object-fit: cover;
      object-position: top;
      display: block;
      transition-duration: 1s; }
      .pf-lists li img:hover {
        transform: scale(1.05);
        transition-duration: 1s; }

/*========== study ========== */
#study {
  padding: 106px 0 115px 0; }

.st-banner, .st-pen {
  display: flex;
  display: -ms-flexbox;
  justify-content: space-between;
  -ms-flex-pack: justify;
  align-items: center;
  flex-wrap: wrap;
  -ms-flex-wrap: wrap;
  -webkit-box-pack: justify; }

.st-banner {
  padding: 88px 32px; }

.st-left {
  width: 45%;
  height: auto; }
  .st-left p, .st-left .s-right ul li h4, .s-right ul li .st-left h4 {
    padding: 12px 0; }

.st-right {
  width: 50%;
  height: auto; }

.st-pen {
  padding: 88px 32px; }
  .st-pen p, .st-pen .s-right ul li h4, .s-right ul li .st-pen h4 {
    padding: 12px 0; }

button {
  margin: 24px 0 0 0;
  border-radius: 60px;
  border: none;
  width: 180px;
  height: 46px;
  box-shadow: 0px 2px 10px #999;
  transition: all 0.3s ease;
  background: -moz-linear-gradient(65deg, #ffbd61, #ff6f61);
  background: -webkit-linear-gradient(65deg, #ffbd61, #ff6f61);
  background: linear-gradient(65deg, #ffbd61, #ff6f61);
  background-size: 200% 100% !important;
  background-position: 100% 0% !important;
  cursor: pointer; }
  button:hover {
    color: #fff;
    background-position: 0% !important;
    box-shadow: 0 0px 12px #BBB;
    transition: all 0.3s ease;
    transform: translateY(-1px); }
  button:active {
    transform: translateY(0);
    background-position: 50% !important; }
  button a {
    display: inline-block;
    color: #fff; }
    button a:hover {
      color: #fff; }

/* ========================================
    フッター
========================================= */
footer {
  padding: 88px 0 10px 0;
  text-align: center;
  letter-spacing: 1px;
  font-size: 70%; }

/* ========================================
===========================================
    single.php
===========================================
========================================= */
#s-pf {
  padding-top: 106px; }

.s-h2-title {
  position: relative;
  padding-bottom: 0.2em;
  font-size: 35px;
  font-weight: bold;
  text-align: left;
  font-family: "游ゴシック体", YuGothic, "游ゴシック Medium", "Yu Gothic Medium", "游ゴシック", "Yu Gothic", "メイリオ", sans-serif;
  margin-bottom: 32px;
  border-bottom: 4px solid #efefef; }
  .s-h2-title::after {
    position: absolute;
    bottom: -4px;
    left: 0;
    z-index: 2;
    content: '';
    width: 20%;
    height: 4px;
    background-color: #aa1c00; }

/*========== s-pf-wrap ========== */
.s-pf-wrap {
  display: flex;
  display: -ms-flexbox;
  justify-content: space-between;
  -ms-flex-pack: justify;
  align-items: flex-start;
  flex-wrap: wrap;
  -ms-flex-wrap: wrap;
  -webkit-box-pack: justify;
  padding-bottom: 88px; }

.s-left {
  width: 50%;
  height: auto;
  display: block; }
  .s-left img {
    width: 100%;
    height: auto;
    margin: 0 auto;
    padding: 0;
    object-fit: contain;
    -webkit-filter: drop-shadow(4px 4px 10px rgba(0, 0, 0, 0.1));
    -moz-filter: drop-shadow(4px 4px 10px rgba(0, 0, 0, 0.1));
    -ms-filter: drop-shadow(4px 4px 10px rgba(0, 0, 0, 0.1));
    filter: drop-shadow(4px 4px 10px rgba(0, 0, 0, 0.1)); }

.s-right {
  width: 45%;
  height: auto; }
  .s-right ul {
    width: 100%; }
    .s-right ul li {
      margin-bottom: 32px; }
      .s-right ul li:last-child {
        margin-bottom: 0; }
      .s-right ul li h4 {
        display: inline-block;
        margin-bottom: 8px;
        padding: 0 10px 0 0;
        font-size: 20px;
        font-weight: bold;
        background: linear-gradient(transparent 75%, #ff6f61 50%); }

.s-nav {
  padding: 88px 0;
  overflow: hidden; }
  .s-nav p, .s-nav .s-right ul li h4, .s-right ul li .s-nav h4 {
    text-decoration: underline; }
  .s-nav .prev {
    float: left; }
    .s-nav .prev i {
      margin-right: 16px; }
  .s-nav .next {
    float: right; }
    .s-nav .next i {
      margin-left: 16px; }

/*========== s-top ========== */
.s-top {
  text-align: center;
  margin: 0 auto;
  padding: 88px 0; }

/* ========================================
===========================================
    404.php
===========================================
========================================= */
.error_container {
  height: 900px;
  display: flex; }

.error {
  font-size: 25px;
  text-align: center;
  flex: 0 1 auto;
  margin: auto; }
  .error h2 {
    font-size: 130px;
    color: #499149;
    padding: 36px; }

button.error-btn {
  margin: 48px 0 0 0;
  border-radius: 60px;
  border: none;
  width: 180px;
  height: 46px;
  box-shadow: 0px 2px 10px #999;
  transition: all 0.3s ease;
  background: -moz-linear-gradient(65deg, #ffbd61, #499149);
  background: -webkit-linear-gradient(65deg, #ffbd61, #499149);
  background: linear-gradient(65deg, #ffbd61, #499149);
  background-size: 200% 100% !important;
  background-position: 100% 0% !important;
  cursor: pointer; }
  button.error-btn:hover {
    color: #fff;
    background-position: 0% !important;
    box-shadow: 0 0px 12px #BBB;
    transition: all 0.3s ease;
    transform: translateY(-1px); }
  button.error-btn:active {
    transform: translateY(0);
    background-position: 50% !important; }
  button.error-btn a {
    display: inline-block;
    color: #fff; }
    button.error-btn a:hover {
      color: #fff; }

/* ========================================
    共通レイアウト
========================================= */
/*関数*/
/*IE*/
_:lang(x)::-ms-backdrop, body {
  font-family: "メイリオ", Meiryo, sans-serif; }

/*IE以外*/
*[lang="en"], .menu, .m-menu a, h2, h3, .en, .h-date, .btn-en span {
  font-size: 100%;
  font-family: 'STHeiti',sans-serif; }

* {
  -webkit-font-smoothing: antialiased;
  font-size: 16px; }

body {
  background: rgba(250, 250, 250, 0.7);
  box-sizing: border-box;
  color: #333;
  width: 100%;
  height: 100%;
  overflow-x: hidden; }

p, .s-right ul li h4, dd {
  font-size: 95%;
  font-family: "游ゴシック体", YuGothic, "游ゴシック Medium", "Yu Gothic Medium", "游ゴシック", "Yu Gothic", "メイリオ", sans-serif;
  color: #2c2c2c; }

a {
  text-decoration: none;
  color: #505050;
  -webkit-transition: 0.6s;
  -moz-transition: 0.6s;
  -o-transition: 0.6s;
  -ms-transition: 0.6s;
  transition: 0.6s; }
  a:hover {
    color: #aa1c00; }

.container {
  width: 85%;
  margin: 0 auto; }

h2 {
  text-align: center;
  font-size: 25px;
  color: #aa1c00; }

h3 {
  font-size: 22px;
  color: #ff6f61;
  padding: 0 0 16px; }

/* ========================================
    ヘッダー
========================================= */
header {
  position: fixed;
  width: 100%;
  height: auto;
  line-height: 106px;
  background: -moz-linear-gradient(rgba(250, 250, 250, 0.9), rgba(250, 250, 250, 0.8) 70%, rgba(250, 250, 250, 0));
  background: -webkit-linear-gradient(rgba(250, 250, 250, 0.9), rgba(250, 250, 250, 0.8) 70%, rgba(250, 250, 250, 0));
  background: linear-gradient(rgba(250, 250, 250, 0.9), rgba(250, 250, 250, 0.8) 70%, rgba(250, 250, 250, 0));
  z-index: 10; }

.menu {
  display: flex;
  display: -ms-flexbox;
  justify-content: flex-end;
  -ms-flex-pack: end;
  align-items: center;
  flex-wrap: wrap;
  -ms-flex-wrap: wrap;
  margin: 0 auto;
  width: 85%;
  font-size: 18px; }
  .menu li {
    margin: 0 20px; }
    .menu li:nth-child(4) {
      margin-left: 40px; }
    .menu li:last-child {
      margin-right: 0; }
    .menu li:nth-child(4), .menu li:nth-child(5), .menu li:last-child {
      font-size: 22px; }
      .menu li:nth-child(4) a, .menu li:nth-child(5) a, .menu li:last-child a {
        color: #aa1c00; }
        .menu li:nth-child(4) a:hover, .menu li:nth-child(5) a:hover, .menu li:last-child a:hover {
          color: #dd2400; }

#show {
  display: none; }

#m-menu {
  display: none; }

/* ========================================
    メイン
========================================= */
/*========== main ========== */
#main {
  display: flex;
  display: -ms-flexbox;
  justify-content: center;
  -ms-flex-pack: center;
  align-items: center;
  flex-wrap: wrap;
  -ms-flex-wrap: wrap;
  -webkit-box-pack: justify;
  height: 100vh; }

h1.main-title img {
  width: 60%;
  height: auto;
  display: inline-block; }

/*========== about ========== */
#about {
  padding: 106px 0 115px 0; }

.about {
  text-align: center;
  margin: 0 auto;
  padding: 88px 0 88px; }
  .about .name {
    font-size: 110%;
    display: block;
    padding-bottom: 40px; }

.ab-wrap {
  display: flex;
  display: -ms-flexbox;
  justify-content: space-between;
  -ms-flex-pack: justify;
  align-items: flex-start;
  flex-wrap: wrap;
  -ms-flex-wrap: wrap;
  -webkit-box-pack: justify; }
  .ab-wrap h3 {
    text-align: center; }

/*========== about left========== */
.ab-left, .ab-right {
  width: calc(100%/3.5);
  text-align: left; }
  .ab-left li, .ab-right li {
    display: flex;
    display: -ms-flexbox;
    justify-content: space-between;
    -ms-flex-pack: justify;
    align-items: flex-start;
    flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    padding-bottom: 24px; }
    .ab-left li .h-date, .ab-right li .h-date {
      padding-top: 3px;
      width: 20%;
      font-style: italic; }
    .ab-left li .h-contents, .ab-right li .h-contents {
      width: 80%; }
      .ab-left li .h-contents span, .ab-right li .h-contents span {
        padding-left: 1em;
        display: block; }

/*========== about middle========== */
.ab-middle {
  width: calc(100%/3.5); }

.skill {
  display: flex;
  display: -ms-flexbox;
  justify-content: space-around;
  -ms-flex-pack: distribute;
  align-items: start;
  flex-wrap: wrap;
  -ms-flex-wrap: wrap;
  -webkit-box-pack: start; }
  .skill li {
    width: calc(100%/3);
    text-align: center;
    margin-bottom: 32px; }
    .skill li .skill-icon {
      height: 50px;
      width: auto;
      margin-bottom: 5px; }
    .skill li .review {
      width: 85px;
      height: auto; }
      .skill li .review img {
        width: 100%; }

/*========== portfolio ========== */
#portfolio {
  padding: 106px 0 115px 0; }

.pf-lists {
  /*display: flex;
  display: -ms-flexbox;
  justify-content: center;
  -ms-flex-pack: center;
  align-items: flex-start;
  flex-wrap: wrap;
  -ms-flex-wrap: wrap;
  */
  column-count: 3;
  column-gap: 0;
  
  padding-top: 88px;
  max-height: 1500px;
  width: 100%; }

  .pf-lists li {
  -webkit-column-break-inside: avoid;
  page-break-inside: avoid;
  break-inside: avoid;

    background: #efefef;
    /*width: calc(100%/3);
    */height: auto;
    overflow: hidden;
    -webkit-filter: drop-shadow(4px 4px 10px rgba(0, 0, 0, 0.1));
    -moz-filter: drop-shadow(4px 4px 10px rgba(0, 0, 0, 0.1));
    -ms-filter: drop-shadow(4px 4px 10px rgba(0, 0, 0, 0.1));
    filter: drop-shadow(4px 4px 10px rgba(0, 0, 0, 0.1)); }
    .pf-lists li img {
      width: 100%;
      max-height: 450px;
      object-fit: cover;
      object-position: top;
      display: block;
      transition-duration: 1s; }
      .pf-lists li img:hover {
        transform: scale(1.05);
        transition-duration: 1s; }



        @media (max-width: 800px) {
          .pf-lists {
            column-count: 2;
          }
        }
        
        @media (max-width: 480px) {
          .pf-lists {
            column-count: 1;
          }
        }       
/*========== study ========== */
#study {
  padding: 106px 0 115px 0; }

.st-banner, .st-pen {
  display: flex;
  display: -ms-flexbox;
  justify-content: space-between;
  -ms-flex-pack: justify;
  align-items: center;
  flex-wrap: wrap;
  -ms-flex-wrap: wrap;
  -webkit-box-pack: justify; }

.st-banner {
  padding: 88px 32px; }

.st-left {
  width: 45%;
  height: auto; }
  .st-left p, .st-left .s-right ul li h4, .s-right ul li .st-left h4 {
    padding: 12px 0; }

.st-right {
  width: 50%;
  height: auto; }

.st-pen {
  padding: 88px 32px; }
  .st-pen p, .st-pen .s-right ul li h4, .s-right ul li .st-pen h4 {
    padding: 12px 0; }

button {
  margin: 24px 0 0 0;
  border-radius: 60px;
  border: none;
  width: 180px;
  height: 46px;
  box-shadow: 0px 2px 10px #999;
  transition: all 0.3s ease;
  background: -moz-linear-gradient(65deg, #ffbd61, #ff6f61);
  background: -webkit-linear-gradient(65deg, #ffbd61, #ff6f61);
  background: linear-gradient(65deg, #ffbd61, #ff6f61);
  background-size: 200% 100% !important;
  background-position: 100% 0% !important;
  cursor: pointer; }
  button:hover {
    color: #fff;
    background-position: 0% !important;
    box-shadow: 0 0px 12px #BBB;
    transition: all 0.3s ease;
    transform: translateY(-1px); }
  button:active {
    transform: translateY(0);
    background-position: 50% !important; }
  button a {
    display: inline-block;
    color: #fff; }
    button a:hover {
      color: #fff; }

/* ========================================
    フッター
========================================= */
footer {
  padding: 88px 0 10px 0;
  text-align: center;
  letter-spacing: 1px;
  font-size: 70%; }

/* ========================================
    共通レイアウト
========================================= */
/*関数*/
/*IE*/
_:lang(x)::-ms-backdrop, body {
  font-family: "メイリオ", Meiryo, sans-serif; }

/*IE以外*/
*[lang="en"], .menu, .m-menu a, h2, h3, .en, .h-date, .btn-en span {
  font-size: 100%;
  font-family: 'STHeiti',sans-serif; }

* {
  -webkit-font-smoothing: antialiased;
  font-size: 16px; }

body {
  background: rgba(250, 250, 250, 0.7);
  box-sizing: border-box;
  color: #333;
  width: 100%;
  height: 100%;
  overflow-x: hidden; }

p, .s-right ul li h4, dd {
  font-size: 95%;
  font-family: "游ゴシック体", YuGothic, "游ゴシック Medium", "Yu Gothic Medium", "游ゴシック", "Yu Gothic", "メイリオ", sans-serif;
  color: #2c2c2c; }

a {
  text-decoration: none;
  color: #505050;
  -webkit-transition: 0.6s;
  -moz-transition: 0.6s;
  -o-transition: 0.6s;
  -ms-transition: 0.6s;
  transition: 0.6s; }
  a:hover {
    color: #aa1c00; }

.container {
  width: 85%;
  margin: 0 auto; }

h2 {
  text-align: center;
  font-size: 25px;
  color: #aa1c00; }

h3 {
  font-size: 22px;
  color: #ff6f61;
  padding: 0 0 16px; }

/* ========================================
    ヘッダー
========================================= */
header {
  position: fixed;
  width: 100%;
  height: auto;
  line-height: 106px;
  background: -moz-linear-gradient(rgba(250, 250, 250, 0.9), rgba(250, 250, 250, 0.8) 70%, rgba(250, 250, 250, 0));
  background: -webkit-linear-gradient(rgba(250, 250, 250, 0.9), rgba(250, 250, 250, 0.8) 70%, rgba(250, 250, 250, 0));
  background: linear-gradient(rgba(250, 250, 250, 0.9), rgba(250, 250, 250, 0.8) 70%, rgba(250, 250, 250, 0));
  z-index: 10; }

.menu {
  display: flex;
  display: -ms-flexbox;
  justify-content: flex-end;
  -ms-flex-pack: end;
  align-items: center;
  flex-wrap: wrap;
  -ms-flex-wrap: wrap;
  margin: 0 auto;
  width: 85%;
  font-size: 18px; }
  .menu li {
    margin: 0 20px; }
    .menu li:nth-child(4) {
      margin-left: 40px; }
    .menu li:last-child {
      margin-right: 0; }
    .menu li:nth-child(4), .menu li:nth-child(5), .menu li:last-child {
      font-size: 22px; }
      .menu li:nth-child(4) a, .menu li:nth-child(5) a, .menu li:last-child a {
        color: #aa1c00; }
        .menu li:nth-child(4) a:hover, .menu li:nth-child(5) a:hover, .menu li:last-child a:hover {
          color: #dd2400; }

#show {
  display: none; }

#m-menu {
  display: none; }

/* ========================================
    メイン
========================================= */
/*========== main ========== */
#main {
  display: flex;
  display: -ms-flexbox;
  justify-content: center;
  -ms-flex-pack: center;
  align-items: center;
  flex-wrap: wrap;
  -ms-flex-wrap: wrap;
  -webkit-box-pack: justify;
  height: 100vh; }

h1.main-title img {
  width: 60%;
  height: auto;
  display: inline-block; }

/*========== about ========== */
#about {
  padding: 106px 0 115px 0; }

.about {
  text-align: center;
  margin: 0 auto;
  padding: 88px 0 88px; }
  .about .name {
    font-size: 110%;
    display: block;
    padding-bottom: 40px; }

.ab-wrap {
  display: flex;
  display: -ms-flexbox;
  justify-content: space-between;
  -ms-flex-pack: justify;
  align-items: flex-start;
  flex-wrap: wrap;
  -ms-flex-wrap: wrap;
  -webkit-box-pack: justify; }
  .ab-wrap h3 {
    text-align: center; }

/*========== about left========== */
.ab-left, .ab-right {
  width: calc(100%/3.5);
  text-align: left; }
  .ab-left li, .ab-right li {
    display: flex;
    display: -ms-flexbox;
    justify-content: space-between;
    -ms-flex-pack: justify;
    align-items: flex-start;
    flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    padding-bottom: 24px; }
    .ab-left li .h-date, .ab-right li .h-date {
      padding-top: 3px;
      width: 20%;
      font-style: italic; }
    .ab-left li .h-contents, .ab-right li .h-contents {
      width: 80%; }
      .ab-left li .h-contents span, .ab-right li .h-contents span {
        padding-left: 1em;
        display: block; }

/*========== about middle========== */
.ab-middle {
  width: calc(100%/3.5); }

.skill {
  display: flex;
  display: -ms-flexbox;
  justify-content: space-around;
  -ms-flex-pack: distribute;
  align-items: start;
  flex-wrap: wrap;
  -ms-flex-wrap: wrap;
  -webkit-box-pack: start; }
  .skill li {
    width: calc(100%/3);
    text-align: center;
    margin-bottom: 32px; }
    .skill li .skill-icon {
      height: 50px;
      width: auto;
      margin-bottom: 5px; }
    .skill li .review {
      width: 85px;
      height: auto; }
      .skill li .review img {
        width: 100%; }

/*========== portfolio ========== */
#portfolio {
  padding: 106px 0 115px 0; }

.pf-lists {
  display: flex;
  display: -ms-flexbox;
  justify-content: center;
  -ms-flex-pack: center;
  align-items: flex-start;
  flex-wrap: wrap;
  -ms-flex-wrap: wrap;
  padding-top: 88px;
  max-height: 1500px;
  width: 100%; }
  .pf-lists li {
    background: #efefef;
    width: calc(100%/3);
    height: auto;
    overflow: hidden;
    -webkit-filter: drop-shadow(4px 4px 10px rgba(0, 0, 0, 0.1));
    -moz-filter: drop-shadow(4px 4px 10px rgba(0, 0, 0, 0.1));
    -ms-filter: drop-shadow(4px 4px 10px rgba(0, 0, 0, 0.1));
    filter: drop-shadow(4px 4px 10px rgba(0, 0, 0, 0.1)); }
    .pf-lists li img {
      width: 100%;
      max-height: 450px;
      object-fit: cover;
      object-position: top;
      display: block;
      transition-duration: 1s; }
      .pf-lists li img:hover {
        transform: scale(1.05);
        transition-duration: 1s; }

/*========== study ========== */
#study {
  padding: 106px 0 115px 0; }

.st-banner, .st-pen {
  display: flex;
  display: -ms-flexbox;
  justify-content: space-between;
  -ms-flex-pack: justify;
  align-items: center;
  flex-wrap: wrap;
  -ms-flex-wrap: wrap;
  -webkit-box-pack: justify; }

.st-banner {
  padding: 88px 32px; }

.st-left {
  width: 45%;
  height: auto; }
  .st-left p, .st-left .s-right ul li h4, .s-right ul li .st-left h4 {
    padding: 12px 0; }

.st-right {
  width: 50%;
  height: auto; }

.st-pen {
  padding: 88px 32px; }
  .st-pen p, .st-pen .s-right ul li h4, .s-right ul li .st-pen h4 {
    padding: 12px 0; }

button {
  margin: 24px 0 0 0;
  border-radius: 60px;
  border: none;
  width: 180px;
  height: 46px;
  box-shadow: 0px 2px 10px #999;
  transition: all 0.3s ease;
  background: -moz-linear-gradient(65deg, #ffbd61, #ff6f61);
  background: -webkit-linear-gradient(65deg, #ffbd61, #ff6f61);
  background: linear-gradient(65deg, #ffbd61, #ff6f61);
  background-size: 200% 100% !important;
  background-position: 100% 0% !important;
  cursor: pointer; }
  button:hover {
    color: #fff;
    background-position: 0% !important;
    box-shadow: 0 0px 12px #BBB;
    transition: all 0.3s ease;
    transform: translateY(-1px); }
  button:active {
    transform: translateY(0);
    background-position: 50% !important; }
  button a {
    display: inline-block;
    color: #fff; }
    button a:hover {
      color: #fff; }

/* ========================================
    フッター
========================================= */
footer {
  padding: 88px 0 10px 0;
  text-align: center;
  letter-spacing: 1px;
  font-size: 70%; }

/* ========================================
===========================================
    single.php
===========================================
========================================= */
#s-pf {
  padding-top: 106px; }

.s-h2-title {
  position: relative;
  padding-bottom: 0.2em;
  font-size: 35px;
  font-weight: bold;
  text-align: left;
  font-family: "游ゴシック体", YuGothic, "游ゴシック Medium", "Yu Gothic Medium", "游ゴシック", "Yu Gothic", "メイリオ", sans-serif;
  margin-bottom: 32px;
  border-bottom: 4px solid #efefef; }
  .s-h2-title::after {
    position: absolute;
    bottom: -4px;
    left: 0;
    z-index: 2;
    content: '';
    width: 20%;
    height: 4px;
    background-color: #aa1c00; }

/*========== s-pf-wrap ========== */
.s-pf-wrap {
  display: flex;
  display: -ms-flexbox;
  justify-content: space-between;
  -ms-flex-pack: justify;
  align-items: flex-start;
  flex-wrap: wrap;
  -ms-flex-wrap: wrap;
  -webkit-box-pack: justify;
  padding-bottom: 88px; }

.s-left {
  width: 50%;
  height: auto;
  display: block; }
  .s-left img {
    width: 100%;
    height: auto;
    margin: 0 auto;
    padding: 0;
    object-fit: contain;
    -webkit-filter: drop-shadow(4px 4px 10px rgba(0, 0, 0, 0.1));
    -moz-filter: drop-shadow(4px 4px 10px rgba(0, 0, 0, 0.1));
    -ms-filter: drop-shadow(4px 4px 10px rgba(0, 0, 0, 0.1));
    filter: drop-shadow(4px 4px 10px rgba(0, 0, 0, 0.1)); }

.s-right {
  width: 45%;
  height: auto; }
  .s-right ul {
    width: 100%; }
    .s-right ul li {
      margin-bottom: 32px; }
      .s-right ul li:last-child {
        margin-bottom: 0; }
      .s-right ul li h4 {
        display: inline-block;
        margin-bottom: 8px;
        padding: 0 10px 0 0;
        font-size: 20px;
        font-weight: bold;
        background: linear-gradient(transparent 75%, #ff6f61 50%); }

.s-nav {
  padding: 88px 0;
  overflow: hidden; }
  .s-nav p, .s-nav .s-right ul li h4, .s-right ul li .s-nav h4 {
    text-decoration: underline; }
  .s-nav .prev {
    float: left; }
    .s-nav .prev i {
      margin-right: 16px; }
  .s-nav .next {
    float: right; }
    .s-nav .next i {
      margin-left: 16px; }

/*========== s-top ========== */
.s-top {
  text-align: center;
  margin: 0 auto;
  padding: 88px 0; }

/* ========================================
===========================================
    404.php
===========================================
========================================= */
.error_container {
  height: 900px;
  display: flex; }

.error {
  font-size: 25px;
  text-align: center;
  flex: 0 1 auto;
  margin: auto; }
  .error h2 {
    font-size: 130px;
    color: #499149;
    padding: 36px; }

button.error-btn {
  margin: 48px 0 0 0;
  border-radius: 60px;
  border: none;
  width: 180px;
  height: 46px;
  box-shadow: 0px 2px 10px #999;
  transition: all 0.3s ease;
  background: -moz-linear-gradient(65deg, #ffbd61, #499149);
  background: -webkit-linear-gradient(65deg, #ffbd61, #499149);
  background: linear-gradient(65deg, #ffbd61, #499149);
  background-size: 200% 100% !important;
  background-position: 100% 0% !important;
  cursor: pointer; }
  button.error-btn:hover {
    color: #fff;
    background-position: 0% !important;
    box-shadow: 0 0px 12px #BBB;
    transition: all 0.3s ease;
    transform: translateY(-1px); }
  button.error-btn:active {
    transform: translateY(0);
    background-position: 50% !important; }
  button.error-btn a {
    display: inline-block;
    color: #fff; }
    button.error-btn a:hover {
      color: #fff; }

/*========================================
    タブレット
========================================= */
@media all and (max-width: 1024px) {
  /* ========================================
      index.php
  ========================================= */
  .container {
    width: 95%; }

  .menu {
    width: 100%; }

  nav {
    width: 95%;
    margin: 0 auto; }

  /*about*/
  .ab-left li .h-date, .ab-left li .h-contents, .ab-right li .h-date, .ab-right li .h-contents {
    width: 100%; }

  /* about middle */
  .skill {
    display: flex;
    display: -ms-flexbox;
    justify-content: space-around;
    -ms-flex-pack: distribute;
    align-items: start;
    flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    -webkit-box-pack: start; }
    .skill li {
      width: calc(100%/2);
      text-align: center;
      margin-bottom: 32px; }
      .skill li .skill-icon {
        height: 50px;
        width: auto;
        margin-bottom: 5px; }
      .skill li .review {
        width: 85px;
        height: auto; }
        .skill li .review img {
          width: 100%; }

  /*portfolio*/
  .pf-lists {
    display: flex;
    display: -ms-flexbox;
    justify-content: start;
    -ms-flex-pack: start;
    align-items: flex-start;
    flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    height: auto; }
    .pf-lists li {
      margin: 0; }
      .pf-lists li img {
        width: 100%;
        max-height: 300px; }

  /* ========================================
      404.php
  ========================================= */
  .error_container {
    height: 1000px;
    display: flex; } }
/*========================================
    スマートフォン
========================================= */
@media all and (max-width: 640px) {
  .container {
    width: 98%; }

  nav {
    width: 98%; }

  h3 {
    text-align: center; }

  p, .s-right ul li h4, dd {
    font-size: 100%; }

  /* ========================================
      index.php
  ========================================= */
  /*==========
  header(ハンバーガーメニュー)
  ========== */
  .h-menu, header {
    display: none; }

  #m-menu {
    display: block;
    padding: 60px 0; }

  #show {
    display: block;
    position: fixed;
    top: 10px;
    right: 10px;
    z-index: 1;
    filter: drop-shadow(4px 4px 5px rgba(250, 250, 250, 0.8));
    padding: 5px; }

  #cover {
    position: fixed;
    background: #000;
    opacity: 0.6;
    width: 100%;
    height: 100vh;
    top: 0;
    left: 0;
    z-index: 2;
    display: none; }

  #m-menu {
    position: fixed;
    top: 0;
    right: -100%;
    background: rgba(170, 28, 0, 0.9);
    box-sizing: border-box;
    width: 60%;
    min-height: 100%;
    z-index: 3;
    transition: 0.8s;
    font-size: 30px;
    text-align: center; }
    #m-menu h4 {
      padding-bottom: 20px;
      font-weight: bold;
      color: #efefef; }
    #m-menu a {
      font-family: STHeiti,sans-serif; }

  .m-menu li {
    text-align: center; }
    .m-menu li a {
      color: #efefef;
      display: block;
      padding: 20px;
      font-size: 30px;
      display: block; }
      .m-menu li a:hover {
        background: #efefef;
        color: #aa1c00; }

  #show, #hide {
    font-size: 35px;
    float: right;
    cursor: pointer;
    color: #aa1c00; }

  #hide {
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 5px;
    color: #fff; }

  body.menu-open {
    overflow-y: hidden; }

  body.menu-open #cover {
    display: block; }

  body.menu-open #m-menu {
    right: 0; }

  /*========== main ========== */
  h1.main-title img {
    width: 100%; }

  /*========== about========== */
  .about p, .about .s-right ul li h4, .s-right ul li .about h4 {
    text-align: center; }

  /*========== about left right========== */
  .ab-left, .ab-right {
    width: 100%;
    padding-bottom: 32px; }
    .ab-left li, .ab-right li {
      padding-bottom: 16px; }
      .ab-left li .h-date, .ab-right li .h-date {
        width: 20%; }
      .ab-left li .h-contents, .ab-right li .h-contents {
        width: 80%; }

  /*========== about middle========== */
  .ab-middle {
    width: 100%;
    padding-bottom: 32px; }

  .skill {
    justify-content: space-between;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify; }
    .skill li {
      width: 90px;
      margin: 0 12px 12px 0; }

  /*========== portfolio ========== */
  #portfolio {
    padding: 53px 0 57.5px 0; }

  .pf-lists {
    height: auto; }
    .pf-lists li {
      margin: 0;
      width: 50%; }
      .pf-lists li img {
        width: 100%;
        max-height: 200px; }

  /*========== study ========== */
  #study {
    width: 98%; }

  .st-banner, .st-pen {
    padding: 53px 0 57.5px 0; }

  .st-left {
    width: 100%;
    height: auto; }
    .st-left p, .st-left .s-right ul li h4, .s-right ul li .st-left h4 {
      padding: 12px 0; }

  .st-right {
    display: none; }

  button, button.error-btn {
    width: 100%;
    height: 55px; }
    button a, button.error-btn a {
      font-size: 120%; }

  /* ========================================
      single.php
  ========================================= */
  #s-pf {
    padding-top: 106px; }

  .s-h2-title {
    font-size: 25px; }

  /*.s-category{margin-bottom:32px;
      p{margin-right:24px;}
  }*/
  /*========== s-pf-wrap ========== */
  .s-pf-wrap {
    padding-bottom: 40px; }

  .s-left {
    width: 100%;
    height: auto; }
    .s-left img {
      max-width: 100%;
      height: auto; }

  .s-right {
    margin-top: 32px;
    width: 100%; }
    .s-right p, .s-right ul li h4 {
      font-size: 100%; }

  .s-nav {
    padding: 40px 0; }

  .prev, .next {
    padding: 16px 0; }

  /*========== study ========== */
  .s-top {
    padding: 40px 0; }

  /* ========================================
      404.php
  ========================================= */
  .error_container {
    height: 700px;
    display: flex; }

  .error {
    font-size: 20px;
    text-align: center;
    flex: 0 1 auto;
    margin: auto; }
    .error h2 {
      font-size: 70px;
      color: #499149;
      padding: 36px; } }
