/* 基本設定 */
.body {
    margin: 0;
    padding: 0;
    position: relative;
    transition: 0.6s ease;
    font-family: 'roboto', sans-serif;
    color: #0C0F18;
}
.secondary-color {
    color: #646261;
}

html {
    scroll-behavior: smooth;
    font-feature-settings: "kern"1;
    -webkit-font-smoothing: antialiased;
}
img {
    width: 100%;
    height: auto;
    margin: 0 auto;
}
a {
    text-decoration: none;
    color: #2D2B2A;
}
button {
    padding: 12px 24px;
    border-radius: 90px;
    border-style: solid;
    border-color: #333;
    border-top-width: 2px;
    border-right-width: 4px;
    border-bottom-width: 4px;
    border-left-width: 4x;
    cursor: pointer;
    background-color: #008BD2;
    color: #FFF;
    white-space: nowrap;
    font-weight: 600;
    max-width: max-content;
    height: 48px;
    font-size: 12px;
    line-height: 24px;
    display: flex;
    align-items: center;
}
button:hover {
    background-color: #66B9E4;
}
.secondary-button {
    background-color: #FFF;
    color: #2D2B2A;
}
.secondary-button:hover {
    background-color: #E3E3E3;
}
.icon-button {
    background-color: #FFF;
    color: #2D2B2A;
    display: flex;
    align-items: center;
    gap: 10px;
    height: 56px;
}
.icon-button svg {
    width: 32px;
    background-color: #008BD2;
    border-radius: 90px;
    color: #FFF;
}
.icon-button:hover {
    color: #FFF;
}
.icon-button:hover svg {
    background-color: #fff;
    color: #66B9E4;
    transform: rotate(45deg);
}
.text-button {
    background-color: transparent;
    padding: 0;
    display: flex;
    gap: 16px;
    align-items: center;
}

h1 {
    font-size: 52px;
    line-height: 120%;
    font-weight: 400;
    font-family: "Albert Sans";
    letter-spacing: 0%; 
    margin: 0 0;
}
h2 {
    font-size: 40px;
    line-height: 46px;
    font-weight: 500;
    font-family: "Albert Sans";
    letter-spacing: 0%; 
    margin: 0 0;
}
h3 {
    font-size: 34px;
    line-height: 120%;
    font-weight: bold;
    font-family: "Albert Sans";
    letter-spacing: 0%; 
    margin: 0 0;
}
h4 {
    font-size: 28px;
    line-height: 120%;
    font-weight: bold;
    font-family: "Albert Sans";
    letter-spacing: 0%; 
    margin: 0 0;
}
h5 {
    font-size: 22px;
    line-height: 120%;
    font-weight: bold;
    font-family: "Albert Sans";
    letter-spacing: 0%; 
    margin: 0 0;
}
.t1 {
    font-size: 24px;
    line-height: 140%;
    font-weight: bold;
    font-family: "Albert Sans";
    letter-spacing: 0%;
    margin: 0 0;
}
.t2 {
    font-size: 18px;
    line-height: 150%;
    font-weight: bold;
    font-family: "Albert Sans";
    letter-spacing: 0%; 
    margin: 0 0;
}
.b1 {
    font-size: 16px;
    line-height: 30px;
    font-weight: 400;
    font-family: "Albert Sans";
    letter-spacing: 5%; 
    margin: 0 0;
}
.b2 {
    font-size: 16px;
    line-height: 24px;
    font-weight: 400;
    font-family: "Albert Sans";
    letter-spacing: 5%; 
    margin: 0 0;
}
.l1 {
    font-size: 12px;
    line-height: 24px;
    font-weight: 400;
    font-family: "Albert Sans";
    letter-spacing: 0%;
    margin: 0 0;
}
.l2 {
    font-size: 14px;
    line-height: 150%;
    font-weight: 500;
    font-family: "Albert Sans";
    letter-spacing: 0%;
    margin: 0 0;
}
ul {
    padding:0 0 0 16px;;
}
ol, li {
    padding-bottom: 8px;
}
li p {
    margin: 8px 0px;
}
.italic {
    font-style: italic;
}

/* Header設定 */
.site-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0px 2%;
    max-width: 1280px;
    margin: 0 auto;
    /* width: 100%; */
}
.site-header .logo img {
    width: 80px;
}
.site-header .main-nav ul {
    display: flex;
    justify-content: flex-end;
    flex-wrap: wrap;
    padding: 0;
    list-style: none;
    gap: 16px;
}
.site-header .main-nav ul li {
    display: flex;
    align-items: center;
}
.site-header .main-nav ul li  .text-button {
    display: none;
}
@media screen and (min-width:500px) {
    .site-header .main-nav ul li  .text-button {
        display: block;
    }
}

.site-header .main-nav.desktop {
    display: none;
}
.site-header .main-nav.mobile {
    display: block;
}


@media screen and (min-width:500px) {
    .site-header .main-nav.desktop {
        display: block;
    }
    .site-header .main-nav.mobile {
        display: none;
    }
}

.site-header .main-nav ul a {
    padding: 8px 11px;
    /* text-decoration: none; */
    color: #0C0F18;
    display: flex;
    /* width: 60px; */
    font-size: 16px;
    justify-content: center;
    line-height: 150%;
}

/* HOME */

/* HOME  MAIN VISUAL*/
.site-main.home {
    position: relative;
}
.site-main.home .main-visual.desktop {
    display: none;
}
.site-main.home .main-visual.mobile {
    display: flex;
    flex-direction: column;
}
.site-main.home .main-visual.mobile .image {
    width: 100%;
    height: 400px;
    overflow: hidden;
    position: relative;
}
.site-main.home .main-visual.mobile .image img {
    position: absolute;
    right: -40px;
    top: 0;
    height: 100%;
    width: auto;
}

@media screen and (min-width:600px) {
    .site-main.home .main-visual.mobile {
        display: none;
    }
    .site-main.home .main-visual.desktop {
        display: flex;
    }
}




.site-main.home .main-visual {
    position: relative;
    display: flex;
    max-width: 1300px;
    margin: 0 auto;
    padding: 100px 72px 40px;
    gap: 80px;
    align-items: center;
}
.site-main.home .main-visual.mobile {
    padding: 100px 0px 40px;
}
@media screen and (max-width:600px) {
    .site-main.home .main-visual.mobile {
        padding-top: 24px;
    }

}
.site-main.home .main-visual .content.right {
    flex-shrink: 0;
    /* width: min-content; */
}
.site-main.home .main-visual .content.right img {
    width: 420px;
    padding: 0 80px;
}
.site-main.home .main-visual .content.left {
    display: flex;
    flex: 1;

}
.site-main.home .main-visual .content {
    display: flex;
    flex-direction: column;
    gap: 32px;
    z-index: 2;
}
.site-main.home .main-visual .content .buttons {
    display: flex;
    gap: 24px;
}



.site-main.home .main-visual.mobile h1{
    font-size: 32px;
    line-height: 38px;
    font-weight: 400;
    padding-left: 16px;
    padding-right: 16px;
}
.site-main.home .main-visual.mobile p{
    padding-left: 16px;
    padding-right: 16px;
}
.site-main.home .main-visual.mobile .buttons{
    padding-left: 16px;
    padding-right: 16px;

}


@media (min-width: 600px) and (max-width: 1000px) {
    .site-main.home .main-visual h1{
        font-size: 32px;
        line-height: 38px;
        font-weight: 400;
    }
    .site-main.home .main-visual {
        position: relative;
        display: flex;
        margin: 0 auto;
        padding: 100px 16px 40px;
        gap: 24px;
        align-items: center;
    }
    .site-main.home .main-visual .content.right {
        width: 40%;
    }
    .site-main.home .main-visual .content.right img{
        width: 100%;
        padding: 0px;

    }
}

/* 写真を出すアニメーション用 */
/* .photo {
  position: relative;
  overflow: hidden;
}

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

.photo.is-active::before {
  content: '';
  position: absolute;
  inset: 0;
  background: #fff;
  z-index: 99;
  pointer-events: none;
  animation: img-wrap 1.4s cubic-bezier(0.4,0,0.2,1) forwards;
}

@keyframes img-wrap {
  100% { transform: translateX(100%); }
} */

.bg-image {
  position: absolute;
  z-index: 0;
  pointer-events: none; 
  object-fit: cover;   
}
.bg-image.bg1 {
    top: -120px;
    left: -20px;
    width: 180px;
    display: block;
    
}
.bg-image.bg2 {
    top: -70px;
    right: -40px;
    width: 140px;
    display: none;
    object-fit: cover;   
}

.bg-image.bg3 {
    top: 360px;
    right: 5vw;
    width: 140px;
    object-fit: cover;
    display: block;
}

@media screen and (min-width:1400px) {
    .bg-image.bg3 {
        right: 140px;
    }
}


.bg-image.bg4 {
    top: 260px;
    left: -170px;
    width: 140px;
    object-fit: cover;
    display: block;
    transform: rotate(90deg);
    z-index: 4;
    display: none;
}
.bg-image.bg5 {
    top: -300px;
    left: -220px;
    width: 140px;
    object-fit: cover;
    display: block;
    transform: rotate(90deg);
    z-index: 4;
}
.bg-image.bg6 {
    bottom: 0px;
    right: 5vw;
    width: 140px;
    z-index: 0;
    object-fit: cover;
    display: block;
    /* z-index: 4; */
}
@media screen and (max-width:600px) {
    .bg-image.bg1,
    .bg-image.bg3 {
        display: none;
    }
}
@media screen and (max-width:500px) {
    .bg-image.bg2,
    .bg-image.bg4 {
        display: block;
    }
}

/* HOME  RECENT WORK*/
.recent-work {
    padding: 0px 72px;
    max-width: 1300px;
    margin: 100px auto;
    display: flex;
    flex-direction: column;
    gap: 40px;
    z-index: 2;
    background-color: #FFF;
    position: relative
}
@media screen and (max-width:1000px) {
    .recent-work {
        padding: 0px 16px;
        z-index: 2;
        background-color: #FFF;
        margin: 100px auto;
    }
}
.content-wrapper {
    display: flex;
    gap: 40px;
    padding: 20px 0px;
    width: 100%;
    z-index: 2;
    background-color: #FFF;
}
@media (max-width: 1100px) {
  .content-wrapper {
    flex-direction: column;
  }
  .content-wrapper .left {
    order: 2;
  }
  .content-wrapper .right {
    order: 1;
    margin: auto;
  }

}
.content-wrapper .left {
    display: flex;
    flex-direction: column;
    gap: 40px;
}
.content-wrapper .left .text {
    display: flex;
    flex-direction: column;
    gap: 24px;
}
.content-wrapper .right {
    max-width: 600px;
}
.recent-work .border {
    /* border-top: #ECEDF0; */
    display: block;
    height: 1px;
    background-color: #ECEDF0;
}
.content-wrapper .tips {
    display: flex;
    flex-wrap: wrap; 
    gap: 8px;
}
.content-wrapper .tip {
    padding: 6px 12px;
    background-color: #ECEDF0;
    width: max-content;
    border-radius: 90px;
    font-size: 14px;
}

/* Home About */
.about-me {
    padding: 40px 72px 140px 72px;
    max-width: 1300px;
    margin: 0 auto;
    display: flex;
    flex-direction: row;
    gap: 80px;
    align-items: center;
    position: relative;
}

.about-me .left img {
    width: 440px;
}
.about-me .right {
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding: 0 40px;
}
@media screen and (max-width:1000px) {
    .about-me {
        padding: 40px 16px 140px 16px;
    }
    .about-me .left img {
        width: 100%;
        max-width: 400px;
    }
    .about-me .right {
        padding: 0 16px;
    }
}

@media (max-width: 1100px)  {
    .about-me {
        flex-direction: column;
    }
}




/* Footer */
.site-footer.home {
    background-color: #008BD2;
    color: #fff;
    padding-bottom: 8px;
    position: relative;
    z-index: 2;
}

.site-footer.home .footer-content {
    padding: 100px 72px;
    max-width: 1300px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    gap: 64px;
}
@media screen and (min-width:930px) {
    .site-footer.home .footer-content {
        flex-direction: row;
    }
}
@media screen and (max-width:600px) {
    .site-footer.home .footer-content {
        padding: 100px 16px;
    }
    .site-footer.home .footer-content .left .mobile {
        text-align: center;
    }

}
.site-footer.home .footer-content .right {
    display: flex;
    flex-direction: row;
    gap: 24px;
}

.site-footer.home .left {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.site-footer.home .footer-content .left .desktop {
    display: none;
}
@media screen and (max-width:930px) {
    .site-footer.home .footer-content .left .desktop {
    text-align: center;
    }
    .site-footer.home .footer-content p{
    text-align: center;
    }
}
@media screen and (min-width:430px) {
    .site-footer.home .footer-content .left .desktop {
        display: block;
    }
    .site-footer.home .footer-content .left .mobile {
        display: none;
    }
}
.site-footer.home .copy {
    text-align: center;
}

/* Featured Projects */
.site-main.work {
    display: flex;
    flex-direction: row;
    /* margin-top: 72px; */
}

.site-main.work .side-nav {
    max-width: 400px;
    padding: 40px 80px 40px 40px;
    background-color: #F8F8F7;
    overflow-y: auto;
    height: calc(100vh - 72px);
    position: absolute;
}
.site-main.work .side-nav ul {
    display: flex;
    flex-direction: column;
    padding: 0;
    list-style: none;
    gap: 24px;
}
.site-main.work .side-nav ol {
    margin-top: 24px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}


.site-main.work .background {
    overflow-y: auto;
    /* height: calc(100vh - 72px); */
    height: 100vh;
    width: 100%;
    scroll-behavior: smooth;
}
.site-main.work .main-contents {
    max-width: 620px;
    display: flex;
    flex-direction: column;
    margin: 64px auto 160px;
    gap: 64px;
    margin-left: calc(50vw - 150px);
}

@media screen and (max-width:1000px) {
    .site-main.work .side-nav {
        display: none;
    }
    .site-main.work .main-contents {
        margin: 0 auto 160px;
    }
}

@media screen and (max-width:650px) {
    .site-main.work .main-contents {
        margin: 0 16px 80px;
    }

}

.site-main.work section {
    display: flex;
    flex-direction: column;
    gap: 24px;
}
.site-main.work .section-title {
    display: flex;
    border-top: 1px solid #000;
    border-bottom: 1px solid #000;
    padding: 12px;
    padding-left: 16px;
    padding-right: 16px;
    margin-bottom: 16px;
    
}
.site-main.work .paragraph {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.site-main.work .summary ul {
    margin: 0;
}
.site-main.work .summary ul li p {
    padding-top: 8px;
}
.site-main.work .approach .steps {
    display: flex;
    flex-direction: column;
    gap: 56px;
}
.step-item {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.step-item h5  {
    border-left: 4px solid #000;
    padding-left: 16px;
}
.step-title {
    display: flex;
    flex-direction: row;
    gap: 8px;
    align-items: center;
}

.key-hightlights {
    padding: 18px;
    background-color: #F0EFEC;
    border-radius: 8px;
    padding-left: 32px;
    padding-right: 32px;
}
/* .key-hightlights .step-title {
    margin-bottom: 16px;
} */
.key-hightlights ul li{
    margin-top: 16px;
    padding-bottom: 0px;
}
.site-main.work .results ul {
    margin: 0;
}
.site-main.work .results ul p {
    margin: 8px 0;
}

.site-main.work .image {
    /* display: flex;
    flex-direction: column; */
    text-align: center;
}
.site-main.work .image .secondary-button{
    display: inline-block;
    width: auto;
    /* color: #0C0F18;
    border: 1px solid #0C0F18;
    padding: 12px 24px; */
    margin-top: 16px;
}



/* Lock Screen */
.lock-screen {
    display: flex;
    height: calc(100vh - 16px);
    align-items: center;
    justify-content: center;

}
.lock-screen form {
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: center;
    /* background-color: #000; */
    margin: 24px;
    border-radius: 28px;
    max-width: 520px;
}
.lock-screen .contact-info {
    text-align: center;
}
/* .lock-screen button {
    width: 100%;
} */

.wide-button {
    width: 100%;
    max-width: none;
    justify-content: center;
    margin-top: 24px;
}
input {
    height: 56px;
    width: 100%;
    border: none;
    border-bottom: 1px solid #ccc; /* 下線だけ残す */
    border-radius: 0;            /* 丸みをなくす */
    outline: none;     
}
.error-message {
    color: #AD3300;
}