/*! destyle.css v4.0.0 | MIT License | https://github.com/nicolas-cusan/destyle.css */

/* Reset box-model and set borders */
/* ============================================ */

*,
::before,
::after {
  box-sizing: border-box;
  border-style: solid;
  border-width: 0;
}

/* Document */
/* ============================================ */

/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 * 3. Remove gray overlay on links for iOS.
 */

html {
  line-height: 1.15; /* 1 */
  -webkit-text-size-adjust: 100%; /* 2 */
  -webkit-tap-highlight-color: transparent; /* 3*/
}

/* Sections */
/* ============================================ */

/**
 * Remove the margin in all browsers.
 */

body {
  margin: 0;
}

/**
 * Render the `main` element consistently in IE.
 */

main {
  display: block;
}

/* Vertical rhythm */
/* ============================================ */

p,
table,
blockquote,
address,
pre,
iframe,
form,
figure,
dl {
  margin: 0;
}

/* Headings */
/* ============================================ */

h1,
h2,
h3,
h4,
h5,
h6 {
  font-size: inherit;
  font-weight: inherit;
  margin: 0;
}

/* Lists (enumeration) */
/* ============================================ */

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

/* Lists (definition) */
/* ============================================ */

dt {
  font-weight: bold;
}

dd {
  margin-left: 0;
}

/* Grouping content */
/* ============================================ */

/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */

hr {
  box-sizing: content-box; /* 1 */
  height: 0; /* 1 */
  overflow: visible; /* 2 */
  border-top-width: 1px;
  margin: 0;
  clear: both;
  color: inherit;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */

pre {
  font-family: monospace, monospace; /* 1 */
  font-size: inherit; /* 2 */
}

address {
  font-style: inherit;
}

/* Text-level semantics */
/* ============================================ */

/**
 * Remove the gray background on active links in IE 10.
 */

a {
  background-color: transparent;
  text-decoration: none;
  color: inherit;
}

/**
 * 1. Remove the bottom border in Chrome 57-
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */

abbr[title] {
  text-decoration: underline dotted; /* 2 */
}

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */

b,
strong {
  font-weight: bolder;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */

code,
kbd,
samp {
  font-family: monospace, monospace; /* 1 */
  font-size: inherit; /* 2 */
}

/**
 * Add the correct font size in all browsers.
 */

small {
  font-size: 80%;
}

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */

sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

/* Replaced content */
/* ============================================ */

/**
 * Prevent vertical alignment issues.
 */

svg,
img,
embed,
object,
iframe {
  vertical-align: bottom;
}

/* Forms */
/* ============================================ */

/**
 * Reset form fields to make them styleable.
 * 1. Make form elements stylable across systems iOS especially.
 * 2. Inherit text-transform from parent.
 */

button,
input,
optgroup,
select,
textarea {
  -webkit-appearance: none; /* 1 */
  appearance: none;
  vertical-align: middle;
  color: inherit;
  font: inherit;
  background: transparent;
  padding: 0;
  margin: 0;
  border-radius: 0;
  text-align: inherit;
  text-transform: inherit; /* 2 */
}

/**
 * Correct cursors for clickable elements.
 */

button,
[type="button"],
[type="reset"],
[type="submit"] {
  cursor: pointer;
}

button:disabled,
[type="button"]:disabled,
[type="reset"]:disabled,
[type="submit"]:disabled {
  cursor: default;
}

/**
 * Improve outlines for Firefox and unify style with input elements & buttons.
 */

:-moz-focusring {
  outline: auto;
}

select:disabled {
  opacity: inherit;
}

/**
 * Remove padding
 */

option {
  padding: 0;
}

/**
 * Reset to invisible
 */

fieldset {
  margin: 0;
  padding: 0;
  min-width: 0;
}

legend {
  padding: 0;
}

/**
 * Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */

progress {
  vertical-align: baseline;
}

/**
 * Remove the default vertical scrollbar in IE 10+.
 */

textarea {
  overflow: auto;
}

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */

[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
  height: auto;
}

/**
 * Correct the outline style in Safari.
 */

[type="search"] {
  outline-offset: -2px; /* 1 */
}

/**
 * Remove the inner padding in Chrome and Safari on macOS.
 */

[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none;
}

/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Fix font inheritance.
 */

::-webkit-file-upload-button {
  -webkit-appearance: button; /* 1 */
  font: inherit; /* 2 */
}

/**
 * Fix appearance for Firefox
 */
[type="number"] {
  -moz-appearance: textfield;
}

/**
 * Clickable labels
 */

label[for] {
  cursor: pointer;
}

/* Interactive */
/* ============================================ */

/*
 * Add the correct display in Edge, IE 10+, and Firefox.
 */

details {
  display: block;
}

/*
 * Add the correct display in all browsers.
 */

summary {
  display: list-item;
}

/*
 * Remove outline for editable content.
 */

[contenteditable]:focus {
  outline: auto;
}

/* Tables */
/* ============================================ */

/**
1. Correct table border color inheritance in all Chrome and Safari.
*/

table {
  border-color: inherit; /* 1 */
  border-collapse: collapse;
}

caption {
  text-align: left;
}

td,
th {
  vertical-align: top;
  padding: 0;
}

th {
  text-align: left;
  font-weight: bold;
}
/*======== ここから ========*/
body {
  background-image: url(img/back.jpg), url(img/woshiribg.png);
  background-position : right, left;
  background-repeat: repeat-y;
  background-size: 10vw;
  font-family: 'Noto Serif JP', serif;
}


/*======== メニューバーの部分 ========*/
#pc-menu{
  width: 80vw;
  margin: 0 auto;
}

#pc-menu ul{
  height: 10vh;
  display: flex;
  justify-content:space-between;
  align-items: flex-end;
}

.nav:nth-of-type(7){
  margin-left: auto;
}
.menu{
  max-height: 30px;
  width: 90%;
  margin-right: 30px;

}
.home, .sns{
  height: 30px;
  padding:0 10px;
}
.title{
  padding: 8px;
  border: 1px solid #d2691e;
  border-radius: 5px;
}

/*======== メニューホバー ========*/
#pc-menu ul li a {
  position: relative;
}
/*ホバーエフェクト*/
#pc-menu ul li a::after {
  /*マークのスタイル*/
  position: absolute;
  content: "";
  display: block;
  width: 10px;
  height: 10px;
  background-color: #cd853f;
  border-radius: 50%;
  bottom: -15px;
  left: calc(50% - 5px);
  /*不透明度0で非表示*/
  opacity: 0;
  /*下方向へ50%移動*/
  -webkit-transform: translateY(50%);
  transform: translateY(50%);
  /*アニメーションの速度設定*/
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
}
#pc-menu ul li a:hover::after {
  /*不透明度1で表示*/
  opacity: 1;
  /*0位置に移動*/
  -webkit-transform: translateY(0);
  transform: translateY(0);
}



/*======== をしりのロゴ部分 ========*/
.hero figure{
  height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero img{
  padding:100px 0;
  width: 70vw;
  max-width: 600px;
}




/*======== をしりとは？about ========*/
.about{
  height: 85vh;
}
.about h2,h3,p{
  text-align: center;
}

.about h2{
  padding-top: 100px;
}

.about h3{
  font-family: Arial;
  padding-top: 10px;
  padding-bottom: 3rem;
}
.about p{
  justify-content: center;
  padding-bottom: 1.5rem;
  line-height: 2;
  font-size: 80%;
}
.link{
  padding-top: 1rem;
}
.link img{
  width: 40px;
}


/*======== 創作したものworks =========*/
.works{
  margin: 0 auto;
  padding-bottom: 5vh;
}
.works h2{
  text-align: center;
  padding-top: 30px;
  padding-bottom: 20px;
}
/*==================================
ギャラリーのためのcss
===================================*/
.gallery{
  margin: 0 auto;
  width: 80vw;
  max-width: 700px;
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  justify-content: flex-start;
}
.gallery img{
  width: 140px;
  height: 140px;
  object-fit: cover;/*ー140×140でトリミングー*/
  padding: 10px;}


/*========　雑貨たちitems　========*/
.items{
  width:80vw;
  margin: 0 auto;
}
.items h2{
  text-align: center;
  padding-top: 30px;
}
.setumei{
  line-height: 2;
  padding-top: 1.5rem;
  padding-bottom: 1rem;
  font-size: 80%;
}
.items-photo{
  display: flex;
  width: 60vw;
  flex-wrap: wrap;
  margin: 0 auto;
  justify-content: center;
}
.items-photo img{
  width: 300px;
  padding: 10px;
}
.buy{
  justify-content: center;
  padding-bottom: 8vh;
  font-size: 80%;
  padding-top: 1rem;
}

.items a img{
  width: 40px;
}

/*======== 仕事の流れflow ========*/
.flow{
  padding-bottom: 5vh;
  width:80vw;
  margin: 0 auto;
}
.flow h2{
  text-align: center;
  padding-top: 30px;
}
.flow h3{
  font-family: Arial;
  padding-top: 10px;
  padding-bottom: 3rem;
  font-size: 0.9rem;
  letter-spacing: 0.1em;
}
.flex{
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}
.box {
  position: relative;
  margin: 2em 1em;
  padding: 1em 1em;
  border: 3px double #a0522d;
  border-radius: 8px;
  width: 300px;
}
.box-title {
    position: absolute;
    display: inline-block;
    top: -13px;
    left: 10px;
    padding: 0 9px;
    font-size: 1rem;
    font-family: 'Noto Sans JP', sans-serif;
    background: #FFF;
    color: #a0522d;
    font-weight: bold;
}
.box p {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 80%;
  text-align: left;
  line-height: 1.5em;
}

.contact{
  justify-content: center;
  padding-bottom: 1.5rem;
  font-family: serif;
  font-size: 80%;
  padding-top: 1rem;
}
.flow a img{
  width: 40px;
}

/*===== フッター =====*/
footer{
  position: fixed;
  background-color: white;
  opacity: 0.8;
  bottom: 0; /*下に固定*/
}
hr{
  border: none;
  height: 0.3px;
  width: 100vw;
  background: #556B2F;
}
.copyright{
  height: 5vh;
  display: flex;
  justify-content: center;
  align-items: center;
}
.copyright p{
  font-size: 80%;
}

/*======= パソコン幅で見た場合 ======*/

#pc-menu { display: block !important; }
#sp-menu { display: none !important; }


/*======= 画面幅が768pxの場合 ======*/
@media only screen and (max-width: 768px) {
  #pc-menu { display: none !important; }
  #sp-menu { display: block !important; }
  /****メニュー全体****/
  #sp-menu{
  	/*配置*/
  	position: absolute;
  	top: 0;
  	left: 0;
  	width: 100%;
  	height: 100%;
  	pointer-events: none;
  	z-index: 100;
  }

  /****メニュー開閉ボタン****/
  #sp-menu div{
  	/*デザイン*/
  	width: 40px;
  	height: 40px;
  	background: #cd853f;
  	/*配置*/
  	overflow: hidden;
  	position: absolute;
  	right: 0;
  }

  #sp-menu .menuopen{
  	/*デザイン*/
  	color: #fffafa;
  	font-size: 30px;
  	/*配置*/
  	display: block;
  	width: 100%;
  	height: 100%;
  	position: absolute;
  	top: 0;
  	left: 0;
  	pointer-events: auto;
  }

  #sp-menu .menuclose{
  	/*デザイン*/
  	color: #fffafa;
  	font-size: 30px;
  	/*配置*/
  	display: none;
  	width: 100%;
  	height: 100%;
  	position: absolute;
  	top:  0;
  	left: 0;
  	pointer-events: auto;
  }

  /****メニュー一覧****/
  #sp-menu ul{
  	/*デザイン*/
  	background: #cd853f;
  	width: 100%;
  	/*配置*/
  	position: absolute;
  	top: 40px;/*#menu divの高さ*/
  	right: 0;
  	display: none;
  }

  #sp-menu li{
  	/*デザイン*/
  	padding: 15px;
  	color: #fffafa;
  	border-bottom: 0.5px #fffafa dotted;
  	/*配置*/
  	pointer-events: auto;
    text-align: center;
  }

  /****メニューオープン時****/
  #sp-menu:target .menuopen{
  	/*配置*/
  	display: none;
  }

  #sp-menu:target .menuclose{
  	/*配置*/
  	display: block;
  }

  #sp-menu:target ul{
  	/*配置*/
  	display: block;
  }

  /*** メインエフェクト ***/
