html {
  font-size: 100%;
  /* 16px */
}

body {
  font-family: "Noto Sans JP", "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
  color: #4c4948;
  font-weight: 300;
}

/* 初期設定解除 */

a {
  text-decoration: none;
  color: #4c4948;
}

a:focus {
  outline: none;
}

p {
  font-size: 1rem;
  padding-bottom: 10px;
}

h1 {
  font-size: 1.2rem;
  font-weight: 500;
  padding-bottom: 20px;
}

h2 {
  font-size: 1.1rem;
  font-weight: 400;
  padding-bottom: 5px;
}

img {
  border: none;
  max-width: 100%;
}

ul {
  padding: 0px;
}

li {
  list-style: none;
  font-size: 1rem;
}

/* ここから個別設定 */

.wrapper {
  max-width: 960px;
  margin: 0 auto;
  padding: 0px 25px;
  line-height: 170%;
}

/* イベント用 */

#event1,
#event2,
#event3,
#event4,
#event5,
#event6 {
}

/* ヘッダー */

#header {
  max-width: 960px;
  margin: 0 auto;
  position: relative;
}

.logo {
}

#header .link {
  padding: 15px 30px 0px 0px;
}

#header .link ul {
  display: flex;
  justify-content: flex-end;
  margin: 0px;
}

#header .link ul li {
  background-color: #ff9797;
  border-radius: 10px 10px 0px 0px;
  text-align: center;
  padding: 10px 10px;
  margin-left: 10px;
  font-weight: 400;
}

#header .link ul li a {
  display: block;
  color: #fff;
}

#header img {
  width: 100%;
}

.htxt {
  font-size: 130%;
  color: #000000;
  position: absolute;
  left: 70px;
  bottom: 70px;
  text-shadow: 2px 2px 1px #ffffff, -2px 2px 1px #ffffff, 2px -2px 1px #ffffff, -2px -2px 1px #ffffff, 2px 0px 1px #ffffff, 0px 2px 1px #ffffff, -2px 0px 1px #ffffff, 0px -2px 1px #ffffff;
}

/* ナビゲーション */

#navi {
  background-color: #fff;
}

#navi ul {
  display: flex;
}

#navi ul li {
  width: calc(100% / 6);
  text-align: center;
  border-style: solid none;
  border-width: 1px;
}

#navi ul li a {
  display: block;
  padding: 10px 0px;
}

#navi ul li:hover {
  border-width: 1px;
  border-style: solid none;
  background-color: #e2f0f7;
}

/* プロフィール */

#prof {
  margin-bottom: 30px;
}

#prof .wrapper {
  display: flex;
  margin-bottom: 50px;
  background-color: antiquewhite;
  padding: 15px 25px 15px 25px;
}

#prof .wrapper ul {
  width: 60%;
  list-style: none;
}

#prof .wrapper ul li {
  width: 100%;
  padding-top: 10px;
}

#prof .wrapper ul li:nth-child(1) {
  padding-top: 0px;
}

#youtube {
  width: 50%;
  margin-top: 15px;
}

/* 動画サイズ調整 */

.video {
  width: 100%;
  position: relative;
  padding-top: 56.25%;
}

.video iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* メインコンテンツ */

#f-container-l {
  display: flex;
  margin-bottom: 40px;
}

#f-container-r {
  display: flex;
  flex-direction: row-reverse;
  margin-bottom: 40px;
}

#f-container-l .f-item {
  background-color: #fff;
}

.f-item {
  max-width: 50%;
  background-color: #fff;
  padding: 0px 10px;
}

.f-item img {
  border: none;
  width: 100%;
  margin: 0 auto;
}

.f-item:hover img {
  opacity: 0.5;
  transition: 0.3s;
}

/* 会社 */

#campany {
  background-color: #deeaef;
  padding: 30px 0px;
}

#campany .wrapper {
  display: flex;
  flex-wrap: wrap;
}

#campany .wrapper h1 {
  width: 100%;
}

#campany .wrapper ul {
  width: 75%;
}

#campany .wrapper ul li {
  width: 100%;
  padding-top: 10px;
}

#campany .wrapper ul li:nth-child(1) {
  padding-top: 0px;
}

#campany .wrapper ul li h1 {
  font-size: 1.2rem;
}

#campany img {
  width: 15%;
  height: 15%;
  margin-right: 5%;
}

/* 私の脳内 */

#mybrain {
  background-color: #fdf7ff;
  padding: 30px 0px;
}

#mybrain .wrapper {
}

#mybrain .wrapper ul {
  display: flex;
  justify-content: space-between;
}

#mybrain .wrapper ul li {
  width: 48%;
}

/* 就活生への呼びかけ */

#calling {
  background-color: #e4feff;
  padding: 30px 0px;
}

#calling .wrapper {
}

#calling .wrapper ul {
  display: flex;
}

#calling .wrapper ul li {
  width: 50%;
}

#calling .wrapper ul li img {
  width: 90%;
}

/* 私の一日 */

#oneday {
  background-color: #fff;
  margin: 30px 25px 5% 25px;
}

#oneday .wrapper {
  background-image: url(../img/flame01.png), url(../img/flame03.png), url(../img/flame02.png);
  background-repeat: no-repeat, no-repeat, repeat-y;
  background-position: top, bottom, center;
  background-size: 100% auto;
  /*    border-style: solid;*/
  /*    border-width: 1px;*/
  padding: 25px 25px 25px 7%;
  display: flex;
  flex-wrap: wrap;
}

#oneday .wrapper .time {
  width: 50%;
  margin-bottom: 50px;
}

#oneday .wrapper .time dl {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
}

#oneday .wrapper .time dl dt {
  width: 15%;
}

#oneday .wrapper .time dl dd {
  width: 85%;
}

#oneday .wrapper .life {
  width: calc(50% - 20px);
  padding-left: 20px;
}

#oneday .wrapper .life img {
  margin: 0 auto;
}

#oneday .wrapper .graph {
  width: 50%;
}

#oneday .wrapper .graph img {
  margin-left: 50px;
}

#oneday .wrapper .interview {
  width: 40%;
}

#oneday .wrapper .interview img {
  border-radius: 15px;
}

/* 事業所概要 */

#overview {
  background-color: fff;
}

#overview .wrapper {
  margin-bottom: 50px;
  position: relative;
}

#overview .wrapper dl {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
}

#overview .wrapper dl dt {
  width: 150px;
  padding-bottom: 5px;
}

#overview .wrapper dl dd {
  width: calc(100% - 150px);
}

#overview .wrapper .ov_ph {
  position: absolute;
  right: 10px;
  top: 50px;
}

#overview .wrapper .ov_ph img {
  width: 300px;
  height: auto;
  object-fit: contain;
  /*    object-position: 0px -40px;*/
  border-radius: 5px;
}

#overview a:hover {
  opacity: 0.5;
}

/*--------------------------------
// レスポンシブル
----------------------------------*/

@media screen and (max-width: 600px) {
  .wrapper {
    width: 100%;
    margin: 0 auto;
  }

  #header .link ul li {
    font-size: 0.6rem;
    padding: 10px 3px;
  }

  .htxt {
    font-size: 100%;
    font-weight: 400;
    color: #ffffff;
    text-shadow: 2px 2px 2px rgb(0, 0, 0);
    position: absolute;
    left: 20px;
    bottom: 80px;
  }

  /* ナビ */
  #navi ul {
    display: flex;
    flex-wrap: wrap;
  }

  #navi ul li {
    width: calc(100% / 3);
    text-align: center;
    border-style: solid none;
    border-width: 1px;
    margin-top: -1px;
  }

  /* プロフィール */
  #prof .wrapper {
    display: flex;
    flex-direction: column;
    width: 100%;
  }

  #prof .wrapper ul {
    width: 100%;
  }

  .video-wrap {
    max-width: 50%;
    /* ここに動画の横幅を指定 */
  }

  /* 動画を囲うdiv */
  #youtube {
    width: 100%;
  }

  /* インタビュー */
  #f-container-l {
    flex-flow: column;
  }

  #f-container-r {
    flex-flow: column;
  }

  .f-item {
    display: block;
    max-width: 100%;
    background-color: #fff;
    margin-bottom: 10px;
    padding: 0px 10px;
  }

  /* 私の脳内 */
  #mybrain .wrapper ul {
    display: flex;
    flex-direction: column;
  }

  #mybrain .wrapper ul li {
    width: 100%;
    margin-bottom: 20px;
  }

  #mybrain .wrapper ul li:nth-child(2) {
    margin-bottom: 0px;
  }

  /* 就活生への呼びかけ */
  #calling .wrapper ul {
    flex-flow: column;
  }

  #calling .wrapper ul li {
    width: 100%;
  }

  #calling .wrapper ul li img {
    margin-bottom: 20px;
  }

  /* 私の一日 */
  #oneday .wrapper {
    display: block;
  }

  #oneday .wrapper .time {
    width: 100%;
  }

  #oneday .wrapper .time dl {
    width: 100%;
    margin: 0px;
  }

  #oneday .wrapper .life {
    width: 100%;
    padding-left: 0px;
    margin-bottom: 50px;
  }

  #oneday .wrapper .graph {
    width: 100%;
    padding-bottom: 50px;
  }

  #oneday .wrapper .graph img {
    margin: 0 auto;
  }

  #oneday .wrapper .interview {
    width: 100%;
  }

  #oneday .wrapper .interview img {
    margin: 0 auto;
  }

  /* 事業所概要 */
  #overview .wrapper .ov_ph {
    position: static;
    margin-top: auto;
  }

  #overview .wrapper .ov_ph img {
    width: 250px;
    height: 250px;
    margin: 0 auto;
    object-fit: contain;
    border-radius: 5px;
  }
}
