@charset "utf-8";

/** ***************************************************************************
 * ⾏動計画共用
 * ************************************************************************* */

/**
 * 目標
 */

#main section.objective header.header {
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
}

#main section.objective header.header .title {
  padding: 0.5em 2em;
  color: #fff;
  line-height: 1.5;
  letter-spacing: 2px;
  font-family: var(--font-maru-sans);
  font-size: 1.125em;
  font-weight: 500;
  background-color: rgb(var(--accentcolor-1));
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

#main section.objective header.header div.text {
  padding: 1em 1.5em;
  line-height: 1.8;
  font-weight: 500;
  background-color: #f5f5f5;
  flex-grow: 1;
}

@media screen and (min-width:768px) {

  #main section.objective header.header {
    flex-direction: row;
  }

  #main section.objective header.header .title {
    padding: 1em 2em;
  }

}
