@charset "utf-8";

@import url("https://fonts.googleapis.com/css2?family=Quicksand:wght@300;400;500;600;700&display=swap");

/* ========================== */
/* privacy content */
/* ========================== */
#privacy-content {
  padding: 80px 0;
  background-color: #f8f8f8;
}

#privacy-content .container {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 20px;
}

#privacy-content .privacy-wrapper {
  background-color: #fff;
  padding: 60px 40px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

#privacy-content .privacy-title {
  font-size: 32px;
  font-weight: 600;
  color: #333;
  text-align: center;
  margin-bottom: 40px;
  padding-bottom: 20px;
  border-bottom: 3px solid #9f8e6d;
}

#privacy-content .privacy-intro {
  margin-bottom: 40px;
  padding: 20px;
  background-color: #f9f9f9;
  border-left: 4px solid #9f8e6d;
  border-radius: 4px;
}

#privacy-content .privacy-intro p {
  font-size: 16px;
  line-height: 1.8;
  color: #555;
  margin: 0;
}

#privacy-content .privacy-section {
  margin-bottom: 40px;
}

#privacy-content .privacy-section h2 {
  font-size: 20px;
  font-weight: 600;
  color: #333;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid #e0e0e0;
}

#privacy-content .privacy-section p {
  font-size: 15px;
  line-height: 1.8;
  color: #555;
  margin-bottom: 15px;
}

#privacy-content .privacy-section ul {
  margin: 20px 0;
  padding-left: 20px;
}

#privacy-content .privacy-section ul li {
  font-size: 15px;
  line-height: 1.8;
  color: #555;
  margin-bottom: 10px;
  position: relative;
}

#privacy-content .privacy-section ul li::before {
  content: "•";
  color: #9f8e6d;
  font-weight: bold;
  position: absolute;
  left: -15px;
}

#privacy-content .contact-info {
  background-color: #f9f9f9;
  padding: 25px;
  border-radius: 6px;
  margin-top: 20px;
}

#privacy-content .contact-info p {
  margin-bottom: 12px;
  font-size: 15px;
  line-height: 1.6;
}

#privacy-content .contact-info strong {
  color: #333;
  font-weight: 600;
}

/* ========================== */
/* subvisual */
/* ========================== */
#subvisual {
  position: relative;
  height: 300px;
}

#subvisual img {
  width: 100%;
  height: 300px;
  object-fit: cover;
}

#subvisual .products-title {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
}

.products-title h2 {
  color: #fff;
}

.products-title h2::after {
  content: "";
  display: block;
  width: 50px;
  height: 3px;
  background-color: #fff;
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
}

.products-title p {
  color: #fff;
}

/* -----------------
works
-------------------- */

#works {
  background-color: #ecece6;
  padding-top: 70px;
}

#works ul {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-left: 30px;
  margin-right: 30px;
}

#works .website_list {
  display: block;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 32px;
}

#works img {
  width: 100%;
}

#works .site_info {
  padding: 0 150px;
}

#works .site_info h3 {
  font-size: 30px;
  text-align: left;
}

#works .site_info p {
  font-size: 15px;
  text-align: left;
  margin-top: 30px;
}

#works .site_img_pc {
  margin-top: 60px;
  padding: 0 150px;
}

#works .site_img_pc img {
  margin-bottom: 100px;
}

#works .site_img_sp {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin-left: 150px;
  margin-right: 150px;
  margin-bottom: 30px;
}

#works .site_img_sp img {
  margin: 5px;
  max-width: 30%;
  height: auto;
}

#works .under_info {
  display: flex;
  justify-content: space-between;
  flex-direction: row-reverse;
  margin-top: 100px;
  margin-left: 150px;
  margin-right: 150px;
  border-top: 1px black solid;
}

#works .skill {
  margin-top: 50px;
}

#works .skill h4 {
  display: block;
  /* margin-top: -155px;
    margin-left: 400px; */
  padding-bottom: 30px;
}

#works .site_visit {
  display: block;
  text-align: left;
  margin-top: 50px;
  padding-bottom: 100px;
}

#works .site_move a {
  display: block;
  width: 300px;
  color: #9f8e6d;
  text-decoration: underline;
  padding-top: 10px;
}

.fadeInUpTrigger {
  opacity: 0;
}

#works .website ul {
  display: block;
}

.opacityText {
  /*テキストの基点となる位置を定義*/
  position: relative;
  /* padding: 5px; */
}

.opacityText span.mask {
  position: relative;
  /*グラデーションの基点となる位置を定義*/
  transition: 0.3s ease-in-out;
  /*移り変わる速さを変更したい場合はこの数値を変更*/
  display: block;
  /*画像をくくるspanタグをブロック要素にする*/
  line-height: 0;
  /*行の高さを0にする*/
}

.opacityText:hover span.mask::before {
  /*hoverした時の変化*/
  content: "";
  position: absolute;
  z-index: 2;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(5, 5, 5, 0.704);
  /*背景色（グラデーション）*/
}

.opacityText img {
  opacity: 1;
  transition: 0.3s ease-in-out;
  /*移り変わる速さを変更したい場合はこの数値を変更*/
}

.opacityText:hover img {
  opacity: 0.6;
  /*透過具合を変更したい場合はこの数値を変更*/
}

.opacityText span.cap {
  opacity: 0;
  transition: 0.5s ease-in-out;
  /*移り変わる速さを変更したい場合はこの数値を変更*/
  position: absolute;
  z-index: 3;
  /*テキストを前面に出す*/
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #fff;
  /*テキストの色を変えたい場合はここを修正*/
  line-height: 1.5;
  /*行の高さを1.5にする*/
}

.opacityText:hover span.cap {
  /*hoverした時の変化*/
  opacity: 1;
}

#works .content-info table th,
#works .content-info table td {
  padding: 4px 0;
}

@media screen and (max-width: 599px) {
  #works {
    padding-bottom: 0;
  }

  #Works .list {
    margin: 0;
  }

  #works ul li {
    padding-bottom: 30px;
  }

  #works img {
    width: 100%;
    margin-bottom: 16px;
  }

  #works .site_info {
    padding: 0;
  }

  #works .site_info p {
    line-height: 2.5rem;
  }

  #works .site_img_pc {
    margin-top: 60px;
    padding: 0;
  }

  #works .site_img_sp {
    margin: 0;
  }

  #works .site_visit {
    padding-bottom: 0;
  }

  #works .under_info {
    display: block;
    margin: 0;
  }

  #works .under_info .skill h4 {
    display: block;
    margin-top: 50px;
    margin-left: 0;
    text-align: left;
  }

  #works .site_move a {
    display: block;
    text-align: left;
    color: goldenrod;
    text-decoration: underline;
  }

  /*=====max-width:599px======*/
}

@media screen and (max-width: 599px) {
  #privacy-content {
    padding: 40px 0;
  }

  #privacy-content .container {
    padding: 0 15px;
  }

  #privacy-content .privacy-wrapper {
    padding: 30px 20px;
  }

  #privacy-content .privacy-title {
    font-size: 24px;
    margin-bottom: 30px;
  }

  #privacy-content .privacy-intro {
    padding: 15px;
    margin-bottom: 30px;
  }

  #privacy-content .privacy-section {
    margin-bottom: 30px;
  }

  #privacy-content .privacy-section h2 {
    font-size: 18px;
    margin-bottom: 15px;
  }

  #privacy-content .privacy-section p {
    font-size: 14px;
  }

  #privacy-content .privacy-section ul li {
    font-size: 14px;
  }

  #privacy-content .contact-info {
    padding: 20px;
  }

  #privacy-content .contact-info p {
    font-size: 14px;
  }
}

/* -----------------
footer
-------------------- */

footer {
  background-color: #000;
  width: 100%;
  height: 200px;
  padding: 10px 0;
  text-align: center;
}

footer small {
  display: block;
  margin-top: 90px;
  color: #ecece6;
}

.site-header-navbtn {
  display: none;
  position: fixed;
  top: 10px;
  right: 10px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  z-index: 1;
}

.site-header-navbtn span,
.site-header-navbtn::before,
.site-header-navbtn::after {
  width: 30px;
  height: 1px;
  background-color: #999;
  position: absolute;
  top: 50%;
  left: 5px;
  transition: transform 0.4s;
}

.site-header-navbtn::before,
.site-header-navbtn::after {
  content: "";
}

.site-header-navbtn::before {
  transform: translateY(-8px);
}

.site-header-navbtn::after {
  transform: translateY(8px);
}

body.is-nav-open .site-header-navbtn span {
  transform: scaleX(0);
}

body.is-nav-open .site-header-navbtn::before {
  transform: translateY(0) rotate(45deg);
}

body.is-nav-open .site-header-navbtn::after {
  transform: translateY(0) rotate(-45deg);
}

.pagetop {
  width: 40px;
  height: 40px;
  position: fixed;
  z-index: 0;
  right: 30px;
  bottom: 50px;
  background-color: tan;
  font-size: 1.5rem;
  text-align: center;
  line-height: 40px;
  cursor: pointer;
  opacity: 0.6;
}

.pagetop:hover {
  opacity: 0.9;
}

.ri-arrow-up-line {
  display: inline-block;
  width: 18px;
  height: 18px;
  margin: 15px 5px;
  border-top: 3px solid #000;
  border-left: 3px solid #000;
  transform: rotate(45deg);
}

@media screen and (max-width: 599px) {
  .wrapper {
    margin-bottom: 100px;
  }

  header .wrapper,
  .wrapper p {
    margin-left: 1rem;
    margin-right: 1rem;
  }

  #mainvisual img {
    height: calc(100vh - 60px);
  }

  #about .content {
    flex-direction: column;
  }

  #about img {
    margin-right: 0;
    margin-bottom: 3rem;
  }

  #about .text {
    text-align: center;
  }

  /* #photo ul {
        flex-direction: column;
    } */

  #photo li {
    width: 100%;
    margin-bottom: 2rem;
  }

  #works ul {
    flex-direction: column;
  }

  #works li {
    width: 100%;
  }

  .site-header-navbtn {
    display: block;
    z-index: 2;
  }

  .site-header-nav {
    position: fixed;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    background-color: #ecece6;
    transform: translateX(-100%);
    transition: transform 0.6s;
    z-index: 1;
  }

  body.is-nav-open .site-header-nav {
    transform: translateX(0);
  }

  .site-header-nav ul {
    height: 100%;
    flex-direction: column;
    justify-content: center;
    text-align: 1.5em;
  }

  .site-header-nav ul li {
    margin-right: 0;
    margin-bottom: 1.5em;
  }

  .site-header-nav ul li a {
    font-size: 1.5rem;
  }
}
