@charset "UTF-8";
@import url("grid.css");
/* Last modify 20220315--------------*/
img {
  max-width: 100%;
  height: auto; /*高さ自動*/
}
a {
  display: block;
  color: #666;
  text-decoration-line: none;
}
a:hover {
  color: #999;
}

/*ヘッダー
-------------------------------------*/
.header {
  display: flex;
  flex-direction: row;
  padding: 2rem 0 0 0;
}

.header p {
  line-height: 1em;
  margin-left: 55px;
}

nav ul {
  display: flex;
  flex-direction: row;
  justify-content: center;
  list-style: none;
  margin: 1rem 0 0 0;
}
nav li {
  letter-spacing: 0.1em;
  flex: 1 0 auto;
  font-family: "Gothic MB101";
  margin-left: 30px;
}
nav li a {
  text-decoration: none;
  text-align: center;
  width: 100%;
}
nav a:hover {
  background-color: #f7f7f7;
}
nav a {
  padding: 0.5rem;
}

#navi {
  position: absolute;
  right: 60px;
  bottom: 0px;
}

.logo-area {
  margin-bottom: 10px;
  margin-left: 0.6em;
}

.s1-tp {
  font-size: 0.7em;
  color: #333333;
  font-weight: 600;
}

@media screen and (min-width: 900px) {
  /* PC時はMENUボタンを非表示 */
  #open,
  #close {
    display: none !important;
  }

  #navi {
    display: block !important;
  }
}

@media screen and (max-width: 900px) {
  #navi {
    position: initial;
    right: initial;
  }

  .header {
    flex-direction: column;
    margin-bottom: 10px;
  }
  .header #open,
  #close {
    position: absolute;
    top: 20px;
    right: 12px;
  }
  nav ul {
    flex-direction: column;
  }

  /* スマホ時はMENUボタンを表示 */
  #open,
  #close {
    display: block;
    width: 50px;
    border: none;
    position: absolute;
    top: 20px;
    right: 12px;
  }
  /* スマホ時はメニューを非表示 */
  #navi {
    display: none;
  }
}

@media screen and (max-width: 600px) {
  .logo-area svg {
    margin-bottom: 20px;
    margin-left: 0;
    width: 65%;
  }
}
/*メイン画像
-------------------------------------*/
.mainimg {
  position: relative;
}
.mainimg::after {
  content: "";
  z-index: -1;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url("../img/back1920x793.jpg") center / cover no-repeat;
  background-attachment: fixed;
}
/*original 1920x793 */
@media screen and (min-width: 768px) {
  .mainimg {
    height: calc(792 / 1920 * 100vw);
  }
}

@media screen and (max-width: 768px) {
  .mainimg {
    height: calc(317 / 768 * 100vw);
  }
}

@media screen and (max-width: 600px) {
  .mainimg {
    height: 250px;
  }
}

/*--STACKmark&TEXT&MEN 1012x354--*/
.mark-and-text{
  position: absolute;
}

@media screen and (max-width: 1920px) {
  .mark-and-text {
    top: 20px;
    left: calc(50% - 450px);
  }
}

@media screen and (max-width: 900px) {
  .mark-and-text {
    width: calc(800 / 900 * 100vw);
    height: calc(280 / 900 * 100vw);
    top: calc(50% - 140px);
    left: calc(50% - 300px);
  }
}

@media screen and (max-width: 600px) {
  .mark-and-text {
    width: calc(500 / 600 * 100vw);
    height: calc(175 / 600 * 100vw);
    top: calc(50% - 100px);
	  left: calc(50% - 180px);
/*    left:calc(50% - 180px); */
	}
}


/* mask */

.stack-logo {
  position: absolute;
}

@media screen and (max-width: 1920px) {
  .stack-logo {
    top: calc(50% - 250px);
    left: calc(50% - 100px);
  }
}

@media screen and (max-width: 900px) {
  .stack-logo {
    width: calc(197.56 / 900 * 100vw);
    height: calc(134.42 / 900 * 100vw);
    top: calc(50% - 250px);
    left: calc(50% - 90px);
  }
}

@media screen and (max-width: 600px) {
  .stack-logo {
    width: calc(197.56 / 900 * 100vw);
    height: calc(134.42 / 900 * 100vw);
    top: calc(50% - 40px);
    left: calc(50% - 40px);
  }
}

/*メインコンテンツ
-------------------------------------*/
main {
  margin: 5rem 0 0 0;
}
section {
  margin: 1rem 0 4rem 0;
  padding: 0 0 2rem 0;
}

.gray-back {
  background-color: #f6f6f6;
}

.white-back {
  background-color: #fff;
  padding: 4% 2% 2.5%;
}

.green-back {
  background-color: #e3f3e1;
}

/*キャッチコピー
-------------------------------------*/
.catch {
  text-align: center;
  margin-bottom: 50px;
}
.catch h2 {
  padding-bottom: 2rem;
  font-family: "Midashi Go MB31";
}
.catch > p {
  font-family: "Ryumin Regular KL";
  color: #1a1a1a;
  line-height: 35.38px;
  letter-spacing: 0.03em;
}

.under {
  padding: 0 1rem 1rem 1rem;
}

.center {
  text-align: center;
  margin-bottom: 2rem;
}

@media screen and (min-width: 768px) {
  .br::before {
    content: "\A";
    white-space: pre;
  }
}

@media screen and (max-width: 768px) {
  .ind1 p {
    text-align: left;
    margin-left: 10px;
  }

  .br1::before {
    content: "\A";
    white-space: pre;
  }
}

@media screen and (max-width: 768px) {
  .ind1 h2 {
    text-align: left;
    margin-left: 10px;
  }
}

/*stackのできること
-------------------------------------*/

.under-border {
  border-bottom: 1.5px solid #12551c;
  text-align: center;
  padding: 0 26% 0 26%;
  letter-spacing: 0.04em;
}

.cando {
  font-size: 0.98em;
  text-align: center;
  font-family: "Ryumin Regular KL";
  color: #1a1a1a;
  line-height: 35.38px;
  letter-spacing: 0.03em;
  margin-bottom: 20px;
  padding-top: 20px;
}

.works > .container {
  max-width: 768px;
}

.works-frame {
  box-sizing: border-box;
  flex-wrap: wrap;
  display: -ms-flexbox;
  -ms-flex-wrap: wrap;
  justify-content: center;
}

.works-child {
  margin: 5px 10px;
}

@media screen and (max-width: 768px) {
  .works > .container > .row {
    flex-direction: row;
    flex-wrap: wrap;
  }
  .works-frame {
    width: 100%;
  }

  .under-border {
    max-width: 780px;
    display: block;
    padding: 0 2% 0 2%;
  }

  .works p {
    text-align: left;
    margin-left: 20px;
  }
}

@media screen and (max-width: 500px) {
  .works-child {
    width: 125px;
  }
}

/*お知らせ
-------------------------------------*/
.flow.row {
  margin-bottom: 3rem;
}

.row-topics > h3 {
  font-size: 1.3em;
}

.under-topics {
  border-bottom: 1.5px solid #12551c;
  color: #12551c;
}

.topics dl {
  display: flex;
  margin-left: 40px;
  font-size: 1.035em;
}

.topics dt {
  margin-right: 15px;
  color: #808080;
  font-size: 1.035em;
}

@media screen and (min-width: 768px) {
  .news > .container > .row {
    margin-left: 10.322%;
    align-items: center;
  }
}

@media screen and (max-width: 768px) {
  .news {
    display: flex;
    align-items: center;
  }

  .news h3 {
    margin-left: 10px;
  }

  .topics {
    padding-top: 20px;
  }

  .topics dl {
    margin: initial;
    font-size: 0.85em;
  }

  .topics dt {
    clear: left;
    float: left;
    width: 100px;
    padding-bottom: 0px;
    padding-right: 60px;
  }

  .topics dd {
    margin-left: 2.4rem;
    margin-right: 2.4rem;
  }
}

@media screen and (max-width: 500px) {
  .topics dl {
    font-size: 0.8em;
  }
}

/*生涯活躍のまち推進機構プロジェクト
-------------------------------------*/
.under-border2 {
  border-bottom: 1.5px solid #12551c;
  text-align: center;
  padding: 0 20.5% 0 20.5%;
  letter-spacing: 0.04em;
}

.project-frame {
  display: flex;
  justify-content: center;
}

.project-child {
  margin: 28px;
  margin-top: 50px;
}

.small {
  font-size: 1.8rem;
  letter-spacing: 0.1em;
}

.projecth3 {
  margin-top: 28px;
  text-align: left;
  font-size: 19.89px;
}

.projectp {
  max-width: 310px;
  width: auto;
  text-align: left;
  font-size: 0.9em;
  margin-bottom: 25px;
}

a.btn-c {
  right: 3.6rem;
}
.carets {
  font-size: 1.9rem;
  vertical-align: -5px;
  margin-left: 4px;
}

.link-botton{
  background-color: #006400;
  width: 250px;
  height: 40px;
  border-radius: 20px;
  color: #ffffff;
  font-size: 16px;
}

@media screen and (max-width: 768px) {
  .project > .container > .row {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .projecth3 {
    max-width: 310px;
    margin-left: auto;
    margin-right: auto;
  }

  .projectp {
    margin-left: auto;
    margin-right: auto;
  }

  .projectbr::before {
    content: "\A";
    white-space: pre;
  }

  a.btn-c {
    right: initial;
  }
}
@media screen and (max-width: 768px) {
  .small {
    font-size: 1.65rem;
  }

  .under-border2 {
    max-width: 780px;
    display: block;
  }
}

/*提携先
-------------------------------------*/
.partner > .container {
  max-width: 768px;
}

.partner-frame {
  box-sizing: border-box;
  flex-wrap: wrap;
  display: -ms-flexbox;
  -ms-flex-wrap: wrap;
  justify-content: center;
}

.partner-child {
  margin: 0 10px;
}

@media screen and (max-width: 768px) {
  .partner > .container > .row {
    flex-direction: row;
    flex-wrap: wrap;
  }
  .partner-frame {
    width: 100%;
  }

  .partner-child {
    width: 150px;
  }
}

@media screen and (max-width: 500px) {
  .partner-child {
    width: 130px;
  }
}

/*フッター
-------------------------------------*/
footer {
  background-color: #e4f5d4;
  padding: 1rem 0;
}

footer h4 {
  border-bottom: 3px solid #ccc;
}

footer p {
  font-size: 0.75em;
}

.footer-frame {
  display: flex;
  justify-content: flex-start;
}

.footerp1 {
  padding-top: 3px;
  padding-left: 105px;
}

.footerp2 {
  padding-top: 25px;
  padding-left: 80px;
}

.footerp3 {
  padding-top: 17px;
  padding-left: 40px;
}

.footerp4 {
  padding-top: 40px;
  padding-left: 50px;
}

.footerp1 span {
  color: #12551c;
  font-size: 1.3em;
  font-weight: 600;
}

@media screen and (max-width: 768px) {
  .footerp1,
  .footerp2,
  .footerp3 {
    padding: initial;
    margin: 10px;
  }
}

/*コピーライト
-------------------------------------*/
.copyright {
  text-align: center;
  padding: 1rem 0;
  background-color: #12551c;
}
.copyright a {
  color: #fff;
  text-decoration: none;
  display: inline;
}

/*ページトップへ戻るボタン
-------------------------------------*/
#pagetop {
  position: fixed;
  bottom: 15px;
  right: 15px;
}
#pagetop a {
  display: block;
  background: #000;
  color: #fff;
  width: 50px;
  padding: 10px 5px;
  text-align: center;
}
#pagetop a:hover {
  background: #666;
}

/* 幅768px以下の表示
-------------------------------------*/
@media screen and (max-width: 768px) {
  /*ヘッダー
-------------------------------------*/
  .header-box {
    display: none;
  }
}

/* 幅500px以下の表示
-------------------------------------*/
@media screen and (max-width: 500px) {
  /*フォント
-------------------------------------*/
  .w500::before {
    content: "\A";
    white-space: pre;
  }
}
