@charset "UTF-8";

.card-container {
  display: grid;
  gap: 40px;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
}

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

/* CSSリセット */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
/* その他のスタイル */

:root {
  --white: #fff;
  --padding: 24px;
  --base-color: #F2F2F2;
  --primary-color: #0077df;
  --text-color: #503425;
  --font-size: 30px;
}

html,
body {
  background-color: var(--base-color);
  scroll-behavior: smooth;
  width: 100%;
  font-size: 62.5%;
}
ul , li {
  list-style: none;
  margin: 0;
  padding: 0;
}
body {
  font-family: "游ゴシック Medium", YuGothic, YuGothicM,
    "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  line-height: 1.6;
  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);
}
.parent {
display: grid;
grid-template-columns: repeat(2, 1fr);
grid-template-rows: repeat(3, 1fr);
grid-column-gap: 50px;
grid-row-gap: 20px;
padding: var(--padding);
max-width: 1200px;
justify-content: center;
margin: 0 auto 200px;
}

.div1 { grid-area: 1 / 1 / 2 / 2; }
.div2 { grid-area: 2 / 1 / 3 / 2; }
.div3 { grid-area: 3 / 1 / 4 / 2; }
.div4 { grid-area: 1 / 2 / 2 / 3; }
.div5 { grid-area: 2 / 2 / 3 / 3; }
.div6 { grid-area: 3 / 2 / 4 / 3; }
.parent div {
  height: 250px;
  z-index: 100;
  border-radius: 15px;
}
@media(max-width: 1000px){
  .parent{
    grid-template-columns: 1fr;
    }
}
.title {
  display: flex;
  justify-items: center;
  font-size: 3.5rem;
  font-weight: 600;
  background-color: var(--text-color);
  color: #fff;
  justify-content: center;
  align-items: center;
}
.title > :is(.name, .can, .hobby) {
  position: relative;
  text-align: center;
}
.name::after {
  content: "kitamura ryoma";
  font-size: 1.6rem;
  display: block;
}
.can::after {
  content: "What i can do";
  font-size: 1.6rem;
  display: block;
}
.hobby::after {
  content: "hobby";
  font-size: 1.6rem;
  display: block;
}

.grid-content {
  display: grid;
  justify-items:center; 
  font-size: 1.6rem;
  align-content: center;
  line-height: 1.8;
  background-color: #fff;
  padding: 30px
}
.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;
}


