* {
  box-sizing: border-box;
  padding: 0px;
  margin: 0px;
  font-family: YuMincho, "Yu Mincho", "Hiragino Mincho ProN", "serif";
  color: inherit;
  /* outline: 1px solid magenta; */
}
img {
  max-width: 100%;
  height: auto;
}
div {
  display: block;
  unicode-bidi: isolate;
}
a,
a:hover,
a:visited {
  text-decoration: none;
  color: inherit;
}
a[target="_blank"] {
  padding-right: 15px;
  background: url("../img/blanklink.png") right center/11px auto no-repeat;
}
html {
  scroll-behavior: smooth;
  font-size: 100%;
  /* font-size: calc((100vw - 320px) / 140 + 16px); */
}
body {
  width: 100%;
  background-color: #72736f;
  /* overflow: hidden scroll; */
  display: block;
  line-height: 1.4;
  overflow-x: hidden;
}
ul {
  list-style: none;
}
.over-row {
  margin: 0 calc(50% - 50vw);
  width: 100%;
}
.row {
  display: flex;
  flex-wrap: wrap;
}

main {
  padding-top: 80px;
}

section {
  padding: 0 15px;
}

/* --------------------
          ヘッダー
  -------------------- */

header {
  padding: 30px 4% 10px;
  position: fixed;
  top: 0;
  width: 100%;
  background-color: transparent;
  display: flex;
  align-items: center;
  background-color: rgba(255, 246, 236, 0.1);
  z-index: 9999;
}
header h1 {
  margin: 0;
  padding: 0;
  font-size: 2rem;
  line-height: 0.8;
}
header #logop2 {
  display: block;
}
header a {
  text-decoration: none;
}
header nav {
  margin: 0 0 0 auto;
}
header ul {
  list-style: none;
  margin: 0;
  display: flex;
}
header li {
  margin: 0 0 0 15px;
  font-size: 1rem;
  /* color: #fff; */
  font-weight: bold;
}
header li:hover {
  color: #ddd;
}

.sp-nav {
  display: none;
}

@media screen and (max-width: 640px) {
  .pc-nav {
    display: none;
  }
  .sp-nav {
    z-index: 1;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    display: block;
    width: 100%;
    background: rgba(0, 0, 0, 0.8);
    opacity: 0;
    transform: translateY(-100%);
    transition: all 0.2s ease-in-out;
  }
  #hamburger {
    position: relative;
    display: block;
    width: 30px;
    height: 25px;
    margin: 0 0 0 auto;
  }
  #hamburger span {
    position: absolute;
    top: 50%;
    left: 0;
    display: block;
    width: 100%;
    height: 2px;
    background-color: #fff;
    transform: translateY(-50%);
  }
  #hamburger::before {
    content: "";
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #fff;
  }
  #hamburger::after {
    content: "";
    display: block;
    position: absolute;
    bottom: 0;
    left: 0;
    width: 70%;
    height: 2px;
    background-color: #fff;
  }
  /*スマホメニュー*/
  .sp-nav ul {
    padding: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
  }
  .sp-nav li {
    margin: 0;
    padding: 0;
    color: #fff;
  }
  .sp-nav li span {
    font-size: 15px;
    color: #fff;
  }
  .sp-nav li a,
  .sp-nav li span {
    display: block;
    padding: 20px 0;
  }
  /*-閉じるアイコンー*/
  .sp-nav .close {
    position: relative;
    padding-left: 20px;
  }
  .sp-nav .close::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    display: block;
    width: 16px;
    height: 1px;
    background: #fff;
    transform: rotate(45deg);
  }
  .sp-nav .close::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    display: block;
    width: 16px;
    height: 1px;
    background: #fff;
    transform: rotate(-45deg);
  }
  .toggle {
    transform: translateY(0);
    opacity: 1;
  }
}

h2 {
  text-align: center;
  font-size: 6.25rem;
  margin-bottom: 2rem;
  font-family: "Nanum Myeongjo", serif;
  font-weight: 800;
  font-style: normal;
}

.text-small {
  font-size: 2.4rem;
  margin-left: 2rem;
}

@media screen and (max-width: 499px) {
  h2 {
    font-size: 3.125rem;
  }

  .text-small {
    font-size: 1.4rem;
    margin-left: 1rem;
  }
}

/* --------------------
        ワーク
-------------------- */

.works,
.process,
.design {
  max-width: 1120px;
  margin: 0 auto;
}
/* sectionワークス */
.works img {
  object-fit: contain;
  aspect-ratio: 600/315;
}

.works .box-area {
  display: flex;
  flex-wrap: nowrap;
}
.works .independent {
  padding: 5px 15px;
  max-width: 150px;
  background-color: #262522;
  color: #fff6ec;
  border-radius: 30px;
  text-align: center;
}

.works h3 {
  font-size: 2rem;
}
.works .text {
  margin-left: 30px;
}
.works dt {
  max-width: 150px;
  font-size: 1.5rem;
  font-weight: bold;
  border-bottom: 1px solid #262522;
}
.works dd {
  margin-bottom: 15px;
  word-break: break-all;
}

@media (max-width: 900px) {
  .works .box-area {
    flex-wrap: wrap;
    justify-content: center;
  }
  .works .text {
    margin-top: 30px;
    margin-left: 0;
  }
  .design img {
    margin-top: 30px;
  }
  .design img:nth-child(1) {
    margin-top: 0px;
  }
  .design .onlyone {
    margin-top: 0;
  }
}

/* --------------------
        プロセス
-------------------- */

.process h2,
.design h2 {
  margin-top: 100px;
}

.googleslide {
  text-align: center;
}
.googleslide iframe {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 960/569;
}

.process .text-small {
  font-size: 1.6rem;
  text-align: center;
}

@media (max-width: 900px) {
  .process h2,
  .design h2 {
    margin-top: 50px;
  }
}

/* --------------------
        デザイン
-------------------- */

.design .box-area {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  align-items: flex-start;
}
.design img {
  object-fit: contain;
}
.googlebannerimg {
  margin-top: 30px;
}

/* --------------------
        フッター
-------------------- */

.footer {
  margin-top: 10%;
  padding: 2rem;
  font-size: 15px;
  color: #ddd;
  background: #262522;
  border-top: 1px solid #e5e7eb;
}

.footer a:hover {
  color: #000;
}

@media (min-width: 999px) {
  .footer {
    display: flex;
    justify-content: space-between;
  }
  .navitem {
    display: flex;
  }
  .navitem li + li {
    margin-left: 16px;
  }
}
