/*
Theme Name: .marginテーマ
*/
@charset "UTF-8";

/* ==================================================
   インポート
================================================== */
@import url("css/dm_style_header.css");
@import url("css/dm_style_footer.css");
@import url("css/dm_style_index.css");
@import url("css/dm_style_works.css");
@import url("css/dm_style_about.css");
@import url("css/dm_style_contact.css");
@import url("css/dm_style_single.css");
@import url("css/dm_style_cs.css");

/* ==================================================
   共通スタイル
================================================== */
html {
  font-size: 62.5%; /* 基本10px換算 */
  visibility: hidden;
}

html.wf-active {
  visibility: visible;
}

body {
  background-color: #efefef;
  padding-bottom: 3vw;
  font-family: hiragino-kaku-gothic-pron, sans-serif;
}

a {
  text-decoration: none;
}

p {
  font-weight: 300;
  font-size: 1.3vw;
  text-align: justify;
}

li {
  list-style: none;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

.wrapper {
  margin: 0 auto;
  padding: 0 15%;
}

h1 {
  font-family: futura-pt-bold, sans-serif;
  font-weight: bold;
  font-size: 3.3vw;
  padding-bottom: 3vw;
}

/* ページサムネイル */
.page-thum {
  width: 100vw;
  padding-bottom: 5vw;
  animation: fade 2s;
}

.page-thum img {
  width: 100%;
}

/* 小さな余白調整 */
.mb-2vw {
  padding-bottom: 2vw;
}

/* SP専用表示 */
.sp-only {
  display: none;
}

/* フェードインエフェクト */
.fade-in-element {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s, transform 0.6s;
}

.fade-in-element.fade-in {
  opacity: 1;
  transform: translateY(0);
}

/* ==================================================
   レスポンシブ
================================================== */

/* タブレット */
@media screen and (max-width: 1024px) {
  .wrapper {
    padding: 0 5%;
  }
}

/* スマホ */
@media screen and (max-width: 562px) {
  .wrapper {
    padding: 0 5%;
  }

  p {
    font-size: 1.4rem;
  }

  h1 {
    font-size: 5vw;
  }

  .about-image,
  .page-thum {
    padding-bottom: 10vw;
  }

  .sp-only {
    display: block;
  }
}

/* iPhoneSE */
@media screen and (max-width: 362px) {
  /* 必要があればここに微調整 */
}
