/* 
responsive debug 650x980
*/

body,a {
    margin: 0;
    font-family: 'Noto Sans JP', sans-serif;
    background-color: #fafafa;
    color: #151515;
}

a {
    text-decoration: none;
}

img {
    object-fit: cover;
    border-radius: 2px;
}

.topic-container,.pop-container {
    background-color: #343434;
}

.topic-container {
    padding: 25px 20px;
    display: flex;
    justify-content: center;
}

.event-container, .news-container,.popUp {
    background-color: #fafafa;
    border-radius: 2px;
    padding: 10px 20px;
    margin: 0 12px; 
}

.event-container {
    width: 60%;
}

.news-container {
    width: 40%;
}

.event-contents,.news-contents {
    height: 350px;
    overflow: auto;
}

.popUp {
    height: 435px;
    overflow-y: auto;
    overflow-x: hidden;
}

.header-topic  {
    padding: 10px;
    line-height: 65px;
    font-size: 29px;
    font-weight: bold;
}

.event-main-title, .news-main-title {
    text-align: center;
    font-size: 20px;
    margin: 2%;
    font-weight: bold;
}

.event-title,.find-title {
    margin: 1%;
    font-size: 18px;
    font-weight: bold;
    width: 255px;
}

.news-date,.news-title,.event-info,.find-info {
    font-size: 14px;
    margin: 1%;
}

.news-title {
    line-height: 1.6;
}

/* thumbnail */

.event-thumbnail,.find-thumbnail {
    margin-right: 20px;
}

.event-thumbnail img {
    width: 160px;
    height: 100px;
    object-fit: cover;
    border-radius: 2px;
}

.find-thumbnail img {
    width: 160px;
    height: 100px;
}

.card-display {
    display: flex;
    justify-content: center;
    width: 100%;
    margin: auto;
}

.event-box, .news-box {
    padding: 2% 0;
}

/* イベント子ページ */.find-title
.eventLeft {
    width: 60%;
    padding-right: 20px;
}

.eventRight {
    width: 40%;
}

.pop-container {
    padding: 25px 20px 25px 20px;
}

.top-link {
    color: #fafafa; 
    font-weight: 700;
    display: inline-block;
    padding: 10px;
    font-size: 18px;
}

.top-link::after {
    content: "≫";
    font-size: 14px;
}

.prev-link::before {
    content: "";
    border-left: 2px #fafafa solid;
    margin-right: 24px;
}

.popInner {
    display: flex;
    justify-content: space-between;
}

.popInfo {
    display: flex;
    justify-content: space-between;
}

.popInfoText {
    line-height: 1.6;
}

.tm {
    background-color: #FDC484;
}   
/* <span class="label tm">明日開催</span> */

.popTitle {
    font-size: 30px;
    font-weight: bold;
    margin-bottom: 2%;
}

.eventLeft p {
    font-size: 16px;
}

.pop-thumbnail img {
    width: 360px;
    height: 230px;
    object-fit: cover;
    border-radius: 2px;
}

.qr {
    text-align: center;
    font-weight: 700;
}

.qr img {
    width:80px;
}

.qr-find {
    display: flex;
    justify-content: end;
}

.qr-inner {
    margin: 0 0px 0 40px;
}

.newsPop {
    height: 1233px;
}

.news-pop-title {
    font-size: 40px;
}

.newsPop p {
    font-size: 22px;
    line-height: 1.5;
}

.news-thumbnail {
    margin :10px 0 10px 0;
}

.news-thumbnail img {
    width: 100%;
    height: 380px;
    border-radius: 2px;
    object-fit: cover;
}

.label {
    display: inline-block;
    border-radius: 2px;
    font-weight: 700;
    font-size: 18px;
    padding: 2px 4px;
}

.list-label {
    display: inline-block;
    border-radius: 2px;
    font-weight: 500;
    font-size: 14px;
    padding: 2px 4px;
}

.news-category {
    background-color: #c9e6ed;
}

.shop-category {
    background-color: #efdfb9;
}

.btn-container {
    display: flex;
    justify-content: space-evenly;
}

.shop-btn, .sisetsu-btn {
    width: 100%;
    background-color: #151515;
}

.shop-btn a, .sisetsu-btn a {
    padding: 5%;
    color : #fff;
    font-weight: bold;
    font-size: 40px;
    text-align: center;
    display: block;
}

.shop-btn a {
    border-right: solid 2px #fff;
}

/* お店を探す 施設を探す機能 */

.find {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-gap: 20px;
}

#map {
    /* position: absolute;
    top: 0;
    bottom: 0; */
    width: 100%;
    height: 798px !important;
    background-color: #343434;
}

.map-title {
    font-size: 16px;
    font-weight: 700;
}

.footer-topic {
    background-color: #FDC484;
    position: fixed;
    left: 0;
    bottom: 0;
    width: 100%;
}

.footer-topic a {
    display: block;
    padding: 23px 0;
    text-align: center;
    font-size: 29px;
    font-weight: bold;
}

/**
 * YUI 3.5.0 - reset.css (http://developer.yahoo.com/yui/3/cssreset/)
 * http://cssreset.com
 * Copyright 2012 Yahoo! Inc. All rights reserved.
 * http://yuilibrary.com/license/
 */
/*
	TODO will need to remove settings on HTML since we can't namespace it.
	TODO with the prefix, should I group by selector or property for weight savings?
*/
html{
	color:#000;
	background:#FFF;
}
/*
	TODO remove settings on BODY since we can't namespace it.
*/
/*
	TODO test putting a class on HEAD.
		- Fails on FF.
*/
body,
div,
dl,
dt,
dd,
ul,
ol,
li,
h1,
h2,
h3,
h4,
h5,
h6,
pre,
code,
form,
fieldset,
legend,
input,
textarea,
p,
blockquote,
th,
td {
	margin:0;
	padding:0;
}
table {
	border-collapse:collapse;
	border-spacing:0;
}
fieldset,
img {
	border:0;
}
/*
	TODO think about hanlding inheritence differently, maybe letting IE6 fail a bit...
*/
address,
caption,
cite,
code,
dfn,
em,
strong,
th,
var {
	font-style:normal;
	font-weight:normal;
}

ol,
ul {
	list-style:none;
}

caption,
th {
	text-align:left;
}
h1,
h2,
h3,
h4,
h5,
h6 {
	font-size:100%;
	font-weight:normal;
}
q:before,
q:after {
	content:'';
}
abbr,
acronym {
	border:0;
	font-variant:normal;
}
/* to preserve line-height and selector appearance */
sup {
	vertical-align:text-top;
}
sub {
	vertical-align:text-bottom;
}
input,
textarea,
select {
	font-family:inherit;
	font-size:inherit;
	font-weight:inherit;
}
/*to enable resizing for IE*/
input,
textarea,
select {
	*font-size:100%;
}
/*because legend doesn't inherit in IE */
legend {
	color:#000;
}
/* YUI CSS Detection Stamp */
#yui3-css-stamp.cssreset { display: none; }



/*! normalize.css v8.0.1 | 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;
}

/**
 * Render the `main` element consistently in IE.
 */

main {
  display: block;
}

/**
 * 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 {
  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 */
  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 {
  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"] {
  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;
}


/* */
 @keyframes fadeIn {
  0% {
    display: none;
    opacity: 0;
  }

  1% {
    display: block;
    opacity: 0;
  }

  100% {
    display: block;
    opacity: 1;
  }
}

.hide{   display: none; }

.topic-container{ height: 480px; } 

.contents {
width: 100%; display: inherit; 
     background: white;
            position: absolute;
    width: 100%;
    top: 0;
    left: 0;
    height: 664px;
    overflow: scroll;
}