@charset "UTF-8";

  /* # =================================================================
     # General elements
     # ================================================================= */
  
  hr {
    overflow: visible; /* Show the overflow in Edge and IE */
    height: 0; /* Add the correct box sizing in Firefox */
  }
  
  details,
  main {
    display: block; /* Render the `main` element consistently in IE. */
  }
  
  summary {
    display: list-item; /* Add the correct display in all browsers */
  }
  
  small {
    font-size: 80%; /* Set font-size to 80% in `small` elements */
  }
  
  [hidden] {
    display: none; /* Add the correct display in IE */
  }
  
  abbr[title] {
    border-bottom: none; /* Remove the bottom border in Chrome 57 */
    /* Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari */
    text-decoration: underline;
    text-decoration: underline dotted;
  }
  
  a {
    background-color: transparent; /* Remove the gray background on active links in IE 10 */
  }
  
  a:active,
  a:hover {
    outline-width: 0; /* Remove the outline when hovering in all browsers */
  }
  
  code,
  kbd,
  pre,
  samp {
    font-family: monospace, monospace; /* Specify the font family of code elements */
  }
  
  pre {
    font-size: 1em; /* Correct the odd `em` font sizing in all browsers */
  }
  
  b,
  strong {
    font-weight: bolder; /* Add the correct font weight in Chrome, Edge, and Safari */
  }
  
  /* https://gist.github.com/unruthless/413930 */
  sub,
  sup {
    font-size: 75%;
    line-height: 0;
    position: relative;
    vertical-align: baseline;
  }
  
  sub {
    bottom: -0.25em;
  }
  
  sup {
    top: -0.5em;
  }
  
  /* # =================================================================
     # Forms
     # ================================================================= */
  
  input {
    border-radius: 0;
  }
  
  /* Replace pointer cursor in disabled elements */
  [disabled] {
    cursor: default;
  }
  
  [type="number"]::-webkit-inner-spin-button,
  [type="number"]::-webkit-outer-spin-button {
    height: auto; /* Correct the cursor style of increment and decrement buttons in Chrome */
  }
  
  [type="search"] {
    -webkit-appearance: textfield; /* Correct the odd appearance in Chrome and Safari */
    outline-offset: -2px /* Correct the outline style in Safari */
  }
  
  [type="search"]::-webkit-search-decoration {
    -webkit-appearance: none; /* Remove the inner padding in Chrome and Safari on macOS */
  }
  
  textarea {
    overflow: auto; /* Internet Explorer 11+ */
    resize: vertical; /* Specify textarea resizability */
  }
  
  button,
  input,
  optgroup,
  select,
  textarea {
    font: inherit; /* Specify font inheritance of form elements */
  }
  
  optgroup {
    font-weight: bold; /* Restore the font weight unset by the previous rule */
  }
  
  button {
    overflow: visible; /* Address `overflow` set to `hidden` in IE 8/9/10/11 */
  }
  
  button,
  select {
    text-transform: none; /* Firefox 40+, Internet Explorer 11- */
  }
  
  /* Apply cursor pointer to button elements */
  button,
  [type="button"],
  [type="reset"],
  [type="submit"],
  [role="button"] {
    cursor: pointer;
    color: inherit;
  }
  
  /* Remove inner padding and border in Firefox 4+ */
  button::-moz-focus-inner,
  [type="button"]::-moz-focus-inner,
  [type="reset"]::-moz-focus-inner,
  [type="submit"]::-moz-focus-inner {
    border-style: none;
    padding: 0;
  }
  
  /* Replace focus style removed in the border reset above */
  button:-moz-focusring,
  [type="button"]::-moz-focus-inner,
  [type="reset"]::-moz-focus-inner,
  [type="submit"]::-moz-focus-inner {
    outline: 1px dotted ButtonText;
  }
  
  button,
  html [type="button"], /* Prevent a WebKit bug where (2) destroys native `audio` and `video`controls in Android 4 */
  [type="reset"],
  [type="submit"] {
    -webkit-appearance: button; /* Correct the inability to style clickable types in iOS */
  }
  
  /* Remove the default button styling in all browsers */
  button,
  input,
  select,
  textarea {
    background-color: transparent;
    border-style: none;
  }
  
  /* Style select like a standard input */
  select {
    -moz-appearance: none; /* Firefox 36+ */
    -webkit-appearance: none; /* Chrome 41+ */
  }
  
  select::-ms-expand {
    display: none; /* Internet Explorer 11+ */
  }
  
  select::-ms-value {
    color: currentColor; /* Internet Explorer 11+ */
  }
  
  legend {
    border: 0; /* Correct `color` not being inherited in IE 8/9/10/11 */
    color: inherit; /* Correct the color inheritance from `fieldset` elements in IE */
    display: table; /* Correct the text wrapping in Edge and IE */
    max-width: 100%; /* Correct the text wrapping in Edge and IE */
    white-space: normal; /* Correct the text wrapping in Edge and IE */
    max-width: 100%; /* Correct the text wrapping in Edge 18- and IE */
  }
  
  ::-webkit-file-upload-button {
    /* Correct the inability to style clickable types in iOS and Safari */
    -webkit-appearance: button;
    color: inherit;
    font: inherit; /* Change font properties to `inherit` in Chrome and Safari */
  }
  
  /* # =================================================================
     # Specify media element style
     # ================================================================= */
  
  img {
    border-style: none; /* Remove border when inside `a` element in IE 8/9/10 */
  }
  
  /* Add the correct vertical alignment in Chrome, Firefox, and Opera */
  progress {
    vertical-align: baseline;
  }
  
  svg:not([fill]) {
    fill: currentColor;
  }
  
  /* # =================================================================
     # Accessibility
     # ================================================================= */
  
  /* Hide content from screens but not screenreaders */
  @media screen {
    [hidden~="screen"] {
      display: inherit;
    }
    [hidden~="screen"]:not(:active):not(:focus):not(:target) {
      position: absolute !important;
      clip: rect(0 0 0 0) !important;
    }
  }
  
  /* Specify the progress cursor of updating elements */
  [aria-busy="true"] {
    cursor: progress;
  }
  
  /* Specify the pointer cursor of trigger elements */
  [aria-controls] {
    cursor: pointer;
  }
  
  /* Specify the unstyled cursor of disabled, not-editable, or otherwise inoperable elements */
  [aria-disabled] {
    cursor: default;
  }


  /*--- ここから --*/
  
html {
  margin: 0;
  padding: 0;
  font-size: 62.5%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 0;
  font-family: 'Dancing Script',"Yu Gothic", "游ゴシック", YuGothic, "游ゴシック体";
  font-weight: 500;
  color: #333;
  line-height: 2.0;
}

h2,h3,h4,h5 {
  margin: 0;
  padding: 0;
}

ul,li,dl,dt,dd {
  margin: 0;
  padding: 0;
  list-style: none;
}

p {
  margin: 0 0 1em 0;
}

a {
  text-decoration: none;
  color: #000;
}

a:hover {
  transition: .3s;
  opacity: 0.6;
}

section {
  margin-bottom: 120px;
}

.content-wrapper {
  width: 100%;
  margin: 0 auto;
}

/*!
 * ress.css • v2.0.2
 * MIT License
 * github.com/filipelinhares/ress
 */

/* # =================================================================
   # Global selectors
   # ================================================================= */

   html {
    box-sizing: border-box;
    -webkit-text-size-adjust: 100%; /* Prevent adjustments of font size after orientation changes in iOS */
    word-break: break-word;
    -moz-tab-size: 4;
    tab-size: 4;
  }
  
  *,
  ::before,
  ::after {
    background-repeat: no-repeat; /* Set `background-repeat: no-repeat` to all elements and pseudo elements */
    box-sizing: inherit;
  }
  
  ::before,
  ::after {
    text-decoration: inherit; /* Inherit text-decoration and vertical align to ::before and ::after pseudo elements */
    vertical-align: inherit;
  }
  
  * {
    padding: 0; /* Reset `padding` and `margin` of all elements */
    margin: 0;
  }
  
  
  nav {
    display: block;
    position: fixed;
    top: 0;
    left: -300px;
    bottom: 0;
    width: 300px;
    background: #ffffff;
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    transition: all .5s;
    z-index: 3;
    opacity: 0;
  }
  .open nav {
    left: 0;
    opacity: 1;
  }
  nav .inner {
    padding: 25px;
  }
  nav .inner ul {
    list-style: none;
    margin: 0;
    padding: 0;
  }
  nav .inner ul li {
    position: relative;
    margin: 0;
    border-bottom: 1px solid #333;
  }
  nav .inner ul li a {
    display: block;
    color: #333;
    font-size: 14px;
    padding: 1em;
    text-decoration: none;
    transition-duration: 0.2s;
  }
  nav .inner ul li a:hover {
    background: #e4e4e4;
  }
  @media screen and (max-width: 767px) {
    nav {
      left: -220px;
      width: 220px;
    }
  }
  /*============
  .toggle_btn
  =============*/
  .toggle_btn {
    display: block;
    position: fixed;
    top: 30px;
    right: 30px;
    width: 30px;
    height: 30px;
    transition: all .5s;
    cursor: pointer;
    z-index: 3;
  }
  .toggle_btn span {
    display: block;
    position: absolute;
    left: 0;
    width: 30px;
    height: 2px;
    background-color: #333;
    border-radius: 4px;
    transition: all .5s;
  }
  .toggle_btn span:nth-child(1) {
    top: 4px;
  }
  .toggle_btn span:nth-child(2) {
    top: 14px;
  }
  .toggle_btn span:nth-child(3) {
    bottom: 4px;
  }
  .open .toggle_btn span {
    background-color: #fff;
  }
  .open .toggle_btn span:nth-child(1) {
    -webkit-transform: translateY(10px) rotate(-315deg);
    transform: translateY(10px) rotate(-315deg);
  }
  .open .toggle_btn span:nth-child(2) {
    opacity: 0;
  }
  .open .toggle_btn span:nth-child(3) {
    -webkit-transform: translateY(-10px) rotate(315deg);
    transform: translateY(-10px) rotate(315deg);
  }
  /*============
  #mask
  =============*/
  #mask {
    display: none;
    transition: all .5s;
  }
  .open #mask {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    opacity: .8;
    z-index: 2;
    cursor: pointer;
  }

  body {
    letter-spacing: 4px;
  }

  header{
    margin: 0 auto;
    height: 50px;
  }
  h2 {
    color: rgb(254, 251, 214);
    text-shadow: .5rem .5rem #333;
    font-size: 2rem;
    padding: 2.2rem 0 0 3rem;
  }
  .main-visual {
    background-image: url(../img/DSC_0992.png);
    height: 420px;
    background-size: cover;
    object-fit: cover;
    background-position: center center;
    margin: -80px 0 0;
    position: relative;
    z-index: -3;
  }
  .main-visual h1 {
    position: absolute;
    bottom: 0;
    right: 10px;
    font-family: "Yu Gothic";
    font-size: 5rem;
    color: #fff;
    text-shadow: 1px 1px gray;
  }
  .main-visual span {
    color: rgb(245, 245, 177);
  }
  .about {
    background-color: rgba(0, 175, 215,0.1);
    margin: 0 auto;
    text-align: left;
    padding-bottom: 2rem;
    position: relative;
  }
  .about p {
    padding: 1rem 3rem 1rem 5rem;
    font-size: gray;
    color: black;
    font-size: 1.5rem;
  }
  .about img {
    position: absolute;
    top: 3rem;
    right: -0.5rem;
    z-index: 10;
    width: 50vw;
    height: 50vw;
    opacity: 0.4;
    object-fit:cover;
    border-radius: 50%;
  }
  .about .twitter {
    margin: 0;
    padding: 0 0 0 50px;
    display: inline-block;
  }
  .about .fa-twitter {
    font-size: 2rem;
  }
  .works {
    margin: 0;
  }
  .works-list{
    display: flex;
    flex-direction: column;
    margin-top: 2rem;
  }
  .works-container {
    margin: 0 auto;
    text-align: center;
  }
  .works img {
    width: 90%;
    margin: 0 auto;
    margin-bottom: 1rem;
    border: 3px solid rgba(255, 234, 188,0.4);
    border-radius: 10px;
  }
  .works p {
    font-size: 1.5rem;
    width: 85%;
    padding: 10px 40px;
    border-radius: 50%;
    display: block;
    margin: 0 auto;
    margin-bottom: 5rem;
    background-color: rgba(246, 255, 212, 0.6);
  }
  .works-bg {
    background-image: url(../img/S__29270027.png);
    background-repeat:  no-repeat;
    background-position:left bottom;
    background-size:contain;
    width:100%;
  }
  .services {
    margin: 0 auto;
    background-image: url(../img/freetecture.png);
    background-size: cover;
    object-fit: cover;
    background-position: center center;
  }
  .services-container {
    width: 80%;
    margin: 4rem auto;
    padding: 5rem 1.5rem 1rem;
    position: relative;
    background-color: #fff;
  }
  .services-container h3 {
    position: absolute;
    top: -1rem;
    left: -1rem;
    border: 3px dotted rgb(67, 58, 58);
    font-size: 2rem;
    font-family: 'Yu Gothic';
    color: rgb(67, 58, 58);
    padding: 3px 10px;
  }
  .services-container p {
    font-family: 'Yu Gothic';
    font-size: 1.5rem;
  }
  .clear {
    height: 1.5rem;
  }
  .contact {
    background-image: url(../img/S__29270018.png);
    background-size: cover;
    object-fit: cover;
    background-position: center center;
    margin: 0 auto;
  }
  .form-container {
    width: 80%;
    margin: 2rem auto 0;
    padding-bottom: 3rem;
    display: flex;
    flex-direction: column;
  }
  #name,#mail,textarea {
    width: 100%;
    margin: 1rem auto;
    padding: 1rem;
    border: 1px solid rgb(224, 224, 224);
    font-size: 1.5rem;
    background-color: rgba(255, 255, 255, 0.8);
  }
  #submit-btn {
    background-color: lightblue;
    border-radius: 20px;
    margin-top: 2rem;
    font-size: 1.5rem;
  }
  footer {
    text-align: center;
    padding: 1rem;
    background-color: rgb(248, 248, 220);
    color: #fff;
  }
  footer h2 {
    padding: 0;
    font-size: 1rem;
  }
  .nav-float {
    display: none;
  }
  #page_top {
    position: fixed;
    bottom: 30px;
    right: 20px;
    width: 10vw;
    height: 10vw;
    background: pink;
    opacity: 0.6;
    border-radius: 50%;
  }
  #page_top a {
    text-decoration: none;
    display: block;
    position: relative;
    font-size: 1.5rem;
    line-height: inherit;
    text-align: center;
    line-height: 10vw;
    padding-left: 0.5rem;
  }
  #page_top:hover {
    background-color: palevioletred;
    text-decoration: none;
  }

  /*--- メディアクエリ --*/
  @media screen and (min-width:560px) {
  h2 {
    font-size: 4rem;
    padding-left: 6rem;
  }
  .about img {
    width: 30vw;
    height: 30vw;
  }
  .works-list {
    display: flex;
    flex-direction: row;
    justify-content: center;
  }
  .works-container {
    width: 33%;
  }
  .services-list {
    display: flex;
    width: 95%;
    margin: 0 auto;
  }
  .services-container {
    margin: 4rem;
  }
  .form-container {
    width: 75%;
  }
  #page_top {
    width: 5vw;
    height: 5vw;
  }
  #page_top a {
    font-size: 2rem;
    line-height: 5vw;
  }
}

@media screen and (min-width:960px) {
  #navArea {
    display: none;
  }
  .nav-float {
    display: block;
    position: absolute;
    top: 0;
    right: 0;
  }
  .nav-float ul {
    display: flex;
    justify-content: flex-end;
    margin: 5rem;
    font-size: 1.5rem;
  }
  .nav-float li {
    margin-left: 3rem;
  }
}
