@charset "utf-8";

/*header
------------------------------------*/
.header_inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 250px;
  padding: 0 5% 0 2%;
}

.header_logo img {
  width: 200px;
  height: auto;
  margin-bottom: 10px;
  transform: translateX(-45px);
}

/* iPad以下 */
@media screen and (max-width: 1024px) {
    .header_logo img {
        transform: translateX(0);
    }
}

header ul {
  display: flex;
  padding: 10px 0;
}

header li {
  margin-left: 30px;
}

/* main_visual
---------------------------------------*/

.main_visual {
  position: relative;
  overflow: hidden;
}

.main_visual::before {
  content: "";
  position: absolute;
  inset: -20px;
  background-image: url(../img/myportfolio_ver2.jpg);
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  filter: grayscale(1) contrast(1.1) blur(9px);
  z-index: 0;
}

.main_visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, #e8562b 0%, #e8562b 45%, #1b3a52 55%, #1b3a52 100%);
  background-size: 160% 160%;
  mix-blend-mode: hard-light;
  opacity: 0.92;
  animation: heroSplitMove 14s ease-in-out infinite alternate;
  z-index: 1;
}

@keyframes heroSplitMove {
  0% {
    background-position: 30% 20%;
  }
  100% {
    background-position: 70% 80%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .main_visual::after {
    animation: none;
  }
}

.main_visual_inner {
  position: relative;
  z-index: 2;
}

.main_visual_inner {
  max-width: 1140px;
  margin: 0 0 0 8%;
  padding: 7% 0;
}

.main_visual_title {
  color: #fff;
  font-family: "Abril Fatface", cursive;
  font-weight: 80;
  font-size: 6.8rem;
  line-height: 1.05;
  letter-spacing: 0.02em;
  margin-bottom: 20px;
  text-shadow: 1px 1px 20px rgba(0, 0, 0, 0.35);
}

.main_visual_text {
  color: #fff;
  font-size: 1.6rem;
  margin-bottom: 50px;
  text-shadow: 1px 1px 16px rgba(0, 0, 0, 0.3);
}

.main_visual_link {
  color: #fff;
  font-size: 1.6rem;
  font-family: "Montserrat", sans-serif;
  border-radius: 40px;
  border: 1px solid rgba(255, 255, 255, 0.75);
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow:
    0 10px 26px rgba(0, 0, 0, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
  padding: 20px 80px;
  display: inline-block;
  transition: transform 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
}

.main_visual_link:hover {
  transform: translateY(-3px);
  background: rgba(255, 255, 255, 0.22);
  box-shadow:
    0 16px 34px rgba(0, 0, 0, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

/* section_works
---------------------------------------*/
.works_bg-color {
  position: relative;
  overflow: hidden;
  background-color: #fdfaf7;
  background-image:
    repeating-linear-gradient(
      115deg,
      rgba(232, 86, 43, 0.05) 0px,
      rgba(232, 86, 43, 0.05) 2px,
      transparent 2px,
      transparent 34px
    );
}

.works_bg-color::before {
  content: "";
  position: absolute;
  top: -15%;
  left: -8%;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(232, 86, 43, 0.09) 0%, transparent 70%);
  animation: floatSlow1 9s ease-in-out infinite alternate;
  pointer-events: none;
}

.works_bg-color::after {
  content: "";
  position: absolute;
  bottom: -20%;
  right: -6%;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  border: 1px solid rgba(232, 86, 43, 0.16);
  animation: floatSlow2 11s ease-in-out infinite alternate;
  pointer-events: none;
}

@keyframes floatSlow1 {
  0% { transform: translate(0, 0); }
  100% { transform: translate(180px, 120px); }
}

@keyframes floatSlow2 {
  0% { transform: translate(0, 0); }
  100% { transform: translate(-160px, -100px); }
}

@media (prefers-reduced-motion: reduce) {
  .works_bg-color::before,
  .works_bg-color::after {
    animation: none;
  }
}

@keyframes gradientMove {
  0% {
    background-position: 0% 30%;
  }

  50% {
    background-position: 70% 60%;
  }

  100% {
    background-position: 100% 30%;
  }
}

.works_wrapper {
  position: relative;
  z-index: 1;
  max-width: 1320px;
  padding: 5% 0 6%;
  text-align: center;
}

.works_intro {
  margin: -3% 0 4%;
  color: #7a7a7a;
  font-size: 1.4rem;
}

.works_inner {
  display: flex;
  justify-content: space-around;
  margin-bottom: 6%;
}

.works_item {
  width: 30%;
  margin: 0 1%;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 6px 20px rgba(92, 69, 55, 0.08);
  position: relative;
  overflow: hidden;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  display: flex;
  flex-direction: column;
  text-align: left;
}

.works_item:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 30px rgba(92, 69, 55, 0.14);
}

.works_item img {
  width: 100%;
  margin-bottom: 10px;
  border-radius: 16px 16px 0 0;
  display: block;
  transition: transform 0.5s ease;
}

.works_item:hover img {
  transform: scale(1.03);
}

.works_item h3 {
  margin: 0;
  padding: 4% 5% 0;
  color: #f97046;
  font-size: 2rem;
}

.content-subtitle {
  padding: 0 5%;
  margin: 4px 0 0;
  color: #8a8a8a;
  font-size: 1.3rem;
  letter-spacing: 0.02em;
  text-align: left;
}

.works_item > a:last-child {
  margin-top: auto;
}

.text {
  font-size: 14px;
  line-height: 1.5;
  padding: 5%;
  margin-top: 10px;
  margin-bottom: 40px;
  text-align: left;
}

.service__item strong {
  background-color: #fd7e58;
  font-weight: normal;
}

.service__icon {
  margin-right: 10px;
}

.works_btn {
  color: #e8562b;
  font-size: 1.5rem;
  font-weight: 600;
  font-family: "Montserrat", sans-serif;
  padding: 0 5% 6%;
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-align: left;
}

.works_btn span {
  transition: transform 0.25s ease;
}

.works_item:hover .works_btn span {
  transform: translateX(4px);
}

@media (prefers-reduced-motion: reduce) {
  .works_bg-color,
  #contact {
    animation: none;
  }

  .works_item,
  .works_item img,
  .works_btn {
    transition: none;
  }

  .works_item:hover {
    transform: none;
  }

  .works_item:hover img {
    transform: none;
  }
}

/* section_about
---------------------------------------*/
.about_container {
  padding: 8% 0%;
  text-align: center;
}

.about_inner {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0% 5% 5%;
  margin: 0 auto;
}

.about_img {
  width: 23%;
  margin: 0 2%;
}

.about_img img {
  width: 90%;
}

.about_content {
  text-align: left;
  line-height: 2;
}

.about_bg-color {
  background-color: #fff;
}

/* section_contact
---------------------------------------*/
#contact {
  padding: 8% 0;
  text-align: center;
  background-color: #e8562b;
}

@keyframes contactGradientMove {
  0% { background-position: 0% 35%; }
  50% { background-position: 65% 55%; }
  100% { background-position: 100% 30%; }
}

.contact_wrapper .section_title {
  color: #fff;
  border-bottom-color: rgba(255, 255, 255, 0.6);
}

.contact_wrapper {
  display: flex;
  justify-content: center;
  padding-bottom: 3%;
}

.contact_inner {
  display: flex;
  justify-content: space-around;
  margin: 0 auto;
}

.contact_button {
  width: 370px;
  font-size: 2rem;
  font-weight: 600;
  font-family: "Montserrat";
  color: #e8562b;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 15px 0;
  display: flex;
  align-items: center;
  justify-content: center;

  position: relative;
  overflow: hidden;

  /* glassmorphism */
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 24px;
  backdrop-filter: blur(18px) saturate(130%);
  -webkit-backdrop-filter: blur(18px) saturate(130%);
  box-shadow:
    0 14px 34px rgba(111, 70, 49, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.82);

  transition:
    transform 0.35s cubic-bezier(.2,.8,.2,1),
    box-shadow 0.35s ease,
    background 0.35s ease;
}

.contact_button:hover {
  transform: translateY(-5px) scale(1.025);
  background: rgba(255, 255, 255, 0.46);
  box-shadow:
    0 20px 42px rgba(111, 70, 49, 0.17),
    inset 0 1px 0 rgba(255, 255, 255, 0.92);
}

/* hover時にガラス面を光が走る */
.contact_button::before {
  content: "";
  position: absolute;
  top: -45%;
  left: -55%;
  width: 34%;
  height: 190%;
  background: linear-gradient(
    120deg,
    transparent,
    rgba(255, 255, 255, 0.16),
    rgba(255, 255, 255, 0.72),
    rgba(255, 255, 255, 0.16),
    transparent
  );
  transform: rotate(16deg);
  transition: left 0.65s ease;
  pointer-events: none;
}

.contact_button:hover::before {
  left: 125%;
}

.contact_button img {
  width: 20px;
  margin-right: 10px;
}

/* footer
---------------------------------------*/
.footer {
  padding: 50px 0;
  text-align: center;
}

.footer small {
  font-family: "Montserrat";
  font-weight: 500;
  font-size: 14px;
}

/***************************************
レスポンシブ対応
***************************************/

/* header_sp
---------------------------------------*/

/* タブレット */
@media (max-width: 768px) {
  .header_inner {
    padding: 40px 20px;
  }
}

/* モバイル */
@media (max-width: 560px) {
  .header_inner {
    height: 80px;
    padding: 10px 20px;
  }

  .header_menu {
    display: none;
  }

  .header_logo img {
    width: 120px;
    transform: none;
  }
}

/* main_visual_sp
---------------------------------------*/

/* タブレット */
@media (max-width: 768px) {
  .main_visual {
    padding: 5% 20%;
  }

  .main_visual_inner {
    margin: 0;
  }

  .main_visual_title {
    font-size: 5rem;
  }
}

/* モバイル */
@media (max-width: 560px) {
  .main_visual {
    padding: 20% 1%;
    /* text-align: center; */
  }

  .main_visual_inner {
    text-align: center;
  }

  .main_visual_title {
    display: inline;
    /* padding: 10% 0 10% -50%; */
    padding-bottom: 10%;
    font-size: 4.5rem;
    text-shadow: 1px 1px 5px #333;
  }

  .main_visual_text {
    margin: 20px 0 50px;
    line-height: 150%;
    text-shadow: 1px 1px 5px #333;
  }

  .main_visual_link {
    margin-bottom: 5%;
  }
}

/* about_sp
---------------------------------------*/

/* タブレット */
@media (max-width: 768px) {
  .about {
    padding: 5% 20%;
  }

  .about_img img {
    width: 100%;
  }

  .about_content p {
    font-size: 1.4rem;
  }
}

/* モバイル */
@media (max-width: 560px) {
  .about_container {
    padding: 20% 5%;
    margin-bottom: 5%;
  }

  .about_inner {
    display: block;
  }

  .about_img {
    width: 30%;
    /* margin-bottom: 40px; */
    margin: auto;
  }

  .about_content {
    margin-left: 0;
    text-align: center;
  }

  .about_content p {
    font-size: 1.2rem;
  }
}

/* works_sp
---------------------------------------*/

/* タブレット */
@media (max-width: 768px) {
  .works_wrapper {
    padding: 13% 3%;
  }
  .works_inner {
    flex-wrap: wrap;
  }
  .works_item {
    width: 46%;
    margin-bottom: 30px;
  }
}

/* モバイル */
@media (max-width: 560px) {
  .works_wrapper {
    padding: 20% 5%;
  }

  .works_inner {
    display: block;
  }

  .works_item {
    width: 100%;
    margin-bottom: 50px;
  }

  .text {
    padding: 5% 5% 10px;
  }

  .content-title {
    font-size: 2rem;
  }

  .works_btn {
    padding: 0 5% 8%;
  }
}

/* contact_sp
---------------------------------------*/

/* タブレット */
@media (max-width: 768px) {
  #contact {
    padding: 130px 20px;
  }
}

/* モバイル */
@media (max-width: 560px) {
  #contact {
    padding: 80px 20px;
  }

  .contact_wrapper {
    display: block;
  }

  .contact_inner {
    margin: 3% 0;
  }

  .contact_button {
    font-size: 2rem;
  }

  .contact_button img {
    width: 40px;
  }
}
