@charset "utf-8";

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  border: none;  
}

html {
    -webkit-appearance: none;
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}

body {
    font-family: 'Lato', sans-serif;
    font-size: 18px;
    font-weight: 250;
    font-style: normal;
    color: #2a2c30;
    line-height: 1.7;

    /* PC版スタイル */
    @media screen and (max-width: 767px) {
        font-size: 16px;
    }
}

html,body {
    width: 100%;
    overflow-x: hidden;
}

a {
   display: inline-block;
   text-decoration: none;
   transition: opacity 0.4s;
}

a:hover {
    opacity: 0.7;
}

img {
    width: 100%;
    height: auto;
    display: block;
}

.inner {
    max-width: 1000px;
    padding-inline: 20px;
    margin-inline: auto;

    /* PC版スタイル */
    @media screen and (max-width: 767px) {
        .inner {
            padding-inline: 10px;
        }
        
        .contact {
            padding: 60px 10px;
        }
    }
}

.section-title {
    font-size: 50px;
    text-align: center;
    text-transform: capitalize;
    line-height: 1;

    @media screen and (max-width: 767px) {
        font-size: 50px;
    }
}

.section-desc {
    text-align: center;
}

.section-bg {
    background-color: #ffffff;
}

h2 {
    font-weight: normal;
}

/* header */
.header {
    width: 100%;
    height: 100px;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9999;
    background-color: #9cc9cd;
}

.header__logo {
    height: inherit;
}

.header__link {
    height: inherit;
    font-size: 25px;
    color: #2a2c30;
    display: flex;
    align-items: center;

    /* PC版スタイル */
    @media screen and (max-width: 767px) {
        font-size: 30px;
    }
}

.header__inner {
    display: flex;
    justify-content: space-between;
    height: inherit;
}

.header-nav {
    height: inherit;
}

/* スマホでは非表示 */
@media screen and (max-width: 767px) {
  .header-nav {
    display: none;
  }
}

/* PCでは表示（念のため） */
@media screen and (min-width: 768px) {
  .header-nav {
    display: block;
  }
}

.header-nav__lists {
    display: flex;
    column-gap: 50px;
    height: inherit;
}

.header-nav__list {
    height: inherit;
    list-style: none;
}

.header-nav__link {
    font-size: 15px;
    color: #2a2c30;
    height: inherit;
    display: flex;
    align-items: center;
    text-transform: capitalize;
}




/* FV */
.fv {
  position: relative;
  height: 100vh;
  display:  flex;
  justify-content: center;  /* 横方向中央 */
  align-items: center;      /* 縦方向中央 */
  overflow: hidden;
}

.fv__img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.fv__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.fv__text {
  position: relative;
  z-index: 1;
  color: #ffffff;
  text-align: center;
  font-size: 24px;
  line-height: 1.6;
  max-width: 90%;
  padding: 0 20px;
}

@media screen and (max-width: 767px) {
  .fv__text {
    font-size: 18px;
  }
}


/* about */
.about {
    padding-block: 50px 70px;

    /* PC版スタイル */
    @media screen and (max-width: 767px) {
        padding-bottom: 60px;
    }
}

.about__content {
    display: flex;
    justify-content: center;
    column-gap: calc(80 / 960 * 100%);
    margin-top: 24px;

    /* PC版スタイル */
    @media screen and (max-width: 767px) {
        margin-top: 8px;
        display: block;        
    }
}

.about__text {
    flex: 1;
}

.about__lists {
    margin-top: 30px;
    padding-left: 0;
    list-style: none;
}

.about__image {
    width: calc(200 / 960 * 100%);

    /* PC版スタイル */
    @media screen and (max-width: 767px) {
        width: 100%;
        margin-top: 16px;        
    }
}

/* skill */
.skill {
    padding-block: 50px;

    /* PC版スタイル */
    @media  and (max-width: 767px) {
        padding-bottom: 48px;        
    }
}

.skill__items {
    max-width: 790px;
    margin-inline: auto;
    margin-top: 35px;
    font-size: 15px;
    text-align: center;
    display: flex;
    flex-wrap: wrap;
    justify-content: center; /* 中央揃え */
    column-gap: calc(10 / 790 * 100%);

    /* PC版スタイル */
    @media screen and (max-width: 767px) {
        .skill__items {
            flex-direction: column;
            gap: 24px;
        }
        .skill-item {
            width: 100%;
        }        
    }
}

.skill-item {
    width: calc(150 / 790 * 100%);

    /* PC版スタイル */
    @media  screen and (max-width: 767px) {
        width: 100%;        
    }
}

.skill-item:not(:first-of-type) {
    @media  screen  and (max-width: 767px) {
        margin-top: 44px;        
    }
}

.skill-item__image {
    width: 150px;
    margin-inline: auto;

    /* PC版スタイル */
    @media screen and (max-width: 767px) {
        width: 80%;        
    }
}

/* works */
.works {
    padding-block: 50px;
}

.works__items {
    margin-inline: auto;
    margin-top: 35px;
    font-size: 15px;
    text-align: center;
    display: flex;
    column-gap: calc(40 / 960 * 100%);

    /* PC版スタイル */
    @media screen and (max-width: 767px) {
        display: block;
    }
}

.works-item {
    width: calc(210 / 960 * 100%);

    /* PC版スタイル */
    @media screen and (max-width: 767px) {
        width: 100%;        
    }
}

.works-item__text {
    padding-top: 20px;
}

.works-item:not(:first-of-type) {
    @media screen and  (max-width: 767px) {
        margin-top: 36px;        
    }
}

.works-item__image img {
    max-width: 100%;
    height: auto;
}

/* contact */
.contact {
    display: flex;
    justify-content: center;
    padding: 80px 16px;
    max-width: 1000px;
    margin-inline: auto;
}

.contact__form iframe {
    width: 100%;
    max-width: 100%;
    height: 1000px;
    border: none;
    display: block;
}

    @media screen and (max-width: 767px) {
        .contact__form iframe {
            min-width: auto;
        }        
    }


/* footer */
.footer {
    background-color: #9cc9cd;
    padding-block: 30px 30px;
    text-align: center;
}

.footer__content {
    max-width: 435px;
    margin-inline: auto;
}

.footer-nav {
    border-bottom: 1px solid #2a2c30;
}

.footer-nav__lists {
    display: flex;
    justify-content: center;
    column-gap: 20px;
}

.footer-nav__list {
    list-style: none;
}

.footer-nav__link {
    color: #2a2c30;
    font-size: 20px;
    text-transform: capitalize;
}

.footer__copyright {
    color: #2a2c30;
    font-size: 15px;
    margin-top: 8px;
}

.sns {
    display: flex;
    align-items: center;
    justify-content: end;
    column-gap: 12px;
    margin-top: 16px;
}

.sns__list {
    list-style: none;
    line-height: 0;
}

.sns__link {
    width: 24px;
}