@charset "utf-8";

/* ==================================================
Common CSS
================================================== */

@media(max-width:999px){

/*STYLE*/
html, body {
    overflow-x: hidden;
    width:100%;
    margin: 0;
    padding: 0;
}

.sp {
    display:block;
}

.pc {
    display:none;
}

.cts {
    width:90%;
}

.titles {
    padding-bottom:20px;
    text-align:center;
}

.titles h2 {
    font-size:200%;
    font-weight:bold;
    line-height:135%;
}

.titles .icon {
    width:60px;
    margin:0 auto 10px;
}

.titles .copy {
    font-size:100%;
    font-weight:600;
}



/*HEADER*/
header {
    display:block;
    width:100%;
    height:60px;
    position:fixed;
    top:0;
    left:0;
    z-index:999;
    overflow:hidden; 
    box-sizing:border-box;
    }


.sp_menu_btn {
    position: absolute;
    top: 18px; 
    right: 20px;
    width: 30px;
    height: 24px;
    cursor: pointer;
    z-index: 1000;
    display: block;
}

.sp_menu_btn span {
    display: block;
    position: absolute;
    width: 100%;
    height: 4px;
    background-color: #333;
    transition: .3s;
    border-radius: 4px;
}

.sp_menu_btn span:nth-child(1) {
    top: 0;
    background:#3dc47e;
}

.sp_menu_btn span:nth-child(2) {
    top: 11px;
    background:#f36f21;
}

.sp_menu_btn span:nth-child(3) {
    top: 22px;
    background:#e7352b;
}

.sp_menu_btn.active span {
    background:#000 !important;
}

.sp_menu_btn.active span:nth-child(1) { transform: translateY(11px) rotate(-45deg); }
.sp_menu_btn.active span:nth-child(2) { opacity: 0; }
.sp_menu_btn.active span:nth-child(3) { transform: translateY(-11px) rotate(45deg); }

#grobal {
    display: block;
    position: fixed;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100vh;
    transition: .5s;
    z-index: 998;
    visibility: hidden;
}

#grobal.active {
    left: 0;
    visibility: visible;
}

#grobal .grobal_nav {
    display: flex; 
    flex-direction: column;
    background: rgba(255, 255, 255, 0.9);
    width:80vw;
    height: 100%;
    justify-content: center;
    align-items: center;
}

#grobal .grobal_nav nav {
    width: 100%; 
}

#grobal .grobal_nav nav a {
    padding: 20px;
    text-align: center;
    display: block;
}

#grobal .grobal_nav nav a .en {
    font-size:150%;
    font-weight:900;
    line-height:100%;
}





/*MV*/
#mv {
    width:100%;
    height:100vw;
    position:relative;
}

#mv .logo {
    width:80vw;
    position: absolute;
    top:50%;
    left: 50%;
    transform: translate(-50%,-50%);
}



/*ABOUT*/
#about {
    padding:30px 0;
}

#about .titles h2 {
    font-size:250%;
}

#about .profile {
    display:flex;
    justify-content:space-between;
    align-items:center;
    flex-direction:column;
    padding:10px 0;    
}

#about .profile .photo {
    width:60vw;
    margin-bottom:20px; 
}

#about .profile .photo img {
    border-radius:100vw;
}

#about .profile .profiles {
    padding:10px;
}

#about .profile .profiles .names {
}

#about .profile .profiles .names .name {
    font-size:200%;
    font-weight:900;
}

#about .profile .profiles .names .en {
    font-size:125%;
    font-weight:900;
}

#about .profile .profiles .tx {
}



/*SKILL*/
#skill {
    padding:30px 0;
}

#skill .titles h2 {
    font-size:250%;
}

#skill .details {
}

#skill .details .detail {
    padding:0 30px 30px 30px;
}

#skill .details .detail .illust {
    width:120px;
    margin:0 auto 20px;
}

#skill .details .detail .item {
    font-size:150%;
    font-weight:bold;
    text-align:center;
    padding-bottom:15px;
}

#skill .details .detail .messages {
}

#skill .details .detail .messages .message {
    margin-bottom:30px;
}

#skill .details .detail .messages .message:last-child {
    margin-bottom:0;
}

#skill .details .detail .messages .message .ex {
    font-weight:500;
}

#skill .levels {
    display:flex;
    flex-wrap:wrap; 
}

#skill .levels .level {
    width:50%;
    display:flex;
    flex-direction:column;
    align-items:center;
    padding:15px;
}

#skill .levels .level p {
    font-size:100%;
    font-weight:bold;
    display:flex;
    align-items:center;
    margin-bottom:10px;
}

#skill .levels .level p img {
    height:5vh;
    margin-right:10px;
}

#skill .levels .level .meter {
}



/*SPECIALTY*/
#specialty {
    width:100%;
    height:auto;
    position:relative;
    overflow: hidden;    
}

#specialty .specialty_slider {
    width:100%;
    height:80vw;
}

#specialty .specialty {
    width:100%;
    height:100%;
}

#specialty .specialty1 {
    background:url(../img/specialty_sp_1.jpg) center;
    background-size:cover;
}

#specialty .specialty2 {
    background:url(../img/specialty_sp_2.jpg) center;
    background-size:cover;
}

#specialty .specialty3 {
    background:url(../img/specialty_sp_3.jpg) center;
    background-size:cover;
}

#specialty .cts {
    width:100%;
    height:100%;
}

#specialty .copies {
    position:absolute;
    top:23vw;
    right:0;
    z-index:999;
}

#specialty .copies h2 {
    font-size:125%;
    font-weight:700;
    line-height:100%;
    color:#fff;
    margin:8px 0;
    text-align:right;
}

#specialty .copies h2 .copy {
    padding:7px 10px;
    position:relative;
    display:inline-block;
}

#specialty .copies h2 .line {
    content:"";
    animation:1s opencopy ease forwards;
    -webkit-animation:1s opencopy ease forwards;
    position:absolute;
    background:rgba(0,0,0,0.95);
    width:100%;
    height:100%;
    top:0;
    right:0;
    z-index:-1;
}



/*SCENE*/
#scene {
    padding:25px 0;
    overflow: hidden;
}



/*WORKS*/
#works {
    padding:50px 0;
}

#works .cts {
    width:100%;
}

#works .titles h2 {
    font-size:250%;
}

#works .cases {
}

#works .cases .case {
    margin-bottom:50px;
}

#works .cases .case:last-child {
    margin-bottom:0;
}

#works .cases .case .photo {
    width:95%;
    height:70vw;
    margin-bottom:20px;
}

#works .cases .case:nth-child(even) .photo {
    margin:0 0 20px auto;
}

#works .cases .case .photo1 {
    background:url(../img/case_1.jpg) center;
    background-size:cover;
}

#works .cases .case .photo2 {
    background:url(../img/case_2d.jpg) center;
    background-size:cover;
}

#works .cases .case .photo3 {
    background:url(../img/case_3.jpg) center;
    background-size:cover;
}

#works .cases .case .detail {
    width:90%;
    margin:auto;
    text-align:center;
}

#works .cases .case .detail .category_g {
    font-size:100%;
    font-weight:700;
    line-height:100%;
    color:#fff;
    background:#3dc47e;
    padding:5px 15px 7px;
    display:inline-block;
    border-radius:10vw;
    margin-bottom:10px;
}

#works .cases .case .detail .category_o {
    font-size:100%;
    font-weight:700;
    line-height:100%;
    color:#fff;
    background:#f36f21;
    padding:5px 15px 7px;
    display:inline-block;
    border-radius:10vw;
    margin-bottom:10px;
}

#works .cases .case .detail .category_r {
    font-size:100%;
    font-weight:700;
    line-height:100%;
    color:#fff;
    background:#e7352b;
    padding:5px 15px 7px;
    display:inline-block;
    border-radius:10vw;
    margin-bottom:10px;
}

#works .cases .case .detail h3 {
    font-size:150%;
    font-weight:900;
    line-height:100%;
    padding-bottom:10px;
    text-align:center;
}

#works .cases .case .detail h3 .en {
    font-size:70%;
    font-weight:300;
    line-height:100%;
    color:#c1c1c1;
}

#works .cases .case .detail .tx {
    font-size:110%;
    text-align:left;
}

#works .cases .case .detail .bannerarchives {
    margin-top:15px;
}

#works .cases .case .detail .bannerarchives a {
    font-weight:600;
    border:#f36f21 1px solid;
    background:#fff;
    color:#f36f21;
    padding:5px 15px;
    border-radius:10vw;
}

/*BANNER*/
#banner {
    padding:100px 0 0;
}

#banner .titles h2 {
    font-size:250%;
}

#banner .details {
    display:grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap:30px;
    padding-top:15px;
}

#banner .details .detail {
    aspect-ratio:1 / 1;
    display:flex;
    justify-content:center;
    align-items:center;
    overflow:hidden;
}

#banner .details .detail .banner {
    max-width:100%;
    max-height:100%;
    object-fit:contain; 
    display:block;
}

#banner .attention {
    text-align:center;
    font-size:80%;
    color:#c1c1c1;
    margin-top:25px;
}

#banner .backbtn {
    margin-top:25px;
    text-align:center;
}

#banner .backbtn .btn {
    display:inline-block;
}

#banner .backbtn .btn a {
    display:flex;
    justify-content:center;
    align-items:center;
    border:#000 1px solid;
    padding:10px 20px;
}

#banner .backbtn .btn a p {
    font-weight:500;
    color:#000;
    padding-left:10px;
}

#banner .backbtn .btn a .arrow {
    width:10px;
    height:10px;
    border-top:#000 1px solid;
    border-right:#000 1px solid;
    transform:rotate(-135deg);
}

/* クリックできることを伝える */
.expandable {
  cursor: zoom-in;
  transition: opacity 0.3s;
}
.expandable:hover {
  opacity: 0.8;
}

/* モーダル背景 */
.modal {
  display: none; /* 最初は隠す */
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.8); /* 黒の半透明 */
  justify-content: center;
  align-items: center;
}

/* モーダル内の画像 */
.modal-content {
  max-width: 90%;
  max-height: 90%;
  object-fit: contain;
  animation: zoom 0.3s;
}

@keyframes zoom {
  from {transform: scale(0.7); opacity: 0;}
  to {transform: scale(1); opacity: 1;}
}

/* 閉じるボタン */
.close {
  position: absolute;
  top: 20px;
  right: 35px;
  color: white;
  font-size: 40px;
  cursor: pointer;
}



/*CONTACT*/
#contact {
}

#works .titles h2 {
    font-size:250%;
}

#contact .contacts {
    display:flex;
    align-items:center;
    flex-direction:column;
    padding:20px 0;
}

#contact .contacts .titles h2 {
    font-size:250%;
}

#contact .contacts .address {
    padding:0;
    display:flex;
    align-items:center;
    padding:10px;
}

#contact .contacts .address p a {
    font-size:150%;
    font-weight:bold;
    display:flex;
    align-items:center;
}

#contact .contacts .address p img {
    height:3vh;
    margin-right:10px;
}



/*BACK TO TOP*/
.BackToTop {
position:fixed;
width:40px;
height:40px;
right:15px;
bottom:15px;
z-index:100;
display:none;
}



/*FOOTER*/
footer {
padding:30px 0 15px;
}

footer .info {
    text-align:center;
    padding-bottom:30px;
}

footer .info .logo {
    width:160px;
    margin:0 auto 15px;
}

footer .copyright {
font-size:60%;
text-align:center;
color:#000;
}

















}