@charset "UTF-8";

/* CSSリセット */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
/* その他のスタイル */
:root {
  --white: #fff;
  --padding: 24px;
  --base-color: #F2F2F2;
  --primary-color: #1b6db4;
  --text-color: #503425;
}
.card-container {
  display: grid;
  gap: 40px;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
}

.card {
  display: grid;
  grid-row: span 5;
  row-gap: 12px;
}


ul , li {
  list-style: none;
  margin: 0;
  padding: 0;
}
html {
  font-size: 62.5%;
}



body {
    background-color: var(--base-color);
  scroll-behavior: smooth;
  width: 100%;
  font-family: "游ゴシック Medium", YuGothic, YuGothicM,
  "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  display: flex;
  flex-direction: column;
  padding-top: var(--padding);
  color: var(--text-color);
  gap: var(--padding);
}


header {
  display: flex;
  align-items: center;
  width: 100%;
  padding: 4vw 5vw 0;
  justify-content: space-between;
  height: auto;
  z-index: 100;
}
.header-inner {
  display: flex;
}
header ul {
  display: flex;
  position: absolute;
  right: 5.5vw;
  line-height: 4.5vw;
  z-index: 10;
}

header ul li {
  margin-left: 5.3vw;
}
.logo {
  width: 20vw;
}

.header-text {
  font-size: 1.7vw;
  color: var(--text-color);
  font-weight: 600;
  transition: .3s;
}
.header-text:hover {
  opacity: 0.6;
}
.firstview {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  position: relative;
}
.catchcopy {
  position: absolute;
  width: 40%;
  left: 30px;
}
.character {
  width: 40%;
  position: absolute;
  right: 3%;
}
a {
  text-decoration: none;
}

img {
  filter: sepia(10%);
  object-fit: cover;
  vertical-align: bottom;
}

.brand-title {
  font-size: 40px;
  text-align: center;
  z-index: 10;
} 

.brand-title b {
  color: var(--primary-color);
}
.label {
  font-weight: bold;
  display: flex;
  align-items: center;
}

.main {
  padding-inline: var(--padding);
  z-index: 10;
}

.card-container {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
}

.card {
  background-color: var(--white);
  padding-block-end: 10px;
  color: var(--text-color)
}

.card :is(.card-title, .label) {
  padding-inline: 12px;
  font-weight: 600;
}
.material-symbols-outlined , .production{
  font-size: 20px;
  margin-right: 6px;
  color: var(--primary-color);
  text-shadow: 1px 2px 4px rgba(204,204,204,204.1);
  font-variation-settings: "FILL" 0, "wght" 400, "GRAD" 0, "opsz" 48;
}
.card .card-title {
  font-size: 19px;
  font-weight: 600;
  line-height: 1.5;
  text-align: center;
  color: var(--text-color);
  text-shadow: 1px 2px 4px rgba(204,204,204,204.1);
  
  }

.card .image {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}
.works-btn {
  font-weight: 600;
  display: grid;
  padding: 15px;
  justify-items: center;
  color: var(--primary-color);
  text-shadow: 1px 2px 4px rgba(204,204,204,204.1);
  background-color: #fff;
  border-radius: 15px;
  margin-block: 40px 150px;
  margin-inline: 30%;
}


.works-content {
  max-width: 1200px;
  padding: var(--padding);
  margin: 0 auto 200px;
  text-shadow: 1px 2px 4px rgba(204,204,204,204.1);
  height: auto;
}

.image  {
  width: 100%;
  display: flex;
}
.image img {
  width: 50%;
  height: 50%;
  padding: 20px;
}
.text-box {
  margin: 0 auto;
  display: flex; 
}
.text-box dt {
  font-size: 3.5rem;
  font-weight: 600;
  margin-bottom: 10px;
  line-height: 1;
}
.text-box dd {
  font-size: 2rem;
  margin-bottom: 20px;
  font-weight: 500;
  line-height: 1.8;
}
.text1 , .text2 {
  width: 50%;
  padding: 20px;
}
.Production-background {
  position: relative;
  display: inline;
  padding-bottom: 10px;
  border-bottom: 2px dashed var(--text-color);
  margin-bottom: 10px;
}
.Production-background-text {
  margin-block: 40px;
}
.contact {
  display: grid;
  justify-items: center;
  grid-row-gap: 50px;
  margin-block-end: 150px;
  z-index: 100;
}
.contact h2 {
  font-size: 30px;
  font-weight: 600;
}
.contact p {
  font-size: 18px;
  font-weight: 600;
}
.contact a {
  display: grid;
  padding: 30px;
  background-color: #fff;
  border-radius: 15px;
  text-shadow: 1px 2px 4px rgba(204,204,204,204.1);
  font-size: 18px;
  font-weight: 600;
  color: var(--primary-color);
}
.scroll-btn {
  display: grid;
  justify-items:center; 
  margin-block-end: 50px;
  transition-duration: .4s;  
}
.scroll-btn:hover {
  transform: scale(1.2);
}
.global-footer {
  display: grid;
  padding-block: 70px 70px;
  color: var(--white);
  background-color: var(--text-color);
  justify-items: center;
}

.global-footer address {
  font-size: 20px;
  font-style: normal;
  padding-right: 16px;
  text-align: right;
}

/* 制作中HP　のボタンst */

.btn-vertical-border {
  position: relative;
  font-size: 2rem;
  display: inline-block;
  font-weight: bold;
  padding: 5px 11px 5px 15px;
  text-decoration: none;
  color: var(--primary-color);
  transition: .4s;
  background-color: var(--white);
  width: 150px;
  text-align: center;
  left: 50%;
    transform: translateX(-50%);
}

.btn-vertical-border:before {
  position: absolute;
  display: inline-block;
  content: '';
  width: 4px;
  height: 100%;
  top: 0;
  left: 0;
  border-radius: 3px;
  background:var(--text-color);
}

.btn-vertical-border:after {
  position: absolute;
  display: inline-block;
  content: '';
  width: 4px;
  height: 100%;
  top:0;
  left: 100%;
  border-radius: 3px;
  background:var(--text-color);
}

.btn-vertical-border:hover:before, .btn-vertical-border:hover:after {
  -webkit-transform: rotate(10deg);
  transform: rotate(10deg);
}
/* 制作中HP　のボタンed */

/* 900以下 */
@media(max-width: 900px) {
  .text-box {
    flex-direction: column;
  }
  .text1 , .text2 {
    width: 100%;
  }
}
