@charset "UTF-8";

/*! normalize.css v8.0.0 | MIT License | github.com/necolas/normalize.css */
/* Document
   ========================================================================== */
/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */
html {
  line-height: 1.15;
  /* 1 */
  -webkit-text-size-adjust: 100%;
  /* 2 */
}

/* Sections
   ========================================================================== */
/**
 * Remove the margin in all browsers.
 */
body {
  margin: 0;
}

/**
 * Correct the font size and margin on `h1` elements within `section` and
 * `article` contexts in Chrome, Firefox, and Safari.
 */
h1 {
  font-size: 2em;
  margin: 0.67em 0;
}

/* Grouping content
   ========================================================================== */
/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */
hr {
  -webkit-box-sizing: content-box;
          box-sizing: content-box;
  /* 1 */
  height: 0;
  /* 1 */
  overflow: visible;
  /* 2 */
}

/**
 * 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: 1em;
  /* 2 */
}

/* Text-level semantics
   ========================================================================== */
/**
 * Remove the gray background on active links in IE 10.
 */
a {
  background-color: transparent;
}

/**
 * 1. Remove the bottom border in Chrome 57-
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */
abbr[title] {
  border-bottom: none;
  /* 1 */
  text-decoration: underline;
  /* 2 */
  -webkit-text-decoration: underline dotted;
          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: 1em;
  /* 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;
}

/* Embedded content
   ========================================================================== */
/**
 * Remove the border on images inside links in IE 10.
 */
img {
  border-style: none;
}

/* Forms
   ========================================================================== */
/**
 * 1. Change the font styles in all browsers.
 * 2. Remove the margin in Firefox and Safari.
 */
button,
input,
optgroup,
select,
textarea {
  font-family: inherit;
  /* 1 */
  font-size: 100%;
  /* 1 */
  line-height: 1.15;
  /* 1 */
  margin: 0;
  /* 2 */
}

/**
 * Show the overflow in IE.
 * 1. Show the overflow in Edge.
 */
button,
input {
  /* 1 */
  overflow: visible;
}

/**
 * Remove the inheritance of text transform in Edge, Firefox, and IE.
 * 1. Remove the inheritance of text transform in Firefox.
 */
button,
select {
  /* 1 */
  text-transform: none;
}

/**
 * Correct the inability to style clickable types in iOS and Safari.
 */
button,
[type="button"],
[type="reset"],
[type="submit"] {
  -webkit-appearance: button;
}

/**
 * Remove the inner border and padding in Firefox.
 */
button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
  border-style: none;
  padding: 0;
}

/**
 * Restore the focus styles unset by the previous rule.
 */
button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
  outline: 1px dotted ButtonText;
}

/**
 * Correct the padding in Firefox.
 */
fieldset {
  padding: 0.35em 0.75em 0.625em;
}

/**
 * 1. Correct the text wrapping in Edge and IE.
 * 2. Correct the color inheritance from `fieldset` elements in IE.
 * 3. Remove the padding so developers are not caught out when they zero out
 *    `fieldset` elements in all browsers.
 */
legend {
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  /* 1 */
  color: inherit;
  /* 2 */
  display: table;
  /* 1 */
  max-width: 100%;
  /* 1 */
  padding: 0;
  /* 3 */
  white-space: normal;
  /* 1 */
}

/**
 * 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;
}

/**
 * 1. Add the correct box sizing in IE 10.
 * 2. Remove the padding in IE 10.
 */
[type="checkbox"],
[type="radio"] {
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  /* 1 */
  padding: 0;
  /* 2 */
}

/**
 * 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;
}

/**
 * 1. Correct the odd appearance in Chrome and Safari.
 * 2. Correct the outline style in Safari.
 */
[type="search"] {
  -webkit-appearance: textfield;
  /* 1 */
  outline-offset: -2px;
  /* 2 */
}

/**
 * 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. Change font properties to `inherit` in Safari.
 */
::-webkit-file-upload-button {
  -webkit-appearance: button;
  /* 1 */
  font: inherit;
  /* 2 */
}

/* 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;
}

/* Misc
   ========================================================================== */
/**
 * Add the correct display in IE 10+.
 */
template {
  display: none;
}

/**
 * Add the correct display in IE 10.
 */
[hidden] {
  display: none;
}


@font-face {
  font-family: 'Yu Gothic';
  src: local("Yu Gothic Medium");
  font-weight: 400;
}

@font-face {
  font-family: 'Yu Gothic';
  src: local("Yu Gothic Bold");
  font-weight: bold;
}

@font-face {
  font-family: 'Yu Mincho';
  src: local("Yu Mincho Medium");
  font-weight: 400;
}

@font-face {
  font-family: 'Yu Mincho';
  src: local("Yu Mincho Bold");
  font-weight: bold;
}

*,
*::before,
*::after {
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
}

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

main {
  display: block;
}

table {
  border-collapse: collapse;
}

button,
input,
optgroup,
select,
textarea {
  line-height: inherit;
}

input:not([type=file]):not([type=submit]):not([type=image]):not([type=reset]):not([type=button]):not([type=radio]):not([type=checkbox]),
optgroup,
select,
textarea {
  display: block;
  width: 100%;
}

input:not([type=file]):not([type=submit]):not([type=image]):not([type=reset]):not([type=button]):not([type=radio]):not([type=checkbox])::-webkit-input-placeholder-shown,
textarea::-webkit-input-placeholder-shown {
  font-family: inherit;
  line-height: inherit;
  color: #ccc;
}

input:not([type=file]):not([type=submit]):not([type=image]):not([type=reset]):not([type=button]):not([type=radio]):not([type=checkbox]):-ms-input-placeholder-shown,
textarea:-ms-input-placeholder-shown {
  font-family: inherit;
  line-height: inherit;
  color: #ccc;
}

input:not([type=file]):not([type=submit]):not([type=image]):not([type=reset]):not([type=button]):not([type=radio]):not([type=checkbox])::-ms-input-placeholder-shown,
textarea::-ms-input-placeholder-shown {
  font-family: inherit;
  line-height: inherit;
  color: #ccc;
}

input:not([type=file]):not([type=submit]):not([type=image]):not([type=reset]):not([type=button]):not([type=radio]):not([type=checkbox])::placeholder-shown,
textarea::placeholder-shown {
  font-family: inherit;
  line-height: inherit;
  color: #ccc;
}

input:not([type=file]):not([type=submit]):not([type=image]):not([type=reset]):not([type=button]):not([type=radio]):not([type=checkbox])::-webkit-input-placeholder,
textarea::-webkit-input-placeholder {
  font-family: inherit;
  line-height: inherit;
  color: #ccc;
}

input:not([type=file]):not([type=submit]):not([type=image]):not([type=reset]):not([type=button]):not([type=radio]):not([type=checkbox])::-moz-placeholder,
textarea::-moz-placeholder {
  font-family: inherit;
  line-height: inherit;
  color: #ccc;
  opacity: 1;
}

input:not([type=file]):not([type=submit]):not([type=image]):not([type=reset]):not([type=button]):not([type=radio]):not([type=checkbox])::-ms-input-placeholder,
textarea::-ms-input-placeholder {
  font-family: inherit;
  line-height: inherit;
  color: #ccc;
}

textarea {
  resize: vertical;
}


html {
  font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", YuGothic, "Yu Gothic", "ヒラギノ角ゴ ProN W3", Hiragino Kaku Gothic ProN, Arial, "メイリオ", Meiryo, sans-serif;
  line-height: 1.4;
  color: #333;
  background-color: #fff;
  word-wrap: break-word;
  overflow-wrap: break-word;
  background-color: #fff8f2;
}

.container {
  max-width: 1080px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}

@media (min-width: 768px) {
  .container {
    padding-left: 40px;
    padding-right: 40px;
  }
  .header {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
  }
}

.header {
  padding-top: 20px;
  padding-bottom: 15px;
}

.logo {
  text-align: center;
  margin-top: 0;
  margin-bottom: 20px;
}

.logo img {
  display: block;
  width: 280px;
  height: 36px;
  margin-left: auto;
  margin-right: auto;
}

@media (min-width: 768px) {
  .header {
    padding-top: 30px;
    padding-bottom: 40px;
  }

  .logo {
    margin-bottom: 0;
  }

  .logo img {
    width: 358px;
    height: 46px;
  }
}

@font-face {
  font-family: iconfont;
  src: url("../fonts/iconfont.woff2") format("woff2"), url("../fonts/iconfont.woff") format("woff");
  font-weight: normal;
  font-style: normal;
}

.sns {
  display: block;
  text-align: center;
}

.sns button:first-child::before {
  margin-left: 0 !important;
}

.twitter,
.facebook,
.hatena,
.line {
  display: inline-block;
  text-align: center;
  -webkit-appearance: none;
  -moz-appearance: none;
       appearance: none;
  text-decoration: none;
  border: 0;
  cursor: pointer;
  position: relative;
  padding: 0;
  margin: 0;
  font-size: 0;
  background-color: transparent;
}

.twitter:hover,
.facebook:hover,
.hatena:hover,
.line:hover {
  text-decoration: none;
}

.twitter:disabled, .twitter[disabled],
.facebook:disabled,
.facebook[disabled],
.hatena:disabled,
.hatena[disabled],
.line:disabled,
.line[disabled] {
  cursor: default;
}

.twitter::before,
.facebook::before,
.hatena::before,
.line::before {
  font-size: 30px;
  margin-left: 10px;
  display: block;
  background-color: #fff;
  line-height: 1;
}

.twitter::before {
  font-family: iconfont;
  font-style: normal;
  font-weight: normal;
  vertical-align: middle;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  content: '\EA04';
  color: #009df2;
}

.facebook::before {
  font-family: iconfont;
  font-style: normal;
  font-weight: normal;
  vertical-align: middle;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  content: '\EA01';
  color: #31529d;
}

.hatena::before {
  font-family: iconfont;
  font-style: normal;
  font-weight: normal;
  vertical-align: middle;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  content: '\EA02';
  color: #00a1d2;
}

.line::before {
  font-family: iconfont;
  font-style: normal;
  font-weight: normal;
  vertical-align: middle;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  content: '\EA03';
  color: #00b600;
}

@media (min-width: 768px) {
  .twitter,
  .facebook,
  .hatena,
  .line {
    -webkit-transition: opacity .1s ease-in-out;
    transition: opacity .1s ease-in-out;
  }
  .twitter:hover,
  .facebook:hover,
  .hatena:hover,
  .line:hover {
    opacity: .7;
  }
}

.summary {
  text-align: left;
  font-size: 14px;
  margin-top: 0;
  margin-bottom: 0;
  padding-top: 0;
  padding-bottom: 25px;
  line-height: 24px;
}

@media (min-width: 768px) {
  .summary {
    text-align: center;
    font-size: 15px;
    padding-bottom: 50px;
    line-height: 30px;
  }
}

.copyright {
  text-align: center;
  padding-top: 30px;
  padding-bottom: 20px;
  font-size: 12px;
  margin-top: 0;
  margin-bottom: 0;
}

.copyright span,
.copyright a,
.copyright img {
  vertical-align: middle;
}

.copyright a {
  display: inline-block;
  margin-left: .5em;
}

.copyright img {
  width: 180px;
  height: 27px;
}

@media (min-width: 768px) {
  .copyright {
    font-size: 14px;
    padding-top: 50px;
    padding-bottom: 30px;
  }
  .copyright img {
    width: 229px;
    height: 34px;
  }
}

.textarea-wrapper {
  position: relative;
  font-size: 16px;
  line-height: 25px;
}
.textarea,
.textarea-dummy,
.textarea-quotes {
  font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", YuGothic, "Yu Gothic", "ヒラギノ角ゴ ProN W3", Hiragino Kaku Gothic ProN, Arial, "メイリオ", Meiryo, sans-serif;
  font-weight: bold;
}
.textarea,
.textarea-dummy,
.textarea-quotes-list {
  border-radius: 10px;
  border: 2px solid #ff8a1e;
  padding: 50px 25px 25px 50px;
  letter-spacing: inherit;
}
.textarea {
  display: block;
  position: absolute;
  left: 0;
  top: 0;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  z-index: 2;
  width: 100%;
  height: 100%;
  box-shadow: 0 0 10px #ff8a1e;
  transition: box-shadow .1s ease-in-out;
  resize: none;
}
.textarea:focus {
  outline: none;
  box-shadow: 0 0 20px #ff8a1e;
}
.textarea-dummy,
.textarea-quotes-list {
  z-index: 1;
  white-space: pre-wrap;
  word-wrap: break-word;
  overflow-wrap: break-word;
  width: 100%;
  visibility: hidden;
  overflow: hidden;
  pointer-events: none;
  border-color: transparent;
}
.textarea-dummy {
  /* min-height: calc(100vh - 276px); */
  min-height: 300px;
}
.textarea-quotes-list {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 4;
  color: transparent;
  min-height: 0 !important;
  height: auto !important;
  visibility: visible;
}
.textarea-quotes-item {
  position: relative;
  min-height: 25px;
}
.textarea-quotes-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: -25px;
  width: 25px;
  height: 25px;
  background-image: url(../images/quote-text.png);
  background-repeat: no-repeat;
  background-size: 25px 25px;
  background-position: 0 0;
}
.textarea-quotes {
  position: absolute;
  z-index: 3;
  top: 0;
  left: 25px;
  width: 25px;
  height: 100%;
  padding-top: 25px;
  padding-bottom: 25px;
}
.textarea-quotes span {
  display: block;
  background-image: url(../images/quote-text.png);
  background-repeat: repeat;
  background-size: 25px 25px;
  background-position: 0 2px;
  width: 100%;
  height: 100%;
}
.textarea-quote-icon {
  position: absolute;
  left: -19px;
  top: -16px;
  z-index: 3;
}
.textarea-quote-icon img {
  display: block;
  width: 38px;
  height: 32px;
}

@media (min-width: 768px) {
  .textarea-wrapper {
    font-size: 20px;
    line-height: 2;
  }
  .textarea,
  .textarea-dummy,
  .textarea-quotes-list {
    padding: 80px 40px 40px 80px;
  }
  .textarea-quotes-item {
    min-height: 40px;
  }
  .textarea-quotes-item::before {
    left: -40px;
    width: 40px;
    height: 40px;
    background-size: 40px 40px;
  }
  .textarea-dummy {
    min-height: calc(100vh - 310px);
  }
  .textarea-quotes {
    left: 40px;
    width: 40px;
    padding-top: 40px;
    padding-bottom: 40px;
  }
  .textarea-quotes span {
    background-size: 40px 40px;
    background-position: 0 2px;
  }
  .textarea-quote-icon {
    left: -38px;
    top: -32px;
  }
  .textarea-quote-icon img {
    width: 76px;
    height: 64px;
  }
}

.modal {
  position: fixed;
  background-color: #ff8a1e;
  padding: 1.5em;
  line-height: 1;
  font-size: 4vw;
  white-space: nowrap;
  opacity: 0;
  color: #fff;
  font-weight: bold;
  visibility: hidden;
  letter-spacing: .1em;
  transition: opacity .2s ease-in-out, visibility .2s step-end;
  pointer-events: none;
  transform: translate(-50%, -50%);
  left: 50%;
  top: 50%;
  z-index: 100;
}
.modal.is-show {
  transition: opacity .2s ease-in-out, visibility 0s step-start;
  opacity: 1;
  visibility: visible;
}

@media (min-width: 768px) {
  .modal {
    font-size: 2vw;
  }
}

.copy-outer {
  position: absolute;
  right: 0;
  top: 0;
  height: 100%;
}
.copy {
  display: block;
  position: absolute;
  position: -webkit-sticky;
  position: sticky;
  z-index: 5;
  top: 0;
  left: 0;
  text-align: center;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  text-decoration: none;
  border: 0;
  border-radius: 0 10px 0 10px;
  cursor: pointer;
  padding: 10px 20px;
  margin: 0;
  background-color: #ff8a1e;
  color: #fff;
  font-size: 14px;
  line-height: 22px;
}
.copy img {
  display: inline-block;
  width: 22px;
  height: 22px;
  vertical-align: middle;
  margin-left: 5px;
}

@media (min-width: 768px) {
  .copy {
    font-size: 20px;
    padding: 20px 30px;
    line-height: 26px;
  }
  .copy:hover {
    background-color: #ea7000;
  }
  .copy img {
    width: 26px;
    height: 26px;
    margin-left: 10px;
  }
}
