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

/* 基本設定 --------------*/

:root {
  --gray: #636363;
  --bordergray: #b7b7b7;
  --lightgray: #f4f4f4;
  --red: #eb5757;
  --purple: #5c5a9e;
  --pink: #fbdddd;
  --lightblue: #bee4e8;
  --blue: #252dc9;
}

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

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", "メイリオ", "Hiragino Kaku Gothic ProN", "Hiragino Sans", sans-serif;
  font-weight: 500;
}

p {
  line-height: 2rem;
}

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

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

/* スマートフォン以上タブレット未満のヘッダーの高さと下との余白 */
.header {
  height: 4rem;
  margin-bottom: 1rem;
  background-color: var(--lightblue);
}

.header_menu {
  gap: 20px;
  color: var(--gray);
}

/* タブレット以上パソコン未満のヘッダーの高さと下との余白 */
@media (min-width: 768px) {
  .header {
    height: 5rem;
    margin-bottom: 2rem;
  }
}

/* パソコン以上のヘッダーの高さと下との余白 */
@media (min-width: 1170px) {
  .header {
    height: 6rem;
    margin-bottom: 3rem;
  }
}

.header_menu {
  /*font-family: "Didact Gothic", sans-serif;*/
  /* GoogleFont */
  font-family: 'Poppins', sans-serif;
  /*Lightを指定*/
  font-weight: 300;
}

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

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

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

/* タイポグラフィ ----------------*/
.title {
  font-size: 2rem;
  font-family: "Poppins", sans-serif;
  font-weight: 500;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 0 2rem;
}

.title::before,
.title::after {
  content: "";
  width: 30vw;
  height: 2px;
  background-color: var(--gray);
}

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

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

/* タイポグラフィ ---------------*/
@media (min-width:768px) {
  .title {
    font-size: 2rem;
    font-family: "Poppins", sans-serif;
    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(--gray);
  }

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

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

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

.bg_lightgray {
  background-color: var(--lightgray);
}
.bg_lightblue {
  background-color: var(--lightblue);
}

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

.button {
  margin: 3rem 0 0;
  text-align: center;
  margin-bottom: 30px;
}

.button a {
  padding: 1rem 0;
  border-radius: 100vh;
  font-size: 1.15rem;
  display: block;
  color: var(--gray);
  background-color: var(--lightblue);
}

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

.box_shadow_pink {
  box-shadow: 1rem 1rem 0 var(--pink);
  margin-bottom: 1rem;
}

.text_white {
  color: #fff;
}

.bg_lightgray {
  background-color: var(--lightgray);
}

.bg_red {
  background-color: var(--red);
}
.bg_blue {
  background-color: var(--blue);
}

.box_shadow_pink {
  box_shadow: 1rem 1rem 0 var(--pink);
  margin-bottom: 1rem
}

@media (min-width: 1200px) {

  .container,
  .container-lg,
  .container-md,
  .container-sm,
  .container-xl {
    max-width: 1170px;
  }
}

html {
  /*16pxを100%とした時の87.5%は14px */
  font-size: 87.5%;
}

body {
  margin: 0;
  color: var(--gray);
  font-family: "游ゴシック体", YuGothic, "游ゴシック", "Yu Gothic", "メイリオ", "Hiragino Kaku Gothic ProN", "Hiragino Sans", sans-serif;
  font-weight: 500;
}

p {
  line-height: 1.5rem;
}

#profile img {
  zoom: 150%;
}

/*.hero {
  position: relative;
}
/*.hero img {*/
/*  width: 100%;*/
/*}*/

/*.hero p {*/
/*  position: absolute;*/
/*        top: 30%;*/
/*        left: 100px;*/
/*        font-size: 50px;*/
/*        color: #fff;*/
        /*text-shadow: 2px 2px 0 #2c2c2c, -2px 2px 0 #2c2c2c, 2px -2px 0 #2c2c2c, -2px -2px 0 #2c2c2c;*/
/*        text-shadow: 1px 2px 5px #000;*/
/*        padding: 0;*/
/*        margin: 0;*/
/*}*/

/*モーダル*/
.box {
  opacity: 0;
  visibility: hidden;
  transition: all 1s;
  transform: translateY(150px);
}

.is-active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

#works_B .box {
  gap: 50px;
}

/* メディアクエリ--------------------*/
/* 幅が、1170px以上のパソコンサイズでは */
@media (min-width: 1170px) {
  html {
    font-size: 100%;
  }

  p {
    line-height: 2rem;
  }
}
.gap_row_2rem {
  /*display: flex;*/
  gap: 2rem 0;
}



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

/* formタグ：フォーム全体 */
.contact_form {
  /*margin: 40px;*/
}
/* ------------------------------------ */
/* フォーム共通書式 */
/* ------------------------------------ */
/* labelタグ：項目のラベルと入力欄を囲うタグ */
.form_block {
  display: grid;
  grid-template-columns: 14em 1fr;
  border-top: 1px dotted #606060;
  padding: 1em 0;
  align-items: center;
  height: 5em;
}
/* 必須アイコン */
.form-required {
  margin-left: 2em;
  color: #fff;
  background-color: #f67a7a;
  padding: 2px 8px;
  font-size: 14px;
  border-radius: 3px;
}
/* 入力欄 */
.form_field {
  border: 1px solid #ccc;
  border-radius: 4px;
  padding: 0.5em 1em;
}
/* ------------------------------------ */
/* ラジオボタン専用 */
/* ------------------------------------ */
.form_radio-wrapper {
  margin-left: 2rem;
}
.label_radio + .label_radio {
  margin-left: 2em;
}
.radio_span {
  margin-left: 0.5em;
}
/* ------------------------------------ */
/* checkbox専用 */
/* ------------------------------------ */
.label_checkbox + .checkbox {
  margin-left: 2em;
}
.checkbox_span {
  margin-left: 0.5em;
}

/* ------------------------------------ */
/* セレクト：プルダウン専用 */
/* ------------------------------------ */
.select_block {
  padding-left: 1em;
}
/* ------------------------------------ */
/* 段落入力 */
/* ------------------------------------ */
.form_block.textfield {
  align-items: start;
  border-bottom: 1px dotted #606060;
  height: auto;
}
.form_field.textfield {
  height: 20em;
  resize: none;
}
.textfield .form-required {
  margin-right: 5px;
}
/* ------------------------------------ */
/* 送信ボタン */
/* ------------------------------------ */
.form-btn {
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 12em;
  height: 3em;
  font-size: 16px;
  background-color: var(--lightblue);
  border-radius: 5px;
  color: #fff;
  margin-left: auto;
  margin-right: auto;
  margin-top: 2em;
}
.form-btn:hover {
  filter: brightness(90%) contrast(120%);
  box-shadow: 0 0.5rem 5px var(--bordergray);
  color: var(--blue);
}
/* ------------------------------------ */
/* 個人情報保護 */
/* ------------------------------------ */
.privacy {
  text-align: center;
  font-size: 14px;
  margin-top: 1em;
}

/* ------------------------------------ */
/* 送信後のサンクスページ専用 */
/* ------------------------------------ */
.section-thanks{
  padding: 100px 40px;
}
.thanks_h1 {
  font-size: 2.8rem;
  text-align: center;
}
.thanks_a {
  background-color: var(--lightblue);
  color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 5px;
  margin-top: 100px;
  margin-left: auto;
  margin-right: auto;
  font-size: 16px;
  width: 12em;
  height: 3em;
}
.thanks_a:hover {
  filter: brightness(90%) contrast(120%);
  box-shadow: 0 0.5rem 5px var(--bordergray);
}