@charset "UTF-8";
@import url(ham_menu.css);
@import url(root.css);

/* 初期化 ----------------*/

h1,
h2,
h3,
h4,
p,
figure,
ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

/* ベース ----------------*/

html {
  font-size: 100%
}

body {
  position: relative;
  margin: 0;
  color: var(--gray);
  font-family: '游ゴシック体', YuGothic, '游ゴシック', 'Yu Gothic', 'Barlow Condensed', 'Libre Baskerville', 'Kiwi Maru', 'Source Sans 3', sans-serif;
  font-weight: 500;
  overflow-x: hidden;
}

p {
  line-height: 2rem;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  filter: brightness(90%) contrast(120%);
}

/* セクション共通の余白 ------------*/
#about,
#works_L,
#works_B,
#skills,
#profile,
#contact,
.section_y {
  padding-top: 3rem;
  padding-bottom: 3rem;
}

/* ヘッダー ---------------*/

header {
  background-color: rgba(255, 255, 255, 0.8);
  margin: auto;
  padding-top: 2rem;
  padding-bottom: 2rem;
}

.ham_menu {
  margin-top: 1.5rem;
}

.header_menu {
  font-family: 'Source Sans 3', sans-serif;
}

.header_menu li {
  padding: 0 0.5rem 0 0.5rem;
}

.header_menu li a:hover {
  border-bottom: 3px solid var(--pink);
  padding-bottom: 0.25rem;
  color: var(--pink);
}

.sanaekamihira {
  display: flex;
  gap: 0 30px;
}

.sanaekamihira h2 {
  font-family: 'Libre Baskerville', sans-serif;
  letter-spacing: 0.1rem;
  font-size: x-large;
  font-weight: bold;
}

.sanaekamihira span {
  font-family: 'Source Sans 3', sans-serif;
  letter-spacing: 0.1rem;
}


/* ヒーローイメージ------------- */
main {
  margin-top: 6rem;
}

.hero_text {
  font-size: clamp(35px, 6vw, 60px);
  font-family: 'Source Sans 3', sans-serif;
  text-align: center;
  letter-spacing: 0.1rem;
  font-weight: bold;
}

.hero_mova {
  /*スマートフォン用に容量の軽い画像を指定*/
  background-image: url(../images/hero_image_1920-1_05x.jpg);
  /*画像の高さ*/
  height: 40vh;
  /*ポジションをleftやright、centerに変えることによって横長い画像の位置が変わる*/
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
}


/* タイポグラフィ ----------------*/
.title {
  font-size: 2rem;
  font-family: 'Libre Baskerville', sans-serif;
  color: var(--pink);
  font-weight: 500;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 0 3rem;
}

.title::before,
.title::after {
  content: "";
  width: 14%;
  height: 2px;
  background-color: var(--pink);
}

.title::after {
  margin-left: 2rem;
}

.title::before {
  margin-right: 2rem;
}



/*サブタイトル----------------*/
.sub_title {
  padding-bottom: 1rem;
  width: 100%;
  margin: 0 auto 2rem;
  font-size: 1.5rem;
  font-family: 'Kiwi Maru', sans-serif;
  font-weight: 300;
  text-align: center;
  background-image: linear-gradient(90deg,
      var(--borderpink) 0%,
      var(--borderpink) 35%,
      var(--pink) 35%,
      var(--pink) 65%,
      var(--borderpink) 65%,
      var(--borderpink) 100%);
  /*背景画像のサイズ　幅100% 高さ5px*/
  background-size: 100% 5px;
  /*背景画像を繰返さない*/
  background-repeat: no-repeat;
  /*背景画像の位置　横位置中央　縦位置下揃え*/
  background-position: center bottom;
}

/* ボタン -----------------*/
.button {
  margin: 3rem 0 0;
  text-align: center;
}

.button a {
  padding: 1rem 0;
  border-radius: 100vh;
  border: solid 2px var(--pink);
  font-size: 1.15rem;
  display: block;
  color: var(--pink);
  background-color: white;
  font-family: 'Libre Baskerville', sans-serif;
}

.button a:hover {
  box-shadow: 0 0.5rem 5px var(--borderpink);
}

.button2 {
  margin: 3rem 0 0;
  text-align: center;
}

.button2 a {
  padding: 1rem 0;
  border-radius: 100vh;
  font-size: 1.5rem;
  display: block;
  color: white;
  background-color: var(--pink);
  font-family: 'Libre Baskerville', sans-serif;
}

.button2 a:hover {
  box-shadow: 0 0.5rem 5px var(--borderpink);
}

.button3 {
  margin: 3rem 0 0;
  text-align: center;
}

.button3 a {
  padding: 1rem 0;
  border-radius: 100vh;
  font-size: 1.2rem;
  display: block;
  color: white;
  background-color: var(--pink);
  margin-bottom: 10rem;
}

.button3 a:hover {
  box-shadow: 0 0.5rem 5px var(--borderpink);
}


/* 制作関係 -------------*/
.tool {
  font-family: 'Kiwi Maru', sans-serif;
}

.time {
  font-family: 'Kiwi Maru', sans-serif;
}

/* スキル -------------*/

.skills_title {
  font-weight: bold;
  font-size: x-large;
}

.skills_tool {
  font-weight: bold;
  margin-bottom: 1rem;
}

/* プロフィール -------------*/
.profile_name {
  font-family: 'Libre Baskerville', sans-serif;
  font-size: x-large;
}

.profile_photo {
  margin-bottom: 1rem;
}

/* フッター -------------*/

.bg_pink {
  background-color: var(--pink);
}

.text_white {
  color: white;
  font-family: 'Source Sans 3', sans-serif;
  font-weight: bold;
  font-size: xx-large;
  letter-spacing: 0.1rem;
}

.footer_menu {
  font-family: 'Source Sans 3', sans-serif;
  color: white;
}

.footer_menu li {
  padding: 0 0.5rem 0 0.5rem;
}

.footer_menu li a:hover {
  border-bottom: 3px solid white;
  padding-bottom: 0.25rem;
  color: var(--pink);
}

.footer_text {
  margin-top: 5rem;
  margin-bottom: 5rem;
}

.sns_link {
  display: flex;
  margin-top: 2rem;
  margin-bottom: 2rem;
}

.icon {
  margin-left: 1rem;
  margin-right: 1rem;
}


@media (min-width: 768px) {
  .title {
    margin: 0 0 3rem;
  }

  .title::before,
  .title::after {
    width: 14%;
  }

  .title::after {
    margin-left: 2rem;
  }

  .title::before {
    margin-right: 2rem;
  }
}

@media (max-width: 576px) {
  .hero_mova {
    height: 20vh;
  }
}


@media (max-width: 992px) {
  .hero_mova {
    height: 30vh;
  }
}
