/* PC、スマホ共通スタイル */
body {
  font-family: "Source Sans Pro", "Hiragino Kaku Gothic ProN", Meiryo, Arial, sans-serif;
}
 
p {
  font-size: 15px;
}

body {
    margin: 0;
    padding: 0;
}
@import url('https://fonts.googleapis.com/css2?family=Josefin+Sans&display=swap');


#top {
    max-width: 1080px;
    min-width: 360px;
    background-color: rgba(5, 94, 196, 0.61);
    margin: 0px auto;
    text-align: center;
}

.top-child {
    width: 25%;
    background-color: #87e2f8;
    display: inline-block;
}

body {
  max-width: 1080px;
  min-width: 360px;
  margin: 0 auto;
}

main {
  padding: 10px;
}

p {
  font-size: 20px;
  margin: 0;
}

a {
  font-size: 20px;
}


footer {
  background-color: rgba(145, 189, 42, 0.993);
  text-align: center;
  padding: 80px 80px 30px 80px;
}
#footer-link {
  margin-bottom: 50px;
}
#footer-link > a {
  text-decoration: none;
  margin: 10px;
}
#footer-link > a:link {
  color: #ffffff;
}
#footer-link > a:visited {
  color: #ffffff;
}
#footer-link > a:hover {
  color: #ffffff;
  text-decoration: underline;
}
#footer-link > a:active {
  color: #ffffff;
}

footer > span > a {
  text-decoration: none;
  margin: 10px;
}
footer > span > a {
  color: #ffffff;
}
footer > span > a {
  color: #ffffff;
}
footer > span > a {
  color: #ffffff;
  text-decoration: underline;
}
footer > span > a {
  color: #ffffff;
}
#copyright {
  color: #ffffff;
}

#top > p {
  color: rgb(31, 18, 221);
}

/* ナビゲーションのリンクの装飾設定 */
.top-child > a {
  text-decoration: none;
  margin-left: 20px;
}

.top-child > a:link {
  color: rgb(31, 18, 221);
}
.top-child > a:visited {
  color: #ffffff;
}
.top-child > a:hover {
  color: #ffffff;
  text-decoration: underline;
}
.top-child > a:active {
  color: rgb(31, 18, 221);
}

/*見出し*/
h2 {
  margin: 40px 0 0 0;
}

#mission > h2::after {
  content: url("../img/line.png");
  margin-left: 10px;
}

#aboutus > h2::after {
  content: url("../img/line.png");
  margin-left: 10px;
}

h3 {
  font-size: 27px;
}

/* PC用のスタイル */
@media screen and (min-width: 768px) {
#menu-sp,
#nav-sp {
  display: none;
}

/* ミッション */
#mission {
  margin: 80px auto;
  width: 100%;
}

#mission-flex {
  width: 100%;
  display: flex;
}

#mission-flex > div {
  width: 50%;
  margin: 20px;
}
  
#mission-photo {
  width: 100%;
}
  
#s2dgs {
  margin-top: 50px;
  width: 100%;
}

/* mission.html用スタイル */
   /* ミッションのメインビジュアル */
   #mission-main {
    height: 496px;
    width: 100%;
    background-image: url("../img/mission/25190028.png");
    background-repeat: no-repeat;
    background-position-y: center;
  }

  #mission-title {
    background-color: #2710d5;
    width: 368px;
    color: #eee8e8;
    height: 496px;
    border-radius: 0 248px 248px 0;
    position: relative;
  }

  #mission-title > h1 {
    position: absolute;
    top: 0;
    left: 100px;
    font-size: 80px;
  }

  #mission-title > span {
    position: absolute;
    top: 200px;
    left: 100px;
    font-size: 26px;
  }

  #mission-title > div {
    position: absolute;
    top: 350px;
    left: 100px;
    font-size: 16px;
  }

  #mission-s2dgs {
    width: 100%;
    margin: 20px;
  }

  .mission-h2 {
    color: #2710d5;
    font-size: 40px;
  }

  .mission-h2::after {
    content: none;
  }

  #mission-5goals {
    margin: 20px;
    display: flex;
  }

  #mission-5goals > div {
    flex-grow: 1;
    padding: 20px;
  }

  #mission-5goals > div > div {
    margin-bottom: 40px;
  }

  .sdgs-image {
    width: 30%;
  }
  .fivegoals-image-right {
    float: right;
    margin: 20px;
    width: 20%;
  }

  .fivegoals-image-left {
    float: left;
    margin: 20px;
    width: 20%;
  }

  .fivegoals-number {
    color: #2710d5;
    font-size: 48px;
    margin: 0;
  }

  .fivegoals-h3 {
    font-size: 28px;
    margin: 0;
  }

  .fivegoals-p {
    margin: 0;
  }
}

/* 画面幅が767px以下のときにスタイルが適用されます */
@media screen and (max-width: 767px) {
  body {
    min-width: 375px;
    margin: 0;
  }

  /* PC用ナビゲーション非表示 */
  #top {
    display: none;
  }

  /* ハンバーガーメニュー */
  #menu-sp {
    width: 20%;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    padding: 0;
  }

  /* スマホ用ナビゲーションの表示切替 */
   /* 初期状態、レイアウトと非表示設定 */
   #nav-sp {
    background-color: #2710d5;
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    display: none;
    z-index: 100;
  }
  
   /* ×ボタン */
   #close {
    position: absolute;
    top: 20px;
    right: 20px;
  }

  /* ナビゲーションメニュー用ロゴ */
  #home-sp > img {
    width: 20%;
    margin: 80px 0 30px 20px;
  }

 /* ナビゲーションのリンクの装飾設定 */
 #nav-sp > a {
  display: block;
}

#nav-sp > a:link {
  color: #ffffff;
}
#nav-sp > a:visited {
  color: #ffffff;
}
#nav-sp > a:hover {
  color: #ffffff;
  text-decoration: underline;
}
#nav-sp > a:active {
  color: #ffffff;
}
#nav-sp > .menu {
  text-decoration: none;
  display: block;
  margin: 0 20px 0 20px;
  height: 44px;
  font-size: 16px;
  background-image: url("../img/arrow.png");
  background-repeat: no-repeat;
  background-position: right top;
}

  .text {
    font-size: 2rem;
  }

  h2 {
      font-size: 30px;
  }
  p {
      font-size: 16px;
  }
  #mission-flex {
    display: flex;
    flex-direction: column;
  }
  #mission-flex > div {
    width: 95%;
  }

/* mission.html用スタイル */
   /* ミッションのメインビジュアル */
   #mission-main {
    height: 286px;
    width: 100%;
    background-image: url("../img/mission/25190028.png");
    background-repeat: no-repeat;
    background-position-y: center;
    background-size: auto 370px;
  }

  #mission-title {
    background-color: #2710d5;
    width: 136px;
    color: #eee8e8;
    height: 286px;
    border-radius: 0 248px 248px 0;
    position: relative;
  }
  #mission-title > h1 {
    position: absolute;
    top: 0;
    left: 20px;
    font-size: 40px;
  }

  #mission-title > span {
    position: absolute;
    top: 110px;
    left: 20px;
    font-size: 18px;
  }

  #mission-title > div {
    position: absolute;
    top: 180px;
    left: 20px;
    font-size: 13px;
  }

   /* ミッションページ　S2DGSの設定 */
   #mission-s2dgs {
    margin: 20px;
  }

  .mission-h2 {
    color: #2710d5;
    font-size: 38px;
    margin: 0px;
  }

  .mission-h2::after {
    content: none;
  }

  #mission-s2dgs > img {
    width: 100%;
  }

  /* ミッションページ　5Goalsの設定 */
  #mission-5goals {
    margin: 20px;
  }

  #mission-5goals > div > div {
    margin-bottom: 40px;
  }

  #s2dgs-image {
    width: 100%;
  }
  .fivegoals-image-right {
    margin: 20px auto 20px auto;
    display: block;
    width: 100%;
  }

  .fivegoals-image-left {
    margin: 20px auto 20px auto;
    display: block;
    width: 100%;
  }

  .fivegoals-number {
    color: #2710d5;
    font-size: 48px;
    margin: 0;
  }

  .fivegoals-h3 {
    font-size: 28px;
    margin: 0;
  }
  .fivegoals-p {
    margin: 0;
  }
 /* フッター */
 footer {
  background-color: rgba(145, 189, 42, 0.993);
  padding: 30px 20px 50px 20px;
  text-align: left;
}

 #footer-link {
   margin-bottom: 50px;
 }
 #footer-link > a {
   text-decoration: none;
   margin: 0 20px 30px 0;
   display: block;
   background-image: url("../img/arrow.png");
   background-repeat: no-repeat;
   background-position: right top;
 }
 #footer-link > a:link {
   color: #ffffff;
 }
 #footer-link > a:visited {
   color: #ffffff;
 }
 #footer-link > a:hover {
   color: #ffffff;
   text-decoration: underline;
 }
 #footer-link > a:active {
   color: #ffffff;
}
#copyright {
  font-size: 12px;
  display: block;
  margin-top: 30px;
  color: #ffffff;
}
}