@charset "UTF-8";
html {
  font-size: 0.9rem;
  font-family: "Albert Sans", "Yu Gothic", "Meiryo", sans-serif;
  font-optical-sizing: auto;
  font-style: normal;
}

body {
  color: #252525;
  letter-spacing: 0.3rem;
}

html, body {
  margin: 0 !important;
  padding: 0 !important;
}

li {
  list-style: none;
}

ul, ol {
  margin: 0;
  padding: 0;
}

a {
  color: #252525;
  text-decoration: none;
}

img {
  max-width: 100%;
  vertical-align: bottom;
  height: auto;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

.fadein {
  opacity: 0;
  transform: translateY(20px);
  transition: all 1s;
}

/* *************
Main
************* */
.main .main-img {
  background-image: url(../img/main-image.jpg);
  min-height: 100vh;
  position: relative;
}

.fixed-bg {
  min-height: 100vh; 
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
}

.title-wrapper {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  min-height: 100vh; 
  max-width: 883px;
  margin: 0 auto;
  box-sizing: border-box;
}

h1 { 
  margin: 0 auto;
  padding: 0 1%;
}

.highlight {
  color: #F8F7DD; 
}

.title-wrapper .sec-title {
  font-size: 1.3rem;
  font-weight: 800;
  margin-top: 100px;
  padding: 0 30px;
}

.nav {
  margin-top: 30px;
  padding: 0 30px;
}

.nav ul li {
  padding: 10px 0;
}

.nav ul li a:hover {
  color: #FFFFFF;
}

@media screen and (max-width: 768px) {
  h1 {
    padding-left: 10px;
  }

  .title-wrapper .sec-title  {
    margin-top: 60px;
  }
}

/* *************
Intro
************* */
.container {
  max-width: 700px;
  margin: 0 auto;
  padding: 50px 0;  
}

.intro-text {
  text-align: center;
}

.intro-text p {
  padding-bottom: 5px;
}

@media screen and (max-width: 768px) {
  .container {
    padding: 30px 0;  
  }

  .intro-text p {
    font-size: 0.9rem;
  }
}

/* *************
Works
************* */
.works {
  z-index: 10;
  position: relative;
}

.drops-container {
  position: relative;
  width: 100%;
  max-width: 1500px;
  height: auto;
  opacity: 0.1;
  pointer-events: none;
  z-index: 1;
}

.drop1 {
  position: absolute;
  width: 140px;
}

.drop2 {
  position: absolute;
  width: 100px;   
}

.drop3 {
  position: absolute;
  width: 100px; 
}

.drop33 {
  position: absolute;
  width: 80px; 
}

.drop4 {
  position: absolute;
  width: 60px; 
}

.drop5 {
  position: absolute;
  width: 130px; 
}

.works .sec-title, 
.service .sec-title,
.about .sec-title {
  text-align: center;
  margin-bottom: 150px;
  position: relative;
}

.works .sec-title::after, 
.service .sec-title::after,
.about .sec-title:after {
  content: "";
  position: absolute;
  bottom: -70px;
  left: 50%;
  transform: translateX(-50%);
  width: 80vw;
  max-width: 600px;
  height: 1px;
  background-color: #252525;
}

.flex-box {
  display: flex;
  justify-content:center;
  gap: 50px;
  margin: 0 auto;
}

.flex-box li {
  width: 100%;
  height: 300px;
  padding: 10px;
  z-index: 10;
}

.flex-box li img {
  width: 100%;
}

.work-title ,h3 {
  font-size: 0.9rem;
  font-weight: 300;
  line-height: 2;
  margin: 0 1%;
  padding: 10px 0;
}

.flex-box p {
  font-size: 0.6rem;
  letter-spacing: 0.15rem;
  /* text-align: justify; */
  margin: 0 1%;
}

.btn {
  text-align: center; 
  margin: 50px auto 60px auto;
  z-index: 10;
}

.btn a {
  padding: 15px 30px;
  border: solid 1px #666666;
  line-height: 30px;
  text-align: center;
  border-radius: 50px;
  transition: all 0.3s;
  z-index: 10;
}

.btn a:hover {
  color: #F8F7DD;
  background-color: #666666;
  z-index: 10;
}

@media screen and (max-width: 768px) {
  .works .sec-title, 
  .service .sec-title,
  .about .sec-title {
  margin-bottom: 100px;
}

  .works .sec-title::after, 
  .service .sec-title::after,
  .about .sec-title:after {
    bottom: -50px;
  }

  .flex-box {
    flex-direction: column;
  }

  .flex-box li {
    width: 80%;
    margin: 0 auto;
    height: auto;
  }

  .btn {
    margin: 50px auto;
  }
}

/* *************
Service
************* */
.service-inner {
  display: flex;
  gap: 2rem;
}

.service-inner li {
  flex: 1;
}

.service-item {
  text-align: center;
}

.number {
  font-size: 2.3rem;
  color: #666666;
}

.number span {
  color: #F8F7DD;
}

.service-item .sum {
  font-weight: 570;
  margin-top: 10px;
  padding: 5px 0;
  background-color: #F8F7DD
}

.service-item .left {
  font-size: 0.9rem;
  line-height: 2;
  text-align: justify;
  margin-top: 10px;
}

@media screen and (max-width: 768px) {
  .service-inner {
    flex-direction: column;
  }

  .service-inner li {
    width: 80%;
    margin: 0 auto;
  }

  .service-item .left {
    margin-bottom: 20px;
  }
  
  li:nth-of-type(3) .service-item .left {
    margin-bottom: 0;
  }

}

/* *************
About
************* */
.about-inner {
  display: flex;
  justify-content: space-between;
  gap: 30px;
}

.about-img {
  width: 45%;
  align-content: center;
}

.about-text {
  width: 55%;
}

.about-text p {
  font-size: 0.9rem;
  line-height: 1.4rem;
  padding-bottom: 2px;
}

.about-img img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

h4 {
  margin-bottom: 20px;
}

.skill-inner {
  padding: 0 3%;
}

.skills {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  justify-content: center;
  margin-bottom: 30px;
  padding-bottom: 20px;
}

.skill {
  width: 140px;
  padding: 6px 10px;
  border: 1px solid #666666;
  border-radius: 50px;
  font-size: 0.6rem;
  text-align: center;
  white-space: nowrap;
}

.btn-wrap {
  display: flex;
  justify-content: flex-end; 
  position: relative;      
  padding-right: 20px;
  margin-bottom: 30px; 
  box-sizing: border-box;
}

.pg-btn {
  position: relative;
  width: 40px;
  height: 40px;
  display: inline-block;
}

.pg-btn span::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 40px;
  height: 40px;
  border: 1px solid #666666;
  border-radius: 50%;
  box-sizing: border-box;
}

.pg-btn span::before {
  content: "";
  position: absolute;
  top: 55%;
  left: 50%;
  width: 12px;
  height: 12px;
  transform: translate(-50%, -50%) rotate(-45deg);
  border: 1px solid #666666;
  border-width: 1px 1px 0 0;
  box-sizing: border-box;
}

.flowing-ttl {
  display: flex;
  width: 100%;
  overflow: hidden;
  color: #666666;
  opacity: 0.6;
  margin-top: 20px; 
}

.flowing-ttl__item {
  flex: 0 0 auto;
  white-space: nowrap;
  padding: 0 15px;
}

.flowing-ttl__item:nth-child(odd) {
  animation: loop 40s linear -20s infinite;
}

.flowing-ttl__item:nth-child(even) {
  animation: loop2 40s linear infinite;
}

@keyframes loop {
  0% {
    transform: translateX(100%);
  }
  to {
    transform: translateX(-100%);
  }
}

@keyframes loop2 {
  0% {
    transform: translateX(0);
  }
  to {
    transform: translateX(-200%);
  }
}

@media (max-width: 768px) {
  .about-inner {
    width: 80%;
    flex-direction: column;
    margin: 0 auto;
    gap: 30px;
    padding-bottom: 20px;
  }

  .about-img, .about-text {
    width: 100%;
  }

  .skill-inner {
    width: 80%;
    padding: 0 0;
    margin: 0 auto;
  }

  .skills {
    padding-bottom: 0;
  }

  .skill {
    width: 125px;
  }
  
  .flowing-ttl {
    font-size: 0.6rem;
  }
    
}

/* *************
Footer
************* */
footer {
  background-image: 
  linear-gradient(
    to bottom,
    rgba(255, 255, 255, 1) 0%,
    rgba(255, 255, 255, 1) 10%,
    rgba(255, 255, 255, 0) 100%
  ),
  url(../img/sandfooter.jpg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.footer {
  width: 100%; 
  display: flex;
  align-items: center;
  padding-top: 100px;
  padding-bottom: 0;
}

.follow-me {
  margin: 0 auto;
  align-items: center;
  justify-content: center;
} 

.x {
  width: 15px;
  margin: 0 auto;
}

small {
  display: block;
  text-align: center;
  font-size: 0.7rem;
  padding: 10px 0;
  margin-top: 40px;
}

@media (max-width: 768px) {
  .follow-me {
    font-size: 0.8rem;
  }
}

/* *************
Works.html
************* */
h1 a {
  display: inline-block;
  font-size: 1.5rem;
  font-weight: 800;
  padding: 0 30px;
  margin: 30px 0;
  color: #FFFFFF;
}

header h2 {
  font-size: 7rem;
  font-weight: 800;
  padding: 0 35px;
  margin: 30px 0;
  color: #FFFFFF;
}

.work-container {
  background-color: #FFFFFF;
  background: linear-gradient(
  to bottom,
  rgba(255, 255, 255, 0),
  rgba(255, 255, 255, 0.9),
  rgba(255, 255, 255, 1)
  );
  z-index: 10;
}

.bg-image-fixed {
  position: fixed; 
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("../img/&sand.jpg");
  background-size: cover;
  background-position: center;
  z-index: -1;
  opacity: 0.7;
}

.section-body {
  max-width: 80%;
  margin: 100px auto 0 auto;
  z-index: 10;
}

.section-body h2 {
  padding: 10px 0;
}

.section-body .HPlink {
  display: inline-block;
  padding-bottom: 3px;
  font-size: 0.8rem;
  letter-spacing: 0.2em;
}

.section-body .HPlink span {
  border-bottom: solid 1px;
}

section:last-of-type .section-body {
  padding-bottom: 80px;
}

.item-flex {
  display: flex;
  gap: 30px;
  margin-top: 30px;
}

.img-flex {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  margin-top: 10px;
  width: 50%;
}

.img-flex .pc {
  width: 68%;
}

.img-flex .sp {
  width: 27%;
}

.item-text {
  width: 50%;
}

.img-flex img {
  display: block;
}

.item-text p {
  line-height: 2rem;
  margin-bottom: 10px;
}

.item-text p span {
  font-weight: 600;
}

.item-text .color {
  width: 130px;
  margin-left: 10px;
  margin-bottom: 10px;
}

@media (max-width: 768px) {
  .bg-image-fixed {
    background-position: 40%;
  }

  h1 a {
    padding: 0 15px;
  }
  
  header h2 {
    font-size: 5rem;
    padding: 0 15px;
  }

  .item-flex {
    flex-direction: column;
    gap: 10px;
    margin-top: 10px;
  }

  .img-flex, .item-text {
    width: 100%;
  }
}