@charset "UTF-8";

/* =======================▼ root ▼=============================== */
:root {
  --main-color: #85845b;
  --sub-color-1: #80743f;
  --sub-color-2: #545642;
}

/* =======================▼リセットCSS▼=============================== */
html,
body,
h1,
h2,
h3,
h4,
p,
ul,
li,
dl,
dt,
dd,
* {
  margin: 0;
  padding: 0;
  line-height: 1.0;
  letter-spacing: 0.05em;
  border-width: 1px;
}


ul {
  list-style: none;
}

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

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



body {
  background: #f9f3cf;
  color: #000;
}

input,
button,
select,
textarea {
  appearance: none;
  background: transparent;
  border: none;
  border-radius: 0;
  font: inherit;
  outline: none;
}

textarea {
  resize: vertical;
}

/* =======================▲リセットCSS▲=============================== */

/* =======================▼ box-sizing と font-family ▼=============================== */

* {
  box-sizing: border-box;
  font-family: Noto Sans JP;
}

/* =======================▼ clear-fix ▼=============================== */
.clear-fix::after {
  content: "";
  display: block;
  clear: both;
}

/* =======================▲ clear-fix ▲=============================== */


/* =======================▼ box-sizing ▼=============================== */

/* --------------------------------------------------------------------------------------------------------------------------------------------------- */
/* --------------------------------------------------------------------------------------------------------------------------------------------------- */
/* --------------------------------------------------------------------------------------------------------------------------------------------------- */
/* --------------------------------------------------------------------------------------------------------------------------------------------------- */


/* =======================▼ CSS ▼=============================== */

/* コンテナ */
.container {
  margin: 0 auto;
  width: 90%;
}

/* コンテナ */

/* --- ヘッダー --- */
#top {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: rgba(00, 00, 00, 80%);
  color: #FFFFFF;
  z-index: 1000;
  padding: 0 20px;
}

h1 {
  float: left;
}

h1>a {
  font-size: 20px;
  height: 48px;
  line-height: 48px;
  display: inline-block;
  height: 100%;
}

h1>a:hover {
  cursor: pointer;
  background-color: rgba(99, 99, 99, 80%);
}


h1 span {
  color: #98ad74;
  ;
}

/* グローバルナビ */
.global-nav {
  height: 0;
  overflow: hidden;
  transition: .5s;
  width: 100%;
}

.global-nav.active {
  height: 96px;
}

.global-nav ul {
  width: 100%;
}

.global-nav ul li a {
  display: block;
  font-weight: bold;
  font-size: 16px;
  height: 48px;
  line-height: 48px;
  text-align: center;
}

.global-nav ul li a:hover {
  cursor: pointer;
  background-color: rgba(99, 99, 99, 80%);
}

/* ハンバーガーメニュー */
.hamburger-menu {
  height: 48px;
  width: 48px;
  position: relative;
  float: right;
}

.hamburger-menu:hover {
  cursor: pointer;
  background-color: rgba(99, 99, 99, 80%);
}

.hamburger-menu::before,
.hamburger-menu::after {
  content: "";
}

.hamburger-menu>span,
.hamburger-menu::before,
.hamburger-menu::after {
  display: block;
  height: 4px;
  width: 80%;
  background-color: #FFFFFF;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  transition: .5s;
}

.hamburger-menu::before {
  transform: translate(-50%, -14px);
}

.hamburger-menu::after {
  transform: translate(-50%, 10px);
}

.hamburger-menu.active>span {
  opacity: 0;
}

.hamburger-menu.active::before {
  transform: translate(-50%, 0) rotate(45deg);
}

.hamburger-menu.active::after {
  transform: translate(-50%, 0) rotate(-45deg);
}

/* メイン画像 */

.top-img {
  background-image: url(portfolio/images/top02.jpg);
  background-size: cover;
  background-position: center;
  width: 100%;
  height: 100vh;
}

/* メイン画像 */

/* TOPに戻るボタン */
#top-btn a {
  display: block;
  position: fixed;
  bottom: 30px;
  right: 2%;
  background-color: var(--sub-color-2);
  color: #FFFFFF;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  z-index: 9999;
  text-align: center;
  font-size: 18px;
  line-height: 30px;
  padding-top: 10px;
}



#top-btn span {
  font-size: 10px;
  display: block;
}

#top-btn a:hover {
  cursor: pointer;
  opacity: .7;
}

/* TOPに戻るボタン */


/* --- ヘッダー --- */

/* --- main --- */

/* h2要素 */
h2 {
  text-align: center;
  color: var(--sub-color-2);
  margin-top: 80px;
  margin-bottom: 40px;
}

.main-h2 {
  display: block;
  font-size: 20px;
  height: 29px;
  line-height: 29px;
}

.sub-h2 {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  height: 17px;
  line-height: 17px;
}

/* h2要素 */

/* h3要素 */
.skill-frame h3 {
  text-align: center;
  color: #FFFFFF;
  border-bottom: 1px solid #FFFFFF;
  padding-top: 20px;
  padding-bottom: 10px;
}

.skill-frame .main-h3 {
  display: block;
  width: 100%;
  font-size: 16px;
  height: 24px;
  line-height: 24px;
}

.skill-frame .sub-h3 {
  display: block;
  width: 100%;
  font-size: 12px;
  height: 17px;
  line-height: 17px;
  margin-top: 3px;
}

.normal-h3 {
  text-align: center;
  font-size: 16px;
  height: 24px;
  line-height: 24px;
  color: var(--sub-color-2);
  border-bottom: 1px solid #B7B7B7;
  margin-top: 80px;
  margin-bottom: 40px;
}

/* h3要素 */

/* h4要素 */
h4 {
  text-align: center;
  color: #FFFFFF;
  background-color: var(--sub-color-1);
  font-size: 14px;
  height: 30px;
  line-height: 30px;
}

/* h4要素 */

/* 自己紹介 */
.self-introduction-p {
  margin: 0 auto;
  margin-top: 40px;
  margin-bottom: 25px;
  font-size: 14px;
  line-height: 32px;
}

.self-introduction-p>span {
  font-weight: bold;
}

.self-introduction-img {
  display: block;
  width: 100%;
  margin: 0 auto;
  margin-bottom: 40px;
}

/* 自己紹介 */

/* スキル・使用できるツール欄 */
.skill-frame>section {
  border-radius: 10px;
  background-color: var(--main-color);
  width: 100%;
  margin-bottom: 40px;
}

.skill-frame-inner {
  margin: 0 10px 0 10px;
  padding-bottom: 20px;
}

.skill-frame-inner ul {
  margin-top: 20px;
  margin-left: 20px;
  font-size: 16px;
  font-weight: bold;
}

.skill-frame-inner ul li {
  height: 30px;
  line-height: 30px;
}

.color-yellow {
  color: #f1ffd0;
}

.color-pink {
  color: #FFE8F6;
}

/* スキル・使用できるツール欄 */

/* ギャラリー */
.gallery-lists {
  width: 100%;
}

.gallery-lists li {
  width: 80%;
  margin: 0 auto;
}

.gallery-lists li>section {
  width: 100%;
  margin-bottom: 20px;
}

.gallery-lists img {
  width: 100vw;
  height: 80vw;
  object-fit: cover;
}

.gallery-lists p {
  margin-top: 4px;
  font-size: 12px;
  line-height: 17px;
}

/* ギャラリー */

/* 訓練課題 */
.portfolio-list-item {
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
  margin-bottom: 80px;
}

.portfolio-list-item h4 {
  width: 100%;
  max-width: 600px;
}

.portfolio-list-item a {
  display: block;
  width: 100%;
  border: 1px solid var(--sub-color-1);
  border-top: transparent;
  margin-bottom: 20px;
  box-shadow: 3px 4px 3px 2px rgba(152, 152, 152, 0.4);
}

.portfolio-list-item a:hover {
  cursor: pointer;
  opacity: 0.6;
}

.portfolio-list-item p,
.portfolio-list-item ul li {
  font-size: 14px;
  line-height: 18px;
  margin-bottom: 10px;
}

.portfolio-list-item ul li {
  list-style-position: inside;
  list-style-type: disc;
}

/* 概要 */
.subheading {
  display: block;
  font-size: 16px;
  line-height: 26px;
  margin-bottom: 5px;
}

.subheading::before {
  display: inline-block;
  content: "【";
  margin-right: .1rem;
}

.subheading::after {
  display: inline-block;
  content: "】";
  margin-left: .1rem;
}

/* 訓練課題 */


/* ボタン */


/* --- main --- */

/* --- footer --- */
footer {
  background-color: var(--main-color);
  height: 120px;
  color: #FFFFFF;
  text-align: center;
}

.copy-right {
  padding-top: 20px;
  font-size: 16px;
  line-height: 24px;
}

/* --- footer --- */

/* ----------------==========▼ メディアクエリ ▼=======---------------------------- */

/* -----------▼ 最大幅:768px ▼-------------- */

/* ----------------------------------------- */

@media screen and (min-width: 769px) {

  /* コンテナ */
  .container {
    max-width: 1024px;
  }

  /* コンテナ */

  /* カラム */
  .grid-col-2 {
    display: flex;
  }

  .grid-col-4 {
    display: flex;
  }

  /* カラム */

  /* --- ヘッダー --- */
  #top {
    height: 80px;
  }

  h1 {
    float: left;
  }
  
  h1>a{
    font-size: 26px;
    height: 80px;
    line-height: 80px;
  }

  h1 span {
    color: #98ad74;
  }

  .global-nav {
    height: 80px;
    float: right;
    display: block;
    width: unset;
  }

  .global-nav ul li {
    float: left;
    margin: 0 20px;
  }

  .global-nav ul li a {
    height: 80px;
    line-height: 80px;
  }

  .global-nav ul li:nth-child(2) {
    margin-right: 0;
  }

  /* ハンバーガーメニュー */
  .hamburger-menu {
    display: none;
  }

  /* メイン画像 */

  .top-img {
    background-image: url(portfolio/images/top02_sp.jpg);
    background-position: unset;
    height: 40vh;
  }

  /* メイン画像 */


  /* --- ヘッダー --- */

  /* --- main --- */

  /* h2要素 */

  .main-h2 {
    font-size: 24px;
    height: 35px;
    line-height: 35px;
  }

  .sub-h2 {
    margin-top: 6px;
    font-size: 14px;
    height: 20px;
    line-height: 20px;
  }

  /* h2要素 */


  /* 自己紹介 */
  .self-introduction-p {
    max-width: 600px;
    margin-bottom: 30px;
    font-size: 16px;
  }

  .self-introduction-img {
    max-width: 600px;
    object-fit: cover;
  }

  /* 自己紹介 */

  /* スキル・使用できるツール欄 */
  .skill-frame {
    justify-content: space-between;
  }

  .skill-frame>section {
    max-width: 600px;
    width: 45%;
    margin-bottom: 0;
  }



  /* スキル・使用できるツール欄 */

  /* ギャラリー */
  .gallery-lists {
    justify-content: space-between;
  }

  .gallery-lists li {
    width: 25%;
  }

  .gallery-lists li>section {
    width: 90%;
    margin: 0 auto;
  }

  .gallery-lists img {
    height: 15vw;
    max-height: 230px;
  }

  /* ギャラリー */

  /* お問い合わせ */
  .contact-form {
    max-width: 600px;
  }

  .contact-form p {
    font-size: 16px;
  }

  .contact-form input,
  .contact-form textarea {
    font-size: 16px;
    line-height: 20px;
  }

  /* お問い合わせ */

  /* --- main --- */

}

/* -----------▲ 最大幅:768px ▲-------------- */

/* ----------------==========▲ メディアクエリ ▲=======---------------------------- */

/* =======================▼ CSS ▼=============================== */