@charset "UTF-8";
/*
Theme Name: azaz_portfolio
*/

html {
  visibility: hidden;
  /* scroll-behavior: smooth; */
}

html.wf-active,
html.loading-delay {
  visibility: visible;
}

* {
  margin: 0;
  padding: 0;
}

body {
  background-color: #f5f5f5;
  font-family: oswald, source-han-sans-japanese, sans-serif;
  margin: 0;
  padding: 0;
}

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

section {
  padding: 0 20px;
  width: 100%;
  margin-top: clamp(30px, 9vw, 200px);
}

li {
  list-style: none;
}

/* フォーカス非表示 */
textarea:focus,
input:focus {
  outline: none;
}

/* Contact自動入力背景色設定 */
input:-webkit-autofill {
  box-shadow: 0 0 0 1000px #f5f5f5 inset;
}

.sp-link {
  display: none !important;
}

.vanta-canvas {
  opacity: 0.5;
}

#bird {
  display: grid;
  place-items: center;
  min-height: 850px;
  position: relative;
}

.pc_br {
  display: block;
}

header {
  position: absolute;
  width: 100%;
  z-index: 20;
}

.menu {
  position: relative;
  height: 50px;
  max-width: 100%;
  margin: 0 auto;
}

.menu > li {
  float: right;
  width: 15%;
  height: 50px;
  line-height: 50px;
}

.logo {
  width: 60px;
  margin-top: 20px;
}

.menu > li a {
  display: block;
  color: #000;
}

ul.menu__second-level {
  visibility: hidden;
  opacity: 0;
  z-index: 1;
}

.menu > li:hover {
  -webkit-transition: all 0.5s;
  transition: all 0.5s;
}

.menu__second-level li {
  border-bottom: 1px solid #328ce6;
  width: 60%;
}

.menu__second-level li a:hover {
  background: rgba(50, 140, 230, 0.2);
}

/* floatクリア */
.menu:before,
.menu:after {
  content: " ";
  display: table;
}

.menu:after {
  clear: both;
}

.menu {
  *zoom: 1;
}

.menu > li.menu__single {
  position: relative;
}

li.menu__single ul.menu__second-level {
  position: absolute;
  top: 40px;
  width: 100%;
  -webkit-transition: all 0.2s ease;
  transition: all 0.2s ease;
  margin-top: 20px;
}

li.menu__single:hover ul.menu__second-level {
  top: 60px;
  visibility: visible;
  opacity: 1;
  margin-top: 20px;
}

.main_logo {
  font-weight: 900;
  position: absolute;
  top: 2%;
  left: 10%;
  font-size: clamp(130px, 18vw, 300px);
  writing-mode: vertical-rl;
  letter-spacing: 20px;
}

.min_logo {
  position: absolute;
  top: 5%;
  left: 42.8%;
}

.min_logo span:nth-of-type(1) {
  font-size: clamp(16px, 2vw, 28px);
  display: block;
}

.min_logo span:nth-of-type(2) {
  line-height: clamp(12px, 2vw, 24px);
  letter-spacing: 5px;
  font-weight: bold;
  font-size: clamp(28px, 4vw, 55px);
}

.catchcopy {
  position: absolute;
  top: clamp(110px, 14vw, 160px);
  left: 42.8%;
  font-size: clamp(18px, 4vw, 45px);
  font-family: source-han-serif-japanese, serif;
  line-height: clamp(30px, 5vw, 60px);
}

.service {
  position: absolute;
  top: clamp(300px, 35vw, 450px);
  left: 43%;
}

.service p:nth-of-type(1) {
  margin-bottom: 20px;
  left: 42.8%;
}

.service p:nth-of-type(2) {
  font-size: clamp(16px, 2vw, 28px);
  font-family: source-han-serif-japanese, serif;
  line-height: clamp(28px, 3vw, 40px);
}

.triangle {
  width: clamp(130px, 16vw, 200px);
  top: clamp(200px, 33vw, 420px);
  left: 65%;
  position: absolute;
}

.text {
  position: absolute;
  width: 40%;
  top: clamp(450px, 50vw, 650px);
  left: 43.3%;
  text-align: justify;
}

/* skill */

.wrapper {
  max-width: 1000px;
  margin: 0 auto;
}

.flex_coding {
  width: 95%;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-evenly;
  gap: clamp(16px, 2vw, 30px);
}

.flex_items {
  width: 28%;
  text-align: center;
  margin-bottom: 50px;
}

.flex_items_mleft {
  margin-left: clamp(10px, 2vw, 30px);
}

.flex_items img {
  width: clamp(50px, 10vw, 140px);
}

.flex_items p:nth-of-type(1) {
  padding: 10px 0;
  font-size: clamp(16px, 1.8vw, 22px);
  color: #328ce6;
}

.skill {
  font-size: clamp(18px, 2vw, 25px);
}

/* about */

.btnshine {
  position: relative;
  display: inline-block;
  padding: 10px 20px;
  text-decoration: none;
  outline: none;
  overflow: hidden;
}

/*キラッと光る*/
.btnshine::before {
  content: "";
  position: absolute;
  top: 0;
  left: -75%;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    to right,
    rgba(255, 255, 255, 0) 0%,
    rgba(50, 140, 230, 0.3) 100%
  );
  transform: skewX(-25deg);
  z-index: 40;
}

/*hoverした際の移動のアニメーション*/
.btnshine:hover::before {
  animation: shine 1.3s;
}

@keyframes shine {
  100% {
    left: 125%;
  }
}

.a-link {
  color: #328ce6;
  font-size: 12px;
}

.a-box {
  text-align: center;
}

.about_flex {
  display: flex;
  justify-content: space-between;
}

.about_left {
  width: 65%;
  display: flex;
  flex-flow: column;
  justify-content: space-between;
}

.about_right {
  width: 35%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.circle {
  position: relative;
  background-color: rgba(50, 140, 230, 0.2);
  width: clamp(230px, 19vw, 270px);
  height: clamp(230px, 19vw, 270px);
  line-height: clamp(230px, 19vw, 270px);
  border-radius: 50%;
}

.circle img {
  position: absolute;
  width: clamp(180px, 15vw, 200px);
  height: clamp(180px, 15vw, 200px);
  object-fit: cover;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
}

.about_left h2 {
  font-size: 28px;
  font-family: source-han-serif-japanese, serif;
  font-weight: 300;
  padding: 15px 0;
}

.about_left p:nth-of-type(2) {
  text-align: justify;
}
.title {
  font-size: clamp(16px, 1.5vw, 20px);
}

.about_left p:nth-of-type(3) {
  font-size: 28px;
  text-align: right;
}

.comment {
  text-align: center;
  margin-top: clamp(30px, 4vw, 50px);
}

.white {
  border: 3px solid #000;
  padding: 20px 30px;
  font-size: clamp(16px, 1.5vw, 20px);
  font-weight: bold;
}

.blue {
  color: #328ce6;
  letter-spacing: 7px;
  font-weight: 400;
}

.black {
  background-color: #000;
  padding: 5px 0;
  border-left: #000 3px solid;
  border-right: #000 3px solid;
  border-bottom: #000 3px solid;
}

.b {
  color: #f5f5f5;
}

.black:hover {
  background-color: rgba(50, 140, 230, 0.2);
  transition: all 0.5s ease 0s;
}

.b:hover {
  color: #000;
}

/* 矢印 */
.arrow {
  position: relative;
  display: inline-block;
  padding: 0 0 0 16px;
  vertical-align: middle;
}
.arrow::before,
.arrow::after {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  margin: auto;
  content: "";
  vertical-align: middle;
}

.arrow_design::before {
  top: -3px;
  left: 7px;
  width: 9px;
  height: 9px;
  border-top: 1px solid;
  border-right: 1px solid;
  -webkit-transform: rotate(45deg);
  transform: rotate(45deg);
}

/* skill_icons */

.sw_flex {
  display: flex;
  flex-wrap: wrap;
  text-align: center;
  justify-content: space-between;
  padding-top: clamp(30px, 4vw, 50px);
}

.sw_flex img {
  width: clamp(30px, 8vw, 100px);
}

#works img {
  width: clamp(100px, 14vw, 200px);
  height: clamp(100px, 14vw, 200px);
  object-fit: cover;
  margin: 5px;
}

#works {
  font-size: clamp(50px, 15vw, 200px);
}

.readmore,
.side_btn .b,
.thanks_btn .b {
  width: clamp(100px, 15vw, 200px);
  font-size: clamp(16px, 1.5vw, 20px);
  text-align: center;
  margin: 60px auto 80px auto;
  font-weight: 400;
}

.readmore .black,
.side_btn .black,
.thanks_btn .black {
  border: 2px solid #000;
}

/* footer */

footer {
  padding: 0 20px;
  width: 100%;
}

.footer_flex {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.footer_left {
  width: 50%;
}

.footer_right {
  width: 35%;
  display: flex;
  flex-flow: column;
  justify-content: space-between;
}

.footer_right a {
  width: 100%;
  border: 2px solid #000;
  margin: 25px auto;
  text-align: center;
  padding: 20px 25px;
  color: #000;
}

.footer_right a:hover {
  background-color: #000;
  color: #f5f5f5;
  transition: all 0.5s ease 0s;
}

.footer_right p:nth-of-type(3) {
  font-size: clamp(28px, 3vw, 40px);
  font-weight: bold;
}

.arrow_fdesign::before {
  top: -3px;
  left: 20px;
  width: 5px;
  height: 5px;
  border-top: 2px solid;
  border-right: 2px solid;
  -webkit-transform: rotate(45deg);
  transform: rotate(45deg);
}

.back-to-top {
  display: none;
  position: fixed;
  right: 5%;
  bottom: 5%;
  color: #f5f5f5;
  padding: 2rem;
  border-radius: 50%;
  display: inline-block;
  text-decoration: none;
}
.back-to-top::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: inline-block;
  width: clamp(40px, 6vw, 70px);
  height: clamp(40px, 6vw, 70px);
  background-color: #000;
  border-radius: 50%;
  z-index: -1;
}

.copyright {
  text-align: center;
  margin-top: clamp(50px, 8vw, 100px);
  margin-bottom: 15px;
}

.sp-br {
  display: none;
}

/* single.php */

#container {
  padding: 0 20px;
  display: flex;
}

#container main {
  width: 60%;
}

.article-title {
  font-size: clamp(22px, 2.5vw, 32px);
}

.article-works img {
  width: clamp(300px, 45vw, 600px);
  height: auto;
}

.article-works {
  width: 100%;
  text-align: center;
  margin: 20px 0;
}

.post-link {
  width: 300px;
  display: flex;
  justify-content: space-between;
  margin: 20px auto 80px auto;
  color: #328ce6;
  font-size: clamp(16px, 1.5vw, 20px);
  font-weight: bold;
}

.text_single {
  padding: 10px 0;
  text-align: justify;
}

/* sidebar.php */

#sidebar {
  width: 19%;
  margin-left: clamp(100px, 15vw, 200px);
  top: clamp(85px, 7vw, 100px);
  right: clamp(50px, 15vw, 200px);
}

.side {
  position: sticky;
  position: -webkit-sticky;
  top: clamp(85px, 7vw, 100px);
  margin-bottom: 50px;
}

.side-title {
  font-size: clamp(22px, 2.5vw, 32px);
  margin-bottom: 20px;
}

.side ul {
  border-bottom: solid 1px #777;
}

.side li {
  border-top: solid 1px #777;
  padding: 30px 0 30px 0;
  text-align: left;
}

.side_btn {
  width: 100px;
  margin-top: 20px;
  text-align: center;
}

.arrow {
  position: relative;
  display: inline-block;
  padding: 0 0 0 16px;
  vertical-align: middle;
}

.arrow_side_design::before {
  top: -3px;
  right: 7px;
  width: 9px;
  height: 9px;
  border-top: 1px solid;
  border-right: 1px solid;
  -webkit-transform: rotate(-135deg);
  transform: rotate(-135deg);
}

/* archive.php, category.php */

.archive,
.category,
.contact_page,
.detail {
  margin-top: clamp(55px, 5vw, 80px);
}

.archive_works,
.category-works {
  text-align: center;
}

.archive_works img,
.category-works img {
  width: clamp(300px, 30vw, 500px);
  height: clamp(300px, 30vw, 500px);
  object-fit: cover;
  margin: 20px 0;
}

.archive-title,
.category-title,
.thanks-title {
  font-size: clamp(22px, 2.5vw, 32px);
}

.archive_text,
.category-text {
  margin-bottom: 100px;
}

.page-title {
  font-size: clamp(28px, 3vw, 40px);
  margin-bottom: 30px;
}

/* pagination */

.pagination ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin: 50px 0;
}

.pagination li {
  padding: 0 10px;
}

.pagination ul a:hover {
  opacity: 0.7;
}

/* contact-page */

.form {
  width: 100%;
}

.contents {
  margin: 10px 0;
}

textarea {
  width: 400px;
}

.form_item {
  border: #777 solid 1px;
  width: 400px;
  height: auto;
  border-radius: 2px;
  padding: 5px 0;
}

.red {
  color: red;
}

.btn_flex {
  display: flex;
}

.form-bg {
  width: 398px;
  background-color: #f5f5f5;
}

.mw_wp_form [type="submit"] {
  width: 60px; /* ボタンの横幅の長さ */
  line-height: 2em; /* ボタンの縦幅の高さ */
  background: #f5f5f5; /* ボタンの色*/
  color: #333; /* ボタンのテキストの色 */
  /* box-shadow: 0px 1px 3px rgba(0,0,0,.5); ボタンの影の設定 */
  border: 2px #000 solid; /* ボタンの枠線の設定 */
  /* border-radius: 2px; ボタンの角の丸みの設定 */
  margin: 30px 60px 30px 0;
}

.mw_wp_form [type="submit"]:hover {
  background: #000; /* マウスカーソルを上に乗せた時のボタンの色 */
  color: #f5f5f5; /* マウスカーソルを上に乗せた時のボタンのテキストの色 */
  transition: all 0.5s ease 0s;
  /* box-shadow: 0px 1px 3px rgba(0,0,0,.5);マウスカーソルを上に乗せた時のボタンの影の設定 */
}

.mw_wp_form .horizontal-item {
  margin-right: 10px;
}

.mw_wp_form .horizontal-item + .horizontal-item {
  margin-left: 0;
}

.check {
  display: inline-flex;
  flex-wrap: wrap;
}

#text {
  border: #777 solid 1px;
}

/* エラー */
.mw_wp_form .error {
  width: 400px;
  height: 30px;
  background: #ffeaea;
  padding: 0.3em 0.5em;
  margin-bottom: 10px;
  display: block;
  flex: 0 1 100%;
}

.contact_name {
  margin: 40px 0;
  font-size: 20px;
}

/* thanks.php */

.thanks_btn {
  width: 150px;
  margin: 20px 0 60px 0;
  text-align: center;
}

.thanks-title {
  margin-bottom: 50px;
}

.thanks_page {
  margin-top: clamp(55px, 15vw, 200px);
  margin-bottom: 100px;
}

/* 404.php */

.error_comment {
  margin: 250px auto 250px 0;
}

@media screen and (max-width: 700px) {
  .sp-link {
    display: block !important;
  }

  /*キラッと光る*/
  .btnshine::before {
    transform: none;
  }

  /*hoverした際の移動のアニメーション*/
  .btnshine:hover::before {
    animation: none;
  }
  #skills,
  #works,
  #footer {
    margin-top: 50px;
  }

  .menu > li {
    width: 50%;
  }

  .menu > li a {
    padding-left: 10px;
  }

  .logo_box {
    text-align: right;
    padding-right: 10px;
  }

  .menu__second-level li {
    border: none;
  }

  li.menu__single:hover ul.menu__second-level {
    top: -50px;
    left: clamp(50px, 6.5vw, 90px);
    height: 50vh;
    background: rgba(50, 140, 230, 0.9);
    margin: 0;
    border-radius: 50%;
    padding-top: 65px;
    padding-left: clamp(50px, 14vw, 160px);
  }

  .menu > li:active {
    -webkit-transition: all 0.5s;
    transition: all 0.5s;
  }

  .vanta-canvas {
    height: 700px;
  }

  .main_logo {
    left: 1%;
  }

  .text {
    display: none;
  }

  #bird {
    min-height: 700px;
  }

  #coding {
    position: absolute;
    top: 450px;
  }

  .skill {
    font-weight: bold;
  }

  .flex_items div:nth-of-type(1) {
    width: clamp(85px, 7vw, 100px);
  }

  .size {
    width: 80%;
  }

  .pc_br {
    display: none;
  }

  .flex_items img {
    width: 70%;
    height: 100%;
  }

  .flex_items p:nth-of-type(1) {
    padding: 0;
  }

  .flex_coding {
    display: block;
    left: 50%;
  }

  .flex_items {
    display: flex;
    justify-content: center;
    width: 100%;
    margin-bottom: 10px;
  }

  .flex_items_mleft {
    margin: 0 0 10px 0;
  }

  .about_left {
    width: 100%;
  }

  .about_left h2 {
    padding: 10px 0;
  }

  .about_flex {
    margin-top: clamp(250px, 60vw, 600px);
    display: block;
  }

  .circle {
    margin-top: 20px;
  }

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

  .comment {
    text-align: start;
  }

  .white {
    padding: 10px 15px;
  }

  .works img {
    width: clamp(80px, 25vw, 200px);
    height: clamp(80px, 25vw, 200px);
  }

  footer {
    padding: 0 30px;
  }

  .footer_left {
    width: 50%;
  }

  .footer_right {
    width: 40%;
  }

  .footer_right a {
    padding: 10px 5px;
    margin: 0;
  }

  .footer_flex {
    padding: 50px 5px 20px 5px;
  }

  .sp-br {
    display: block;
  }

  .post-link {
    width: 100%;
    margin: 20px auto 40px auto;
  }

  .readmore {
    margin: 40px auto;
  }

  #container {
    display: block;
  }

  #sidebar {
    width: 100%;
    margin-left: 0;
  }

  .side {
    position: static;
  }

  #container main {
    width: 100%;
    padding: 0 10px;
  }

  .archive-title {
    font-size: clamp(22px, 2.5vw, 32px);
    margin-top: 50px;
  }

  .form_item {
    width: 90%;
  }

  .form-bg,
  textarea {
    width: 100%;
  }

  .mw_wp_form .error {
    width: 100%;
  }

  .mw_wp_form .error {
    width: 90%;
  }
}
