/*---------------------------------
  CSS変数
---------------------------------*/
:root {
  --color-black: #1A1F22;
  --color-white: #FFFFFF;
  --color-primary: #0068B7;
  --color-secondary: #52A5E4;
  --color-dark-gray: #919395;
  --color-gray: #C9CED2;
  --color-light-gray: #F0F2F3;
  --color-facebook-brand:#3b5998;
}

/*---------------------------------
  リセット
---------------------------------*/
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

a {
  color: var(--color-primary);
  transition: .3s;
  text-decoration: none;
}


a:hover {
  font-weight: 700;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  line-height: 1;
  font-weight: 700;
}

p,
li {
  line-height: 1.7;
}

ul li,
ol li {
  list-style-type: none;
}

hr {
  border: 0;
  margin: 0;
  height: 1px;
}

dl {
  width: 100%;
  display: flex;
}

/*---------------------------------
  共通
---------------------------------*/

.pc {
  display: inline-block;
}

.sp {
  display: none;
}

body {
  font-family: 'Rubik', 'Noto Sans JP', sans-serif;
  color: var(--color-black);
  letter-spacing: .1em;
  position: relative;
  background: var(--color-light-gray);
}

body.fixed {
  position: fixed;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
}

.wrap {
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  padding: 10px;
}

.wrap.mini {
  width: 100%;
  max-width: 700px;
  margin: 0 auto;
  padding: 10px;
}

.button {
  background: var(--color-primary);
  color: var(--color-white);
  text-decoration: none;
  padding: 8px 14px;
  font-size: 14px;
  color: var(--color-white);
  border-radius: 2px;
  transition: .5s;
  box-shadow: 0 1px 2px rgba(0,0,0,.12);
  white-space: nowrap
}

.button:hover {
  background: var(--color-secondary);
}

.divider {
  border-top: 1px solid var(--color-gray);
}

/*---------------------------------
  ロード時のアニメーション
---------------------------------*/
#loading {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 100;
  width: 100%;
  height: 100vh;
  background-color: var(--color-light-gray);
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-plus {
  display: none;
  z-index: 999;
  text-align: center;
}

.logo-plus p {
  margin-bottom: 12px;
}

/*---------------------------------
  ヘッダー
---------------------------------*/

header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 2;
  width: 100%;
  background: transparent;
  font-size: 14px;
}

header.small {
  display: none;
}

.menu {
  display: none;
}


header a {
  color: var(--color-white);
}

header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

header .wrap h1 svg {
  fill: var(--color-white);
  width: 196px;
  height: 32px;
}

header .wrap nav ul {
  display: flex;
  align-items: center;
}

header .wrap nav ul li {
  line-height: 1;
  margin: 0 8px;
}

.sns {
  display: inline-flex;
  font-size: 24px;
  padding: 4px;
  color: var(--color-white);
}

header.fill {
  background: var(--color-light-gray);
  box-shadow: 0 1px 2px rgba(0, 0, 0, .24);
}

header.fill a {
  color: var(--color-black);
}

header.fill .button {
  color: var(--color-white);
}

header.fill .logo svg {
  fill: var(--color-black);
}

header.fill .sns {
  color: var(--color-facebook-brand);
}

/*---------------------------------
  メインビジュアル
---------------------------------*/

.hero {
  position: relative;
  width: 100%;
  height: 100vh;
}

.hero::before {
  display: block;
  content: '';
  top: 0;
  left: 0;
  z-index: -1;
  width: inherit;
  height: inherit;
  position: absolute;
  background-image: url('../images/main-background.jpg');
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  filter: brightness(76%);
  box-shadow: inset 0 0 24px rgba(0,0,0,.48),
              inset 0 0 24px rgba(0,0,0,.48),
              inset 0 0 24px rgba(0,0,0,.48);
}

.hero .wrap {
  height: inherit;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero .wrap h2 {
  font-size: 52px;
  color: var(--color-white);
  font-family: 'Marquette';
  line-height: 2;
}


/*---------------------------------
  NEWS
---------------------------------*/

#news {
  padding: 16px 0;
  background: var(--color-black);
  color: var(--color-white);
  font-size: 14px;
}

#news #topics dl {
  align-items: center;
}

#news #topics dl:not(:last-child) {
  margin-bottom: 12px;
}

#news #topics dt {
  width: 8em;
  font-weight: 500;
  color: rgba(255, 255, 255, .8);
}

#news #topics dd {  
  display: flex;
  width: calc(100% - 10em);
  align-items: center;
}

#news #topics dd .button {
  margin-left: auto;
  padding: 6px 12px;
}

/*---------------------------------
  セクション共通
---------------------------------*/

section {
 padding: 32px 0;
}

.section-header {
 padding: 12px 0 24px;
}

.section-header .wrap {
  display: flex;
  align-items: center;
  justify-content: center;
}

.section-header h1 {
  font-size: 32px;
  text-align: center;
}

.section-header span {
  display: block;
  font-family: 'Marquette';
  line-height: 2;
  text-align: center;
  font-size: 24px;
  color: var(--color-dark-gray);
  margin-top: 12px;
}
  
.section-contents .caption {
  text-align: center;
  font-size: 14px;
  margin: 8px 12px;
  text-decoration: underline;
}

.section-contents ul {
  display: flex;
  flex-wrap: wrap;
}

/*---------------------------------
  コンテンツボックス
---------------------------------*/
.box {
  width: calc(100% / 3);
  text-align: center;
  padding: 12px;
}

/* BOX-HEADER */
.box-header .icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--color-black);
  width: 124px;
  height: 124px;
  background-color: var(--color-white);
  border-radius: 50%;
  box-shadow: 0 2px 4px rgba(0, 0, 0, .12);
}

.box-header .icon ion-icon {
  font-size: 56px;
}

.box-header .icon.user {
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}

.box-header .thumbnail {
  display: flex;
  width: 100%;
  height: 164px;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}

/* BOX-CONTENT */

.box-content h2 {
  font-size: 18px;
  line-height: 1.5;
  margin: 16px 0;
  text-align: center;
}

.box-content h2 span {
  color: var(--color-dark-gray);
  font-weight: 500;
  font-size: 14px;
  display: block;
}

.box-content p {
  text-align: left;
}

.box-content .button {
  display: inline-block;
  margin-top: 12px;
}

/*---------------------------------
  BREAKE
---------------------------------*/
.break {
  width: 100%;
  height: 320px;
  position: relative;
}

.break::before {
  display: block;
  content: '';
  top: 0;
  left: 0;
  z-index: -1;
  width: inherit;
  height: inherit;
  position: absolute;
  background-image: url('../images/break-background.jpg');
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  filter: brightness(90%);
  box-shadow: inset 0 0 24px rgba(0,0,0,.48),
              inset 0 0 24px rgba(0,0,0,.48),
              inset 0 0 24px rgba(0,0,0,.48);
}

/*---------------------------------
  MESSAGE
---------------------------------*/

#message {
  text-align: center;
}

.tag-line p {
  text-align: center;
  font-family: 'Marquette';
  line-height: 2;
  color: var(--color-dark-gray);
  font-size: 48px;
}

.main-copy {
  margin: 16px 0 24px;
}

.main-copy p {
  font-size: 28px;
  font-weight: 500;
}

.body-copy p {
  line-height: 2;
  margin-bottom: 12px;
}

/*
.body-copy p:first-child {
  margin-bottom: 16px;
}
*/

.sign {
  margin-top: 24px;
}

/*---------------------------------
  COMPANY PROFILE
---------------------------------*/
#company dl {
  width: 100%;
  margin-bottom: 2px;
}

#company dt,
#company dd {
  padding: 8px 12px;
}

#company dt {
  width: 8em;
}

#company dd {
  width: calc(100% - 8em);
}

/*---------------------------------
  MAP
---------------------------------*/
#map {
  width: 100%;
  height: 420px;
}

/*---------------------------------
  PAGE TOP BUTTON
---------------------------------*/
#page-top {
  position: fixed;
  bottom: 48px;
  right: 48px;
  z-index: 2;
}

#page-top a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  background: var(--color-primary);
  border-radius: 50%;
  padding: 16px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, .24);
}

#page-top a ion-icon {
  color: var(--color-white);
  font-size: 20px;
}

#page-top a:hover {
  background: var(--color-secondary);
}

/*---------------------------------
  FOOTER
---------------------------------*/

footer {
  background: var(--color-black);
  color: var(--color-white);
  text-align: center;
  padding: 12px 0;
}

footer .divider {
  border-top: 1px solid rgba(255,255,255,.24);
  margin: 16px 0
}

footer small {
  font-size: 12px;
}

footer small a {
  text-decoration: underline;
  color: var(--color-white);
}

/*---------------------------------
  MESSAGE
---------------------------------*/
#overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 10;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,.92);
  overflow: auto;
}

.dialog-container {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.dialog {
  position: relative;
  width: 100%;
  max-width: 480px;
  background: var(--color-white);
  box-shadow: 0 2px 4px rgba(0,0,0,.24);
  margin: 24px auto;
}

.close {
  position: absolute;
  top: 12px;
  right: 12px;
  display: inline-flex;
  align-items: center;
  font-size: 14px;
  color: var(--color-white);
  background: rgba(0,0,0,.5);
  padding: 4px 8px 4px 10px;
}

.close ion-icon {
  font-size: 18px;
}

.dialog-header figure {
  width: 100%;
  height: 240px;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}

.dialog-content {
  padding: 24px;
}

.dialog-content h2 {
  /*text-align: center;*/
  font-size: 20px;
  margin-bottom: 8px;
  line-height: 1.5;
}

.dialog-content p {
  font-size: 16px;
}

.dialog-content hr {
  margin: 12px 0;
}

.tag-cloud {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}

.tag {
  display: inline-block;
  background: var(--color-light-gray);
  font-size: 12px;
  padding: 4px 16px;
  margin: 6px 6px 0 0;
  border-radius: 14px;
}

/*---------------------------------
  Image
---------------------------------*/

.project-01 {
  background-image: url(../images/project-01.jpg);
}

.project-02 {
  background-image: url(../images/project-02.jpg);
}

.project-03 {
  background-image: url(../images/project-03.jpg);
}

.user-01 {
  background-image: url(../images/user-01.jpg);
}

.user-02 {
  background-image: url(../images/user-02.jpg);
}

.user-03 {
  background-image: url(../images/user-03.jpg);
}

.campus-01 {
  background-image: url(../images/campus-01.jpg);
}

.campus-02 {
  background-image: url(../images/campus-02.jpg);
}

.campus-03 {
  background-image: url(../images/campus-03.jpg);
}

.campus-04 {
  background-image: url(../images/campus-04.jpg);
}

.campus-05 {
  background-image: url(../images/campus-05.jpg);
}

.campus-06 {
  background-image: url(../images/campus-06.jpg);
}


/*---------------------------------
  Animation
---------------------------------*/

.invisible {
  visibility: hidden;
}

.animated {
  opacity: 0;
  animation-duration: 1s;
}

.animated.second {
  animation-duration: 1.2s;
}

.animated.third {
  animation-duration: 1.4s;
}

@-webkit-keyframes fadeInUp {
  from {
    opacity: 0;
    -webkit-transform: translate3d(0, 48px, 0);
    transform: translate3d(0, 48px, 0);
  }

  to {
    opacity: 1;
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    -webkit-transform: translate3d(0, 48px, 0);
    transform: translate3d(0, 48px, 0);
  }

  to {
    opacity: 1;
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
  }
}

.s1x {
  animation-duration: 1s;
  animation-delay: 4.5s;
}

.s2x {
  animation-duration: 1.2s;
  animation-delay: 5.4s;
}

/*---------------------------------
  MediaQuery
---------------------------------*/
@media screen and (max-width:1024px) {
  header.default {
    display: none;
  }
  
  header.small {
    display: flex;
  }
  
  header.small .wrap {
    padding: 10px 16px;
  }
  
  header.small h1 {
    display: flex;
    align-items: center;
  }
  
  .open-menu,
  .close-menu {
    display: inline;
  }
  
  .open-menu ion-icon,
  .close-menu ion-icon {
    font-size: 28px;
  }
  
  .menu {
    display: flex;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 3;
    width: 100%;
    height: 100vh;
    background: var(--color-light-gray);
    padding: 48px;
  }
  
  .close-menu {
    position: absolute;
    top: 10px;
    right: 16px;
    color: var(--color-black);
  }
  
  .menu ul {
    display: flex;
    flex-direction: column;
    width: 100%;
  }
  
  .menu ul li {
    margin-top: 24px;
  }
  
  .menu ul li:first-child {
    margin-top: 12px;
  }
  
  .menu ul li a {
    font-size: 20px;
    color: var(--color-black);
    display: block;
    font-weight: 500;
    text-align: center;
  }
  
  .menu ul li .contact {
    color: var(--color-primary);
  }
  
  .menu ul li .facebook {
    color: var(--color-facebook-brand);
  }
  
  .wrap {
    padding: 0;
  }
  
  #news {
    padding: 16px 10px;
  }
  
  .dialog-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    height: inherit;
  }
}

@media screen and (max-width: 767px) {
  .sp {
    display: inline-block;
  }

  .pc {
    display: none;
  }
  
  dl {
    flex-direction: column;
  }
  
  .hero .wrap h2 {
    font-size: 28px;
  }
  
  #news {
    padding: 32px 0;
  }
  
  #news #topics dl:not(:last-child) {
    margin-bottom: 24px;
  }
  
  #news #topics dl {
    padding: 0 10px;
  }

  #news #topics dt,
  #news #topics dd {
    width: 100%;
    text-align: center;
  }
  
  #news #topics dt {
    margin-bottom: 12px;
  }
  
  #news #topics dd {
    flex-direction: column;
  }
  
  #news #topics dd .button {
    width: 80%;
    max-width: 296px;
    margin: 16px auto 0;
  }
  
  .main-copy p {
    font-size: 24px;
  }
  
  .box-header .thumbnail {
    height: 240px;
  }
  
  .box-content {
    16px 0 0;
  }
  
  .box-content p {
    text-align: center;
  }
  
  .box-content .button {
    width: 80%;
    max-width: 296px;
    margin: 16px auto 0;
  }
  
  .dialog-wrap {
    display: block;
    height: auto;
  }
  
  .dialog {
    margin: 0;
  }
  
  #company dl:not(:last-child) {
    margin-bottom: 24px;
  }
  
  #company dt,
  #company dd {
    width: 100%;
    text-align: center;
    padding: 0;
  }
  
  #company dt {
    font-weight: 700;
    margin-bottom: 8px;
  }
    
  #company dd .title {
    display: inline-block;
    font-weight: 500;
    color: var(--color-dark-gray);
    margin: 8px 0 4px;
  }
  
  .tag-line p {
    font-size: 24px;
  }
  
  .section-contents ul {
    flex-direction: column;
  }
  
  .box {
    padding: 16px 10px;
  }
  
  #page-top {
    right: 10px;
  }

  footer small a {
    display: block;
    margin-top: 4px;
  }
  
  /*SLICK.JS*/
  .section-contents ul {
    flex-direction: row; 
    justify-content: center;
  }
  
  .slick-dots {
    bottom: -48px;
  }
  
  #topics .slick-dots li button:before,
  #topics .slick-dots li.slick-active button:before {
    color: var(--color-primary);
  }
  
  .slick-dots li button:before,
  .slick-dots li.slick-active button:before {
    color: var(--color-black);
    opacity: .25;
  }
  
  .slick-dots li.slick-active button:before {
    opacity: .75;
  }

  .slick-prev, .slick-next {
    width: 24px;
    height: 24px;
  }
  
  .slick-prev {
    left: 0;
  }
  
  .slick-next {
    right: 0;
  }
  
  .slick-prev:before, .slick-next:before {
    font-family: 'Ionicons';
    font-size: 24px;
    color: var(--color-primary);
    opacity: .36;
  }
  
  .slick-prev:before {
    content: '\f124';
  }
  
  .slick-next:before {
    content: '\f125';
  }
}

@media screen and (max-width: 320px) {
  .hero .wrap h2 {
    font-size: 24px;
  }
}
