@charset "UTF-8";

/* 共通部分
------------------------------- */

:root {
    --primary-color:#23192c;
    --primary-color-rgb:35,25,44;
    --primary-con-color:#968584;
    --primary-con-color-rgb:150,133,132;

    --gin-color:#afafb0;
    --gin-color-rgb:175,175,176;

    --secondary-color:#62a260;
    --secondary-color-rgb:162,96,98;
    --secondary-con-color:#e09228;
    --secondary-con-color-rgb:224,146,40;
    --ac-color:#f44336;
    --ac-color-rgb:244,67,54;
}

html {
    font-size: 100%;
   
}

body{
    font-family: "Yu Gothic Medium", "游ゴシック Medium", YuGothic, "游ゴシック体", "ヒラギノ角ゴ Pro W3", sans-serif;
    line-height: 1.7;
    color: var(--gin-color);
    box-sizing: border-box;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
}

a {
    text-decoration: none;
}
img {
    max-width: 100%;
}
.wrapper {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0;
    text-align: center;
}

#home, #about, #works, #contact,#thanks {
    display: flex;
    flex-direction: column;
}

/* 見出し */
.main-title {
    font-size: 5rem;
    font-family: 'Philosopher', serif;
    text-transform: uppercase;
    font-weight: normal;
}

.page-title {  
    font-size: 2rem; 
    font-family: 'Philosopher', serif;
    font-weight: normal;

    margin: 5% 1% 5% 0;

    text-transform: none;
    display: flexbox;
}

.page-title span {

    animation: AnimationTitle 4.9s ease infinite;
    background: linear-gradient(to right,#afafb0,#f44336,#afafb0, #62a260);
    background-size: 200% 100%;
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
}
@keyframes AnimationTitle {
    0%{background-position:0% 50%}
    50%{background-position:100% 50%}
    100%{background-position:0% 50%}
}

/* iframe */
iframe {
    width: 100%;
}

/* HEADER */
.home-header {
    display: flex;
    justify-content: space-between;
}
.logo {
    width: 50px;
    margin-top: 40%;
    margin-right: 2%;
}
.header-nav {
    display: flex;
    font-size: 1.25rem;
    text-transform: uppercase;
    margin-top: 34px;
    margin-left: 3%;
    list-style: none;
}
.header-nav li {
    margin: auto 20px auto 36px;
}
.header-nav a {
    color: var(--primary-con-color);
}
.header-nav a:hover {
    color: var(--secondary-color);
}

/* HOME */
#home, #about, #works, #contact,#thanks {
 
      background-image: radial-gradient(circle at 82% 63%, rgba(var(--primary-color-rgb),0.9) 0%, rgba(var(--primary-color-rgb),0.9) 84%,transparent 84%, transparent 100%),
                        radial-gradient(circle at 88% 98%, rgba(var(--primary-color-rgb),0.6) 0%, rgba(var(--primary-color-rgb),0.6) 15%,transparent 15%, transparent 100%),
                        radial-gradient(circle at 77% 83%, rgba(var(--primary-color-rgb),0.07) 0%, rgba(var(--primary-color-rgb),0.07) 5%,transparent 5%, transparent 100%),
                        radial-gradient(circle at 64% 0%, rgba(var(--primary-color-rgb),0.05) 0%, rgba(var(--primary-color-rgb),0.05) 54%,transparent 54%, transparent 100%),
                       
                        radial-gradient(circle at 57% 86%, rgba(var(--primary-con-color-rgb),0.9) 0%, rgba(var(--primary-con-color-rgb),0.9) 80%,transparent 80%, transparent 100%),
                        radial-gradient(circle at 17% 93%, rgba(var(--primary-con-color-rgb),0.6) 0%, rgba(var(--primary-con-color-rgb),0.6) 82%,transparent 82%, transparent 100%),
                        radial-gradient(circle at 85% 70%, rgba(var(--primary-con-color-rgb),0.02) 0%, rgba(var(--primary-con-color-rgb),0.02) 13%,transparent 13%, transparent 100%);
      width: 100%;
      min-height: 100vh;
      background-size: 150% 150%;

      animation-name: gradation;
      animation-duration: 4.9s;
      animation-iteration-count: infinite;
      animation-direction: alternate;
      animation-timing-function: ease-in-out;
}
 @keyframes gradation{
     0%{
        background-position: 0% 0%;
        }
     100%{
        background-position: 100% 100%;
        }
 }
     
 
#home .main-title {
    text-transform: none;
    display: flex;
}

.main-title span {
    animation: AnimationTitle 4.9s ease infinite;
    background: linear-gradient(to right,#afafb0,#f44336,#afafb0, #62a260);
    background-size: 200% 100%;
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
}
@keyframes AnimationTitle {
    0%{background-position:0% 50%}
    50%{background-position:100% 50%}
    100%{background-position:0% 50%}
}

.home-main {
    text-align: center;
    margin-top: 10%;
    
}
.home-main p {
    font-size: 1.125rem;
    margin: 10px 0 42px;
}

/* about */
.about-box .page-title {
    margin: 6% auto 1% auto;  
}

.glass {
    background: rgba(var(--primary-con-color-rgb),0.09);
    backdrop-filter: blur(6px);
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    align-items: center;
    margin: 0 2% 2% 2%;
}
 
.about-contents-image {
 width: 120px;
 height: 120px;
 
 border-radius: 50%;
 background-image: url("../images/hm1.svg");
 background-size: cover;
 background-repeat:no-repeat;
 background-position: 5% 28%;
 background-color: var(--gin-color);
 border: 3px solid rgba(var(--primary-color-rgb),0.3);
 margin: 10px; 
}

.about-name {
    position: relative;
}

.name {
    color: rgb(var(--ac-color-rgb),0.7);
    font-size: 1.16rem;
    font-weight: bold;
    position: absolute;
    left: 7%;
    top: 71%;
    translate: -50%,0;
}

.about-text { 
    font-size: 15px; 
    line-height: 1.7rem;
    margin-bottom: 11px;
}

.about-text-a {
    color: var(--secondary-color);
    font-weight: 200;
    font-size: 1.2em;
    text-transform: uppercase;
    letter-spacing: 0.5em;  
}
 
  .about-text-a .letter {
    display: inline-block;
    line-height: 1em;
  }

/* works */

.works-content .page-title {
    margin: 4px auto 3px auto;  
}

.works-content {
    margin-top: 4%;
    text-align: center;
}
.works-content p {
    font-size: 1.1rem;
    margin: 0;
}

.grid {
  display: grid;
  gap: 28px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  margin: 2% 4% 3% 7%;
  
}

.item {
    margin: auto;
    overflow: hidden;
    background-color: rgba(var(--primary-con-color-rgb),0.6);
    border-radius: 3px;
    box-shadow:1px 2px 3px 1px rgba(0, 0, 0, 0.8), 
               inset 2px 1px 5px 2px rgba(var(--primary-con-color-rgb),0.4), 
               inset -2px -1px 6px 5px rgb(var(--primary-con-color-rgb),0.1);
}

.item a {
  display: block;
  
}

.item img {
  width: 100%;
  transition-duration: 0.5s;
}

.item a:hover img {
    transform: scale(1.1);
    transition-duration: 0.5s;   
}

.item_logo {
    height: 140px;
    padding: 10px;
}

@media screen and (max-width: 768px) {
  .grid {
    margin: 2% 3% 3% 3%;
  }  
}

/* CONTACT*/
#contact main .wrapper .page-title {
    margin: 12px auto 5px auto;
}

.contact-box {
    display: flex;
    justify-content: space-between;
}

#formWrap {
	width:580px;
	margin:2% auto;
    padding-left: 10px;	
	line-height:120%;
	font-size:85%;
}
table.formTable{
	width:100%;
	margin:0 auto;
	border-collapse:collapse;
}
table.formTable td,table.formTable th{
	border:1px solid rgba(var(--primary-con-color-rgb),0.6);
	padding:4px;
    
}
table.formTable th{
	width:28%;
	font-weight:normal;
	text-align:left;
}

form input[type="text"], form textarea {
	width:100%;
	padding:5px;
	display:block;
    background: rgba(var(--primary-con-color-rgb),0.4);
    border-radius: 4px;
    font-size: 0.9rem;
}
form input[type="submit"], form input[type="reset"], form input[type="button"] {
	display:block;
	width:100%;
	height:40px;
}
form input[type="checkbox"] {
    accent-color: var(--secondary-color);
}
.c_svg {
    position: relative;
    width: 30%;
    margin-top: 4%;
    margin-bottom: 10%;
 }

 #svg {
    position: absolute;
	top: 0;
	left: 0; 
    width: 100%;
    height: auto;
 }

 #svg .sv0 {
     fill: transparent;
     stroke-width: 2px;
     stroke: var(--gin-color);
 }

@media screen and (max-width:639px) {
#formWrap {
	width:350px;
	margin:2% auto;
}
table.formTable th, table.formTable td {
	width:auto;
	display:block;
}
table.formTable th {
	margin-top:4px;
	border-bottom:0;
}

.c_svg {
    width: 24%; 
    margin: 2% 0 20% 0;
}

#svg {
    top: 24%
}
}



input[type="submit"] {
    border: none;
    cursor: pointer;
    line-height: 1;
}

.button {
    text-align: center;
    box-sizing: border-box;
    display: block;
    max-width: 70px;
    width: 100%;
    margin: 0 auto;
    background: rgb(var(--ac-color-rgb),0.3); 
    color: var(--gin-color);
    font-weight: bold;
    margin: 5px auto;
    border-radius: 4px;  
}

.button:hover {
    animation: 1s flash; 
}
.button:active, .button:focus {
    border-bottom-width: 0;
    margin-top: 4px;
    background: var(--primary-con-color); 
  }
   
  @keyframes flash {
    from { opacity: 0.4; }
    to { opacity: 1; }
  }


.thanks_text {
    text-align: center;
    max-height: 140px;
    border-radius: 4px;
    background-color: rgba(var(--primary-con-color-rgb),0.2);
    margin: 5% 21% 5% 21%;
    padding: 20px;
}
  

/* フッター */
footer {
    background: var(--primary-color);
    text-align: center;
    padding: 5px 0;
    margin-top: auto;
    width: 100%;   
}

.footer_box p {
    color: var(--gin-color);
    font-size: 0.875rem;
}

/* 共通のアイコンエフェクト */
.socialEffect__link {
    margin: .3em;
    display: block;
    width: 60px;
    height: 60px;
    line-height: 60px;
    border-radius: 50%;
    text-align: center;
    position: relative;
    z-index: 1;
    color: #bfbfbf;
    font-size: 1.6rem;
    background: rgba(255, 255, 255, 0.1);
    transition: transform ease-out 0.2s;
  }

  .socialEffect__box {
    text-align: center;
  }
  
  .socialEffect__box li {
    display: inline-block;

  }
  
  
  /* インスタ用アイコン設定 */
  .icon-instagram::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    z-index: -1;
    transform: scale(0.9);
  }
  .fab.fa-instagram {
    display: inline-block;
    color: #fff;
  }
  .icon-instagram:hover {
    background: radial-gradient(
        circle farthest-corner at 32% 106%,
        rgb(255, 225, 125) 0%,
        rgb(255, 205, 105) 10%,
        rgb(250, 145, 55) 28%,
        rgb(235, 65, 65) 42%,
        transparent 82%
      ),
      linear-gradient(135deg, rgb(35, 75, 215) 12%, rgb(195, 60, 190) 58%);
    transform: scale(0.9);
  }
  
  /* フェイスブック用アイコン設定 */
  .icon-facebook::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    z-index: -1;
    transform: scale(0.9);
  }
  .fab.fa-facebook-f {
    display: inline-block;
    color: #fff;
  }
  .icon-facebook:hover {
    background: #3b5998;
    transform: scale(0.9);
  }
  
  /* ツイッター用アイコン設定 */
  .icon-twitter::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    z-index: -1;
    transform: scale(0.9);
  }
  .fab.fa-twitter {
    display: inline-block;
    color: #fff;
  }
  .icon-twitter:hover {
    background: #00b0ed;
    transform: scale(0.9);
  }


/* モバイル版
------------------------------- */
@media screen and (max-width: 768px) {
    .main-title span {
       margin: 0 auto; 
    }

    .main-title {
        font-size: 2.7rem;   
    }
    .home-header {
        flex-direction: column;
        align-items: center;
    }

    /* HEADER */
    .header-nav {
        font-size: 1rem;
        margin-top: 10px;
    }
    .header-nav li {
        margin: 0 20px;
    }

    .page-title {
        margin-top: 40px;
    }

    /* HOME */
    .home-main {
        margin-top: 20%;
    }         
    
}

