@charset "UTF-8";

body {
    overflow-x: hidden;
}

main {
    padding-top: 80px;
}

img {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
    max-width: 100%;
}

#header {
    top: 0;
    width: 100%;
    height: 80px;
    line-height: 80px;
    align-items: center;
    background-color: #fff;
    z-index: 10;
    justify-content: center;
    position: fixed;

}

#header .header-images {
    padding: 20px 0px;
    width: 100%;
    display: block;
}
.main-visual img {
    width: 100%;
    height: auto;
    object-fit: contain;
   }
.navi {
    display: flex;
    justify-content: center;
    align-items: center;
}

.navi .menu {
    display: flex;
    gap: 100px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.navi a {
    text-decoration: none;
    color: black;
    transition: opacity 0.3s;
}

.navi a:hover {
    opacity: 0.5;
}

.section-about_content {
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
}


.section-about {
    padding: 100px ;
}
.about-text {
    text-align: left;
}
.section-about_text-area {
  flex: 1;
  margin-top: 160px;
  margin-left: 240px;
  display: flex;
  flex-direction: column; /* 中で縦並び */
  align-items: flex-start; /* 左寄せ */
  text-align: left;
}

.section-about_text-area h2,
.section-about_text-area p {
  margin: 0 0 20px 0;  /* 適度な余白 */
}

.button {
  margin-top: 20px;  /* テキストとの距離だけ */
  position: static;  /* ← absolute禁止 */
}

.section-about_image {
  flex: 1;
  display: flex;
  justify-content: flex-end; /* 画像を右寄せ */
}

.section-about_image img {
  max-width: 500px;
  height: auto;
  margin-right: 100px;
}
.button a {
    position: relative;
    display: inline-block;
    white-space: nowrap;
    padding: 20px 60px 25px;
    text-decoration: none;
    color: #333;
    transition: 0.3s ease-in-out;
    margin-top: -10%;
    align-self: flex-start;
}

.button a:before,
.button a:after {
    content: "";
    position: absolute;
    display: block;
    top: 50%;
}

.button a:before {
    width: 0.5rem;
    height: 0.5rem;
    left: 0.6rem;
    border-top: solid 1px #333;
    border-right: solid 1px #333;
    z-index: 2;
    transform: translateY(-50%) rotate(45deg);
    transition: all 0.3s;
}

.button a:after {
    left: 0;
    background: #eee;
    z-index: 1;
    width: 2rem;
    height: 2rem;
    border-radius: 4rem;
    transform: translateY(-50%);
    transition: all 0.5s;
}

.button a span {
    position: relative;
    transition: all 0.3s;
    z-index: 3;
    top: 4px;
}

.button a:hover span {
    color: #fff;
}

.button a:hover:before {
    left: 2.5rem;
    border-top: solid 2px #fff;
    border-right: solid 2px #fff;
}

.button a:hover:after {
    right: 0;
    width: 100%;
    background: #333;
}

body {
    vertical-align: middle;
    padding: 50px 0;
    text-align: center;
}

.skill-section {
  background-color: #465f85;
  padding: 50px 20px;
  text-align: center;
  padding-bottom: 100px;
}

.skill-section h2 {
  color: #fff;
  font-size: 28px;
  margin-bottom: 50px;
}

.skill-wrapper {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 40px;
}

.skill-card {
  background-color: #fff;
  width: 480px;
  height: auto;
  padding: 40px 35px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.skill-title {
    margin-top: 50px;
  font-size: 20px;
  margin-bottom: 10px;
  text-transform: capitalize;
}

.skill-image {
  width: 150px;
  height: auto;
  margin: 0 auto;
}

.skill-text {
  font-size: 16px;
  line-height: 1.6;
  text-align: left;
  margin-bottom: 50px;
  margin-top: 70px;
}

.tools-wrapper {
  margin-top: auto;
}

.ticket-line {
    display: flex;
    position: relative;
  width: 100%;
  height: 20px;
  margin: 20px 0 10px;
}

.dashed-line {
  border-bottom: 2px dashed #333;
  height: 0;
  width: 100%;
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
}

.triangle {
  width: 0;
  height: 0;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}

.triangle.left {
  left: -35px;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-left: 10px solid #465f85; /* ▶ */
}

.triangle.right {
  right: -35px;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-right: 10px solid #465f85; /* ◀ */
}
.tool-names {
  font-size: 15px;
  color: #333;
  text-align: center;
  margin-top: 30px;
  margin-bottom: -10px;
}

.adjust-text {
    margin-top: 40px;
}

/*制作物*/

.section-title {
    padding-top: 50px;
}
.works-section {
    padding-top: 50px;
}

.works-grid.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    justify-items: center;
    margin-top: 50px;
}
.works-grid.grid-3 {
    width: 180%;
    margin-top: 200px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    position: relative;
    transform: translateX(30%);
    gap: 50px;
   
    
}
.work-item {
    width: 80%;
}

.work-image {
    width: 100%;
    transition: transform 0.3s ease;
}
.work-image:hover {
    transform: scale(1.05);
}
.work-text {
    text-align: left;
    margin-top: 20px;
    line-height: 1.8;
}
.work-title {
    font-weight: bold;
    font-size: 16px;
}

@media screen and (min-width: 375px) and (max-width: 480px){
    .about-text {
        font-size: 8px !important;
    }
    .section-about_image img {
        margin-left: -40px;
    }
    
    .skill-card {
        margin: 0 auto;
         padding: 40px 30px !important; 
    }
    .work-text {
        font-size: 8px;
    }
    .work-item {
        margin-bottom: -70px;
    }
}

@media screen and (min-width: 480px) and (max-width: 768px) {
   html, body {
    overflow-x: hidden;
   }
  
   .main-visual img {
    width: 100%;
    height: auto;
    object-fit: contain;
   }
    .section-about_content {
        flex-direction: column;
        align-items: center;
    }
    .section-about_text-area {
        margin-top: 20px;
        margin-left: -40px !important;
        font-size: 8px;
        text-align: left;
    }
    .about-text {
        font-size: 10px !important;
    }
    .section-about h2 {
        margin-top: 0;
        margin-bottom: 10px;
    }
    .section-about_image img {
        margin-left: 10px;
    }
    .button a:before {
        width: 0.3rem;
        height: 0.3rem;
        left: 0.4rem;
        transform: translateY(-210%) rotate(45deg);
    }
    .button a:after {
        width: 1.2rem;
        height: 1.2rem;
        transform: translateY(-100%);
    }
    .button {
        margin-top: 0;
    }
    .button a span {
        display: inline-block;
        position: relative;
        top: -5px;
    }
    .skill-wrapper {
        flex-direction: column !important;
        align-items: center;
    }
    
    .skill-text {
        font-size: 10px;
    }
    .work-title {
        font-size: 10px;
    }
    .work-item {
        margin-bottom: -70px;
    }
}

@media screen and (max-width: 768px) {
   html, body {
    overflow-x: hidden;
   }
  
    .section-about_content {
        flex-direction: column;
        align-items: center;
    }
    .section-about_text-area {
        margin-top: 20px;
        margin-left: -40px !important;
        font-size: 8px;
        text-align: left;
    }
    .section-about h2 {
        margin-top: 0;
        margin-bottom: 10px;
    }
    .section-about_image img {
        width: 250px !important;
        margin-right: 60px;
    }
    .button a:before {
        width: 0.3rem;
        height: 0.3rem;
        left: 0.4rem;
        transform: translateY(-210%) rotate(45deg);
    }
    .button a:after {
        width: 1.2rem;
        height: 1.2rem;
        transform: translateY(-100%);
    }
    .button {
        margin-top: 0;
    }
    .button a span {
        display: inline-block;
        position: relative;
        top: -5px;
    }
    .skill-wrapper {
        flex-direction: column !important;
        align-items: center;
    }
    
    .skill-text {
        font-size: 10px;
    }
    .work-title {
        font-size: 10px;
    }
}

@media screen and (max-width: 1024px) {
   html, body {
    overflow-x: hidden;
   }
  
    .section-about_content {
        flex-direction: row;
        align-items: center;
    }
    .section-about_text-area {
        margin-top: 20px;
        margin-left: 40px;
        text-align: left;
    }
    .about-text {
        font-size: 12px !important;
    }
    .section-about h2 {
        margin-top: 0;
        margin-bottom: 10px;
    }
    .section-about_image img {
        width: 250px !important;
        margin-right: -80px !important;
    }
    .button a:before {
        width: 0.3rem;
        height: 0.3rem;
        left: 0.4rem;
        transform: translateY(-210%) rotate(45deg);
    }
    .button a:after {
        width: 1.2rem;
        height: 1.2rem;
        transform: translateY(-100%);
    }
    .button {
        margin-top: 0;
    }
    .button a span {
        display: inline-block;
        position: relative;
        top: -5px;
    }
    
    .skill-wrapper {
        flex-direction: row;
        justify-content: center;
        gap: 10px;
    }
    .skill-card {
        flex: 1 1 100px;
        width: 300px;
    }
    .skill-text {
        font-size: 10px;
    }
    .tool-names {
        font-size: 10px;
    }
    .skill-image {
        width: 100px;
    }
    .skill-title {
        font-size: 14px;
    }
    .work-item {
        margin-bottom: -70px;
    }
}

@media screen and (max-width: 1024px) {
   html, body {
    overflow-x: hidden;
   }
  
    .section-about_content {
        flex-direction: row;
        align-items: center;
    }
    .section-about_text-area {
        margin-top: 20px;
        margin-left: 40px;
        font-size: 8px;
        text-align: left;
    }
    .section-about h2 {
        margin-top: 0;
        margin-bottom: 10px;
    }
    .section-about_image img {
        width: 300px;
        margin-right: -10px;
    }
    .button a:before {
        width: 0.3rem;
        height: 0.3rem;
        left: 0.4rem;
        transform: translateY(-210%) rotate(45deg);
    }
    .button a:after {
        width: 1.2rem;
        height: 1.2rem;
        transform: translateY(-100%);
    }
    .button {
        margin-top: 0;
    }
    .button a span {
        display: inline-block;
        position: relative;
        top: -5px;
    }
    
    .skill-wrapper {
        flex-direction: row;
        justify-content: center;
        gap: 10px;
    }
    .skill-card {
        flex: 1 1 100px;
        width: 300px;
    }
    .skill-text {
        font-size: 10px;
    }
    .tool-names {
        font-size: 10px;
    }
    .skill-image {
        width: 100px;
    }
    .skill-title {
        font-size: 14px;
    }
}

@media screen and (max-width: 1200px) {
   html, body {
    overflow-x: hidden;
   }
  
    .section-about_content {
        flex-direction: row;
        align-items: center;
    }
    .section-about_text-area {
        margin-top: 20px;
        margin-left: 40px;
        font-size: 8px;
        text-align: left;
    }
    .section-about h2 {
        margin-top: 0;
        margin-bottom: 10px;
    }
    .section-about_image img {
        width: 350px;
        margin-right: -10px;
    }
    .button a:before {
        width: 0.3rem;
        height: 0.3rem;
        left: 0.4rem;
        transform: translateY(-210%) rotate(45deg);
    }
    .button a:after {
        width: 1.2rem;
        height: 1.2rem;
        transform: translateY(-100%);
    }
    .button {
        margin-top: 0;
    }
    .button a span {
        display: inline-block;
        position: relative;
        top: -5px;
    }
    
    .skill-wrapper {
        flex-direction: row;
        justify-content: center;
        gap: 10px;
    }
    .skill-card {
        flex: 1 1 100px;
        width: 300px;
    }
    .skill-text {
        font-size: 10px;
    }
    .tool-names {
        font-size: 10px;
    }
    .skill-image {
        width: 100px;
    }
    .skill-title {
        font-size: 18px;
    }
    .about-text {
        font-size: 11px;
        text-align: left;
    }
    .button a span {
        font-size: 12px;
}

}

@media screen and (max-width: 1440px) {
   html, body {
    overflow-x: hidden;
   }
  
    .section-about_content {
        flex-direction: row;
        align-items: center;
    }
    .section-about_text-area {
        margin-top: 20px;
        margin-left: 40px;
        font-size: 8px;
        text-align: left;
    }
    .section-about h2 {
        margin-top: 0;
        margin-bottom: 10px;
    }
    .section-about_image img {
        width: 350px;
        margin-right: -10px;
    }
    .button a:before {
        width: 0.3rem;
        height: 0.3rem;
        left: 0.4rem;
        transform: translateY(-210%) rotate(45deg);
    }
    .button a:after {
        width: 1.2rem;
        height: 1.2rem;
        transform: translateY(-100%);
    }
    .button {
        margin-top: 0;
    }
    .button a span {
        display: inline-block;
        position: relative;
        top: -5px;
    }
    
    .skill-wrapper {
        flex-direction: row;
        justify-content: center;
        gap: 10px;
    }
    .skill-card {
        flex: 1 1 100px;
        width: 300px;
    }
    .skill-text {
        font-size: 10px;
    }
    .tool-names {
        font-size: 10px;
    }
    .skill-image {
        width: 100px;
    }
    .skill-title {
        font-size: 18px;
    }
    .about-text {
        font-size: 14px;
        text-align: left;
    }
    .button a span {
        font-size: 12px;
}

}