@charset "utf-8";
@import url('https://fonts.googleapis.com/css2?family=Kiwi+Maru&display=swap');

/* レイアウト
____________________________________*/

body,
html {
  width: 100%;
  height: 100%;
  margin: 0 auto;
  background-color: #fafafa;
  animation: fadeIn 2.5s ease 0s 1 normal;
}

h1 {
  text-align: center;
  font-family: 'Kiwi Maru', serif;
  font-size: 1rem;
}

h2 {
  text-align: center;
  font-family: 'Kiwi Maru', serif;
  font-size: 2rem;
  margin-top: 25px;
}

.mgr-30 {
  margin-left : 30px;
}

.link:after {
  content: '\e89e';
  font-family: 'Material Icons';
}

.caption {
  font-size: 1.4rem;
  font-family: 'Kiwi Maru', serif;
  letter-spacing: 0.1em;
  line-height: 1.5;
  margin-top: 25px;
}

.box-detail01,
.box-detail02,
.box-detail03,
.box-detail04 {
    padding: 4% 6%;
}

.macbook {
  padding: 4% 6%;
  margin: 0 auto;
  max-width: 800vw;
}

.screen {
  background: #000;
  border-radius: 3% 3% 0.5% 0.5% / 5%;
  margin: 0 auto;
  /* for aspect ratio */
  position: relative;
  width: 80%;
}

.screen:before {
  border: 2px solid #cacacc;
  border-radius: 3% 3% 0.5% 0.5% / 5%;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.8) inset, 0 0 1px 2px rgba(255, 255, 255, 0.3) inset;
  content: "";
  display: block;
  /* for aspect ratio ~67:100 */
  padding-top: 67%;
}

.screen:after {
  content: "";
  border-top: 2px solid rgba(255, 255, 255, 0.15);
  position: absolute;
  bottom: 0.75%;
  left: 0.5%;
  padding-top: 1%;
  width: 99%;
}

.viewport {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  top: 0;
  margin: 4.3% 3.2%;
  background: #333;
}

.base {
  /* for aspect ratio */
  position: relative;
  width: 100%;
}

.base:before {
  content: "";
  display: block;
  /* for aspect ratio ~33:1000*/
  padding-top: 3.3%;
  /* stylin */
  background: linear-gradient(#eaeced, #edeef0 55%, #fff 55%, #8a8b8f 56%, #999ba0 61%, #4B4B4F 84%, #262627 89%, rgba(0, 0, 0, .01) 98%);
  border-radius: 0 0 10% 10%/ 0 0 50% 50%;
}

.base::after {
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.5), rgba(255, 255, 255, 0.8) 0.5%, rgba(0, 0, 0, 0.4) 3.3%, transparent 15%, rgba(255, 255, 255, 0.8) 50%, transparent 85%, rgba(0, 0, 0, 0.4) 96.7%, rgba(255, 255, 255, 0.8) 99.5%, rgba(0, 0, 0, 0.5) 100%);
  content: "";
  height: 53%;
  position: absolute;
  top: 0;
  width: 100%;
}

.notch {
  background: #ddd;
  border-radius: 0 0 7% 7% / 0 0 95% 95%;
  box-shadow: -5px -1px 3px rgba(0, 0, 0, 0.2) inset, 5px -1px 3px rgba(0, 0, 0, 0.2) inset;
  margin-left: auto;
  margin-right: auto;
  margin-top: -3.5%;
  z-index: 2;
  /* for aspect ratio */
  position: relative;
  width: 14%;
}

.notch:before {
  content: "";
  display: block;
  /* for aspect ratio ~1:10 */
  padding-top: 10%;
}


/* Screenshot Hover Scroll Additions
-------------------------------------------------------------- */

.macbook .viewport {
  transition: background-position 3s ease;
  background-position: 0 0;
  background-size: 100% auto;
  overflow: hidden;
  cursor: pointer;
}

.macbook:hover .viewport {
  background-position: 0 100%;
}

.macbook .viewport:after {
  background: radial-gradient(circle at right bottom, transparent 75%, rgba(255, 255, 255, 0.05) 75%, transparent);
  bottom: 0;
  content: "";
  left: 0;
  position: absolute;
  right: 0;
  top: 0;
}











.iphone-ipad {
  padding: 0;
  margin: 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  overflow: hidden;
}

.iphone,
.ipad {
  display: block;
  margin: 0 auto;
  color: #fff;
  text-align: center;
  font-family: "SF Pro Display", Helvetica Neue, Arial, sans-serif;
  letter-spacing: -0.022em;
  font-size: 2.5vmin;
  text-shadow: 0 0 0.5em #000;
  background-color: #000;
  background-size: auto 200%, cover;
  background-repeat: no-repeat, no-repeat;
  border: solid #111;
  margin-bottom: 2em;
  position: relative;
  box-shadow: 0 0.5em 2em 0.2em rgba(0, 0, 0, 0.33), 0 0 0 0.5px #000 inset;
  transition: all 0.1s linear, line-height 0s linear;
  background-position: 50% 100%, center;
  transform-origin: bottom center;
}
.iphone:hover,
.ipad:hover {
  color: transparent;
  text-shadow: 0 0 0em transparent;
  background-position: 50% -100%, center center;
  transition: all 0.15s linear, line-height 5s linear;
  line-height: 0vmin;
}

.iphone {
  width: 23.7623762376vmin;
  height: 51.0891089109vmin;
  line-height: 51.4455445545vmin;
  border-width: 1.5207920792vmin;
  border-radius: 4.0550130098vmin;
  background-image: linear-gradient(rgba(0, 0, 0, 0), #111), url(../works/design/06/modal/img_iphone.png);
  z-index: 200;
}

.ipad {
  margin-left: 2em;
  height: 85.8vmin;
  width: 60vmin;
  line-height: 85.8vmin;
  border-width: 3vmin;
  border-radius: 4.2857142857vmin;
  background-image: linear-gradient(rgba(0, 0, 0, 0), #111), url(../works/design/06/modal/img_ipad.png);
  z-index: 100;
}








.browser-mockup {
  max-width: 50%;
  margin: 0 auto;
  border-top: 2em solid rgba(230, 230, 230, 0.7);
  box-shadow: 0 0.1em 1em 0 rgba(0, 0, 0, 0.4);
  position: relative;
  border-radius: 3px 3px 0 0;
}

.browser-mockup:before {
  display: block;
  position: absolute;
  content: '';
  top: -1.25em;
  left: 1em;
  width: 0.5em;
  height: 0.5em;
  border-radius: 50%;
  background-color: #f44;
  box-shadow: 0 0 0 2px #f44, 1.5em 0 0 2px #9b3, 3em 0 0 2px #fb5;
}

.browser-mockup > * {
  display: block;
}

.browser-mockup {
  flex: 1;
}

img {
  width: 100%;
}










.list_title {
  font-size: 1.4rem;
  font-family: 'Kiwi Maru', serif;
  padding: 50px 30px 10px 30px;
}
.list_item {
  padding: 0 30px 10px 30px;
}
.list {
  display: list;
  border-collapse: collapse;
}
.list > .item {
  display: list-row;
}
.list > div > div {
  display: list-cell;
}
.box {
  padding: 0 30px 30px 30px;
}








.btn-works-newwindow {
  display: inline-block;
  letter-spacing: 0.1em;
  padding: 1em 2em;
  margin: 1em;
  width: 100%;
  max-width: 350px;
  text-align: center;
  text-decoration: none;
  color: #222;
  border-radius: 3px;
  border: 1px solid #1b1b1b;
  background: #fff;
  justify-content: center;
  align-items: center;
  vertical-align: middle;
  display: flex;
  justify-content: center;
  margin-right: auto;
  margin-left: auto;
}

.btn-works-newwindow:hover {
  color: #fff;
  border: 1px solid #fff;
  background: #222;
}