/*! normalize.css v3.0.3 | MIT License | github.com/necolas/normalize.css */
/** 1. Set default font family to sans-serif. 2. Prevent iOS and IE text size adjust after device orientation change, without disabling user zoom. */
html { font-family: sans-serif; /* 1 */ -ms-text-size-adjust: 100%; /* 2 */ -webkit-text-size-adjust: 100%; /* 2 */ }

/** Remove default margin. */
body { margin: 0; }

/* HTML5 display definitions ========================================================================== */
/** Correct `block` display not defined for any HTML5 element in IE 8/9. Correct `block` display not defined for `details` or `summary` in IE 10/11 and Firefox. Correct `block` display not defined for `main` in IE 11. */
article, aside, details, figcaption, figure, footer, header, hgroup, main, menu, nav, section, summary { display: block; }

/** 1. Correct `inline-block` display not defined in IE 8/9. 2. Normalize vertical alignment of `progress` in Chrome, Firefox, and Opera. */
audio, canvas, progress, video { display: inline-block; /* 1 */ vertical-align: baseline; /* 2 */ }

/** Prevent modern browsers from displaying `audio` without controls. Remove excess height in iOS 5 devices. */
audio:not([controls]) { display: none; height: 0; }

/** Address `[hidden]` styling not present in IE 8/9/10. Hide the `template` element in IE 8/9/10/11, Safari, and Firefox < 22. */
[hidden], template { display: none; }

/* Links ========================================================================== */
/** Remove the gray background color from active links in IE 10. */
a { background-color: transparent; }

/** Improve readability of focused elements when they are also in an active/hover state. */
a:active, a:hover { outline: 0; }

/* Text-level semantics ========================================================================== */
/** Address styling not present in IE 8/9/10/11, Safari, and Chrome. */
abbr[title] { border-bottom: 1px dotted; }

/** Address style set to `bolder` in Firefox 4+, Safari, and Chrome. */
b, strong { font-weight: bold; }

/** Address styling not present in Safari and Chrome. */
dfn { font-style: italic; }

/** Address variable `h1` font-size and margin within `section` and `article` contexts in Firefox 4+, Safari, and Chrome. */
h1 { font-size: 2em; margin: 0.67em 0; }

/** Address styling not present in IE 8/9. */
mark { background: #ff0; color: #000; }

/** Address inconsistent and variable font size in all browsers. */
small { font-size: 80%; }

/** Prevent `sub` and `sup` affecting `line-height` in all browsers. */
sub, sup { font-size: 75%; line-height: 0; position: relative; vertical-align: baseline; }

sup { top: -0.5em; }

sub { bottom: -0.25em; }

/* Embedded content ========================================================================== */
/** Remove border when inside `a` element in IE 8/9/10. */
img { border: 0; }

/** Correct overflow not hidden in IE 9/10/11. */
svg:not(:root) { overflow: hidden; }

/* Grouping content ========================================================================== */
/** Address margin not present in IE 8/9 and Safari. */
figure { margin: 1em 40px; }

/** Address differences between Firefox and other browsers. */
hr { box-sizing: content-box; height: 0; }

/** Contain overflow in all browsers. */
pre { overflow: auto; }

/** Address odd `em`-unit font size rendering in all browsers. */
code, kbd, pre, samp { font-family: monospace, monospace; font-size: 1em; }

/* Forms ========================================================================== */
/** Known limitation: by default, Chrome and Safari on OS X allow very limited styling of `select`, unless a `border` property is set. */
/** 1. Correct color not being inherited. Known issue: affects color of disabled elements. 2. Correct font properties not being inherited. 3. Address margins set differently in Firefox 4+, Safari, and Chrome. */
button, input, optgroup, select, textarea { color: inherit; /* 1 */ font: inherit; /* 2 */ margin: 0; /* 3 */ }

/** Address `overflow` set to `hidden` in IE 8/9/10/11. */
button { overflow: visible; }

/** Address inconsistent `text-transform` inheritance for `button` and `select`. All other form control elements do not inherit `text-transform` values. Correct `button` style inheritance in Firefox, IE 8/9/10/11, and Opera. Correct `select` style inheritance in Firefox. */
button, select { text-transform: none; }

/** 1. Avoid the WebKit bug in Android 4.0.* where (2) destroys native `audio` and `video` controls. 2. Correct inability to style clickable `input` types in iOS. 3. Improve usability and consistency of cursor style between image-type `input` and others. */
button, html input[type="button"], input[type="reset"], input[type="submit"] { -webkit-appearance: button; /* 2 */ cursor: pointer; /* 3 */ }

/** Re-set default cursor for disabled elements. */
button[disabled], html input[disabled] { cursor: default; }

/** Remove inner padding and border in Firefox 4+. */
button::-moz-focus-inner, input::-moz-focus-inner { border: 0; padding: 0; }

/** Address Firefox 4+ setting `line-height` on `input` using `!important` in the UA stylesheet. */
input { line-height: normal; }

/** It's recommended that you don't attempt to style these elements. Firefox's implementation doesn't respect box-sizing, padding, or width.  1. Address box sizing set to `content-box` in IE 8/9/10. 2. Remove excess padding in IE 8/9/10. */
input[type="checkbox"], input[type="radio"] { box-sizing: border-box; /* 1 */ padding: 0; /* 2 */ }

/** Fix the cursor style for Chrome's increment/decrement buttons. For certain `font-size` values of the `input`, it causes the cursor style of the decrement button to change from `default` to `text`. */
input[type="number"]::-webkit-inner-spin-button, input[type="number"]::-webkit-outer-spin-button { height: auto; }

/** 1. Address `appearance` set to `searchfield` in Safari and Chrome. 2. Address `box-sizing` set to `border-box` in Safari and Chrome. */
input[type="search"] { -webkit-appearance: textfield; /* 1 */ box-sizing: content-box; /* 2 */ }

/** Remove inner padding and search cancel button in Safari and Chrome on OS X. Safari (but not Chrome) clips the cancel button when the search input has padding (and `textfield` appearance). */
input[type="search"]::-webkit-search-cancel-button, input[type="search"]::-webkit-search-decoration { -webkit-appearance: none; }

/** Define consistent border, margin, and padding. */
fieldset { border: 1px solid #c0c0c0; margin: 0 2px; padding: 0.35em 0.625em 0.75em; }

/** 1. Correct `color` not being inherited in IE 8/9/10/11. 2. Remove padding so people aren't caught out if they zero out fieldsets. */
legend { border: 0; /* 1 */ padding: 0; /* 2 */ }

/** Remove default vertical scrollbar in IE 8/9/10/11. */
textarea { overflow: auto; }

/** Don't inherit the `font-weight` (applied by a rule above). NOTE: the default cannot safely be changed in Chrome and Safari on OS X. */
optgroup { font-weight: bold; }

/* Tables ========================================================================== */
/** Remove most spacing between table cells. */
table { border-collapse: collapse; border-spacing: 0; }

td, th { padding: 0; }

body { width: 100%; font-size: 100%; }

body, th, td { color: #333333; line-height: 1.65; }

input, textarea, select { padding: 0; color: #333333; }

input[type="submit"], input[type="text"], textarea { -webkit-appearance: none; }

a { color: #1551bf; }

a:hover { text-decoration: none; color: #ec1c24; }

h1 { margin: 0; padding: 0; }

ul { margin: 0; padding-left: 0; list-style-type: none; }

ol { margin-top: 0; margin-bottom: 0; padding-left: 0; list-style-type: none; }

dt, dd { margin-left: 0; }

dt { font-weight: bold; }

p { margin-top: 0; margin-bottom: 0; }

img { vertical-align: bottom; }

body { text-align: center; }

.spbody_home { background: url(../img/body_bg.png) repeat left top; }

div, span {
  box-sizing: border-box;
}

button {
  background: transparent;
  border: none;
  outline: none;
  box-shadow: none;
}

/* ----------------------------- spheader
----------------------------- */
.spheader { border-bottom: 2px solid #ec1c24; background: #fff; padding-top: 10px; padding-bottom: 10px; width: 100%; }
.spbody_home .spheader { border:none }
.spheader_logo { margin: 0 auto; width: 195px; font-size: 1rem; }
.spheader_logo img { width: 100%; height: auto; }
@media screen and (max-width: 767px) { .spheader_logo { width: 97px; } }

/* ----------------------------- spmainvisual
----------------------------- */
.spmainvisual { margin-bottom: 50px; }
@media screen and (max-width: 979px) { .spmainvisual { margin-bottom: 2em; -moz-background-size: 20px; -o-background-size: 20px; -webkit-background-size: 20px; background-size: 20px; } }
.spmainvisual_ttl { margin: 0 auto; }
.spmainvisual_ttl img { width: 100%; height: auto; }

/* ----------------------------- sparticle
----------------------------- */
.sparticle { margin: 0 auto; padding-bottom: 50px; width: 980px; text-align: left; }
@media screen and (max-width: 979px) { .sparticle { padding-bottom: 30px; width: 85%; } }
.sparticle_home_lead { position:relative;margin-bottom: 2.5em; border-top: solid 1px #f47777; border-bottom: solid 1px #f47777; padding-top: 1.35em; padding-bottom: 1.35em; /*background: url(../img/lead_bg.png) repeat-x left top,
url(../img/lead_bg.png) repeat-x left bottom;*/ background-size: 14px 10px, 14px 10px; font-size: 1.125rem; color: #fff; }
.sparticle_home_lead:before, .sparticle_home_lead:after {
  content: '';
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: #eeacb3;
}
.sparticle_home_lead:before {
  top: -9px;
}
.sparticle_home_lead:after {
  bottom: -9px;
}
@media screen and (max-width: 979px) { .sparticle_home_lead { font-size: 1rem; } }
.sparticle_home_lead_text + .sparticle_home_lead_text {
  margin-top: 1.5em;
}
.sparticle_home_articlelist { *zoom: 1; }
.sparticle_home_articlelist:after { content: ""; display: table; clear: both; }
.sparticle_home_articlelist_item { margin-bottom: 0.5em; background: #fff; }
@media screen and (min-width: 768px) { .sparticle_home_articlelist_item { float: left; width: 32%; } }
@media screen and (min-width: 768px) { .sparticle_home_articlelist_item + .sparticle_home_articlelist_item { margin-left: 2%; } }
@media screen and (max-width: 767px) { .sparticle_home_articlelist_item + .sparticle_home_articlelist_item { margin-top: 1em; } }
.sparticle_home_articlelist_item a { color: #333333; text-decoration: none; }
.sparticle_home_articlelist_item:hover img { opacity: .7; }
.sparticle_home_articlelist_item_thumb { vertical-align: middle; }
.sparticle_home_articlelist_item_thumb img { width: 100%; height: auto; }
.sparticle_home_articlelist_item_ttl { padding: 20px; vertical-align: middle; font-size: 1.3125rem; font-weight: bold; line-height: 1.3; }
@media screen and (max-width: 767px) { .sparticle_home_articlelist_item_ttl { font-size: 1.125rem; } }
.sparticle_home_articlelist_item_ttl span { display: block; margin-bottom: .5em; color: #d91212; font-size: 1rem; font-weight: normal; line-height: 1.3; }
@media screen and (max-width: 767px) { .sparticle_home_articlelist_item_ttl span { font-size: 0.875rem; } }
.sparticle_topicpath { padding-top: 15px; padding-bottom: 15px; font-size: 0.75rem; color: #666666; }
.sparticle_topicpath_item { display: inline; }
.sparticle_topicpath_item + .sparticle_topicpath_item:before { content: ">"; padding-left: 5px; padding-right: 5px; }
.sparticle_topicpath a { color: #666666; }
.sparticle_main { float: left; width: 66%; }
.sparticle_main_outer { *zoom: 1; }
.sparticle_main_outer:after { content: ""; display: table; clear: both; }
@media screen and (max-width: 767px) { .sparticle_main { float: none; width: 100%; } }
.sparticle_side { float: right; width: 30%; }
@media screen and (max-width: 767px) { .sparticle_side { float: none; width: 100%; } }
.sparticle_header { margin-bottom: 30px; }
@media screen and (max-width: 767px) { .sparticle_header { margin-bottom: 20px; } }
.sparticle_header_ttl { position: relative; background: url(../img/article_header_bg.png) repeat left top; padding: .7em .5em; font-size: 1.75rem; line-height: 1.3; text-align: center; }
@media screen and (max-width: 767px) { .sparticle_header_ttl { background-size: 40px; font-size: 1.3125rem; } }
@media screen and (max-width: 767px) { .sparticle_header_ttl span { font-size: 1rem; } }
.sparticle_header_lead { font-size: 0.875rem; }
@media screen and (max-width: 767px) { .sparticle_header_lead { font-size: 0.75rem; } }
.sparticle_body_heading {
  display: flex;

}
.sparticle_body_heading_head, .sparticle_body_heading_data {
  display: flex;
  align-items: center;
}
.sparticle_body_heading_head {
  position: relative;
  padding: .75em .5em .75em 1em;
  background: #edd12f;
  font-size: 1.125rem;
}
@media screen and (min-width: 768px) {
  .sparticle_body_heading_head {
    white-space: nowrap;
  }
}
.sparticle_body_heading_head:after {
  content: '';
  position: absolute;
  top: 0;
  right: -20px;
  width: 20px;
  height: 100%;
  background: linear-gradient(to bottom left, transparent 50% , #edd12f 50%) no-repeat top left / 100% 51%,
  linear-gradient(to top left,transparent 50%, #edd12f 50%) no-repeat bottom left/100% 51%;
}
.sparticle_body_heading_data {
  flex-grow: 2;
  padding: .5em 1em .5em 1.75em;
  background: #d91212;
  font-size: 1.3125rem;
  color: #fff;
}
@media screen and (max-width: 767px) {
  .sparticle_body_heading_head, .sparticle_body_heading_data {
    font-size: 1rem;
  }
}
/*.sparticle_body_heading { position: relative; margin-top: 30px; margin-bottom: 20px; background: #a37e23; padding: .5em 1em .5em 1em; color: #fff; font-size: 1.3125rem; line-height: 1.3; }
.sparticle_body_heading:before { content: ''; position: absolute; top: 0; left: 0; background: #d91212; width: 100%; height: 2px; }
.sparticle_body_txt + .sparticle_body_heading { margin-top: 40px; }
@media screen and (max-width: 767px) { .sparticle_body_heading { margin-top: 15px; margin-bottom: 15px; font-size: 1rem; }
  .sparticle_body_txt + .sparticle_body_heading { margin-top: 20px; } }*/
.sparticle_body_subheading { margin: 1em 0 .3em 0; }
.sparticle_body_txt + .sparticle_body_txt { margin-top: 1em; }
@media screen and (max-width: 767px) { .sparticle_body_txt { font-size: 0.875rem; } }
.sparticle_body_image { margin-top: 30px; margin-bottom: 30px; text-align: center; }
@media screen and (max-width: 767px) { .sparticle_body_image { margin-top: 15px; margin-bottom: 15px; } }
.sparticle_body_image img { width: 650px; height: 350px; }
@media screen and (max-width: 979px) { .sparticle_body_image img { max-width: 100%; height: auto; } }
.sparticle_body_btn { margin-top: 30px; }
.sparticle_body_btn a { display: block; margin: 0 auto; background: #d91212; width: 280px; padding: 10px 0; color: #fff; font-weight: bold; text-align: center; text-decoration: none; }
.sparticle_body_btn a:hover { background: #d91212; color: #fff; }
@media screen and (max-width: 767px) { .sparticle_side { margin-top: 30px; border-top: 1px solid #d9d9d9; padding-top: 30px; } }
.sparticle_side_heading { margin-bottom: 0; padding-bottom: 8px; font-size: 1rem; font-weight: bold; }
.sparticle_side_articlelist { border-top: 1px solid #d91212; padding-top: 15px; }
.sparticle_side_articlelist_item { margin-bottom: 0.7em; }
.sparticle_side_articlelist_item:hover img { opacity: .7; }
.sparticle_side_articlelist_item a { display: block; border: 1px solid #d9d9d9; color: #333333; text-decoration: none; }
/*.sparticle_side_articlelist_item_thumb { display: table-cell; vertical-align: middle; }
.sparticle_side_articlelist_item_thumb img { width: 109px; height: 78px; }*/
.sparticle_side_articlelist_item_thumb img {
  width: 100%;
  height: auto;
}
.sparticle_side_articlelist_item_ttl { padding: 1em; font-size: 0.875rem; line-height: 1.3; }
.sparticle_side_articlelist_item_ttl span { display: block; margin-bottom: .3em; color: #d91212; font-size: 0.75rem; }

.sparticle_body_example {
  margin-top: 1.5em;
  margin-bottom: 2em;
  border-bottom: 1px solid #999;
}
.sparticle_body_example_ttl {
  display: flex;
  align-items: center;
  font-size: 0.875rem;
  font-weight: normal;
}
.sparticle_body_example_ttl:before , .sparticle_body_example_ttl:after {
  content: "";
  height: 1px;
  flex-grow: 1;
  background-color: #999;
}
.sparticle_body_example_ttl:before {
  margin-right: 1em;
}
.sparticle_body_example_ttl:after {
  margin-left: 1em;
}
.sparticle_body_example_dl {
  display: flex;
  /*flex-wrap: wrap;*/
}
.sparticle_body_example_dl + .sparticle_body_example_dl {
  margin-top: -.5em;
}
.sparticle_body_example_dt {
  /*width: 35%;*/
  padding-right: 1em;
  text-align: center;
}
.sparticle_body_example_dd {
  position: relative;
  /*width: 65%;*/
}
@media screen and (min-width: 600px) {
  .sparticle_body_example_dd:before {
    content: '：';
    position: absolute;
    top: 0;
    left: -1em;

  }
}
@media screen and (max-width: 599px) {
  .sparticle_body_example_dl {
    flex-wrap: wrap;
    font-size: 0.875rem;
  }
  .sparticle_body_example_dt {
    text-align: left;
  }
}


/* ----------------------------- spfooter
----------------------------- */
.spfooter { border-top: 1px solid #d9d9d9; background: #fff; padding-top: 24px; padding-bottom: 24px; font-size: 0.75rem; }
@media screen and (max-width: 979px) { .spfooter { padding-top: 12px; padding-bottom: 12px; font-size: 0.6875rem; } }


.kuji {
    display: flex;
    justify-content: center;
    /* padding-top: 80px;
    padding-bottom: 60px; */
    background: url(../img/omikuji_bg.png) repeat left top;
}
.kuji_main {
    position: relative;
    margin-top: 4em;
    border-radius: 20px;
    border: solid 6px #c29115;
    background: #fff;
    padding-bottom: 50px;
    width: 900px;
}
.kuji_main::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 1.5em;
    background: url(../img/omikuji_decoration.png) left center;
    background-size: 18px 50px;
    width: 18px;
    height: 50px;
}
.kuji_main::after {
    content: '';
    position: absolute;
    top: 50%;
    right: 1.5em;
    background: url(../img/omikuji_decoration.png) left center;
    background-size: 18px 50px;
    width: 18px;
    height: 50px;
}
.kuji_title {
    margin-top: -50px;
}
.kuji_lead {
    margin-top: 1.5em;
    margin-bottom: 0.75em;
    font-size: 21px;
    line-height: 2;
}
.kuji_button {
    transition: .3s all;
}
.kuji_button:hover {
    transform: translate(20px, 0);
}
.kuji_result {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    min-height: 100vh;
    background: rgba(0,0,0,.7);
    padding-bottom: 2em;
}
.kuji_result_title {
    color: #fff;
    font-size: 24px;
}
.kuji_result_image {
    margin-top: 1em;
    margin-bottom: 1.5em;
}
.kuji_result_button {
    display: inline-block;
    transition: .3s;
}
.kuji_result_button:hover {
    transform: translate(10px, 0);
}

.fade {
	opacity: 0;
	transform: translateY(0px);
	transition: opacity 1.5s, transform 2s;
}.fade.active {
	opacity: 1;
	transform: translateY(0px);
}

@media screen and (max-width: 899px) {
    img {
        max-width: 100%;
        height: auto;
    }
    .kuji {
        width: 100%;
        box-sizing: border-box;
        /* padding: 4em 1em 2em; */
    }
    .kuji_main {
        margin: 4em 1em 2em;
        border-width: 3px;
        width: 100%;
        padding: 1em;
    }
    .kuji_title img {
        width: 90%;
    }
    .kuji_main::before,
    .kuji_main::after {
        content: none;
    }
    .kuji_lead {
        text-align: left;
        font-size: 16px;
    }
    .kuji_result {
        padding: 1.5em;
    }
    .display_pc {
        display: none;
    }
}
