/*!
Theme Name: manna
Theme URI: http://underscores.me/
Author: Underscores.me
Author URI: http://underscores.me/
Description: Description
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: manna
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned.

manna is based on Underscores https://underscores.me/, (C) 2012-2020 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
*/

/* Bulma CSS Framework */
/* @import url("https://cdn.jsdelivr.net/npm/bulma@0.9.4/css/bulma.min.css"); */

/*RESET*/
/**
 * uaplus.css version 0.0.1
 */
html,
body {
  margin: 0;
}
*,
*::after,
*::before {
  box-sizing: border-box;
}
:focus-visible {
  outline-offset: 3px;
}
:where(html) {
  -webkit-text-size-adjust: none;
  text-size-adjust: none;
}
:where(html) {
  line-height: 1.5;
}
:where(html) {
  scrollbar-gutter: stable;
}
:where(h1) {
  font-size: 2em;
  margin-block: 0.67em;
}
:where(abbr[title]) {
  cursor: help;
  text-decoration-line: underline;
  text-decoration-style: dotted;
}
@media (forced-colors: active) {
  mark {
    color: HighlightText;
    background-color: Highlight;
  }
}
:where(del, ins, s)::before,
:where(del, ins, s)::after {
  clip-path: inset(100%);
  clip: rect(1px, 1px, 1px, 1px);
  height: 1px;
  width: 1px;
  overflow: hidden;
  position: absolute;
  white-space: nowrap;
  content: "test";
}
:where(s)::before {
  content: "stricken text start ";
}
:where(s)::after {
  content: " stricken text end";
}
:where(del)::before {
  content: "deletion start ";
}
:where(del)::after {
  content: " deletion end";
}
:where(ins)::before {
  content: "insertion start ";
}
:where(ins)::after {
  content: " insertion end";
}
:where(audio, iframe, img, svg, video) {
  max-block-size: 100%;
  max-inline-size: 100%;
}
:where(fieldset) {
  min-inline-size: 0;
}
:where(label):has(+ :where(textarea, input, select)) {
  display: block;
}
:where(textarea:not([rows])) {
  min-block-size: 6em;
}
:where(button, input, select, textarea) {
  font-family: inherit;
  font-size: inherit;
}
:where([type="search"]) {
  -webkit-appearance: textfield;
}
@supports (-webkit-touch-callout: none) {
  :where([type="search"]) {
    border: 1px solid -apple-system-secondary-label;
    background-color: canvas;
  }
}
:where([type="tel"], [type="url"], [type="email"], [type="number"]):not(
    :placeholder-shown
  ) {
  direction: ltr;
}
:where(table) {
  border-collapse: collapse;
  border: 1px solid;
}
:where(th, td) {
  border: 1px solid;
  padding: 0.25em 0.5em;
}
:where(dialog)::backdrop {
  background: oklch(0% 0 0 / 0.3);
}
:where(dialog),
:where(dialog)::backdrop {
  opacity: 0;
  transition: opacity 300ms ease-out, display 300ms allow-discrete,
    overlay 300ms allow-discrete;
}
:where(dialog[open]),
:where(dialog[open])::backdrop {
  opacity: 1;
}
@starting-style {
  :where(dialog[open]),
  :where(dialog[open])::backdrop {
    opacity: 0;
  }
}
[hidden]:not([hidden="until-found"]) {
  display: none !important;
}

/* レスポンシブフォントサイズ */
:root {
  --font-size-base: clamp(1.05rem, 1rem + 0.25vw, 1.2rem);
  --font-size-h1: clamp(1.2rem, 1.1rem + 0.8vw, 1.6rem);
  --font-size-h2: clamp(1.1rem, 1rem + 0.7vw, 1.4rem);
  --font-size-h3: clamp(1rem, 0.95rem + 0.6vw, 1.2rem);
  --font-size-h4: clamp(1.125rem, 1.05rem + 0.5vw, 1.5rem);
  --font-size-h5: clamp(1rem, 0.95rem + 0.25vw, 1.25rem);
  --font-size-h6: clamp(0.875rem, 0.85rem + 0.125vw, 1rem);
  --font-size-small: clamp(0.75rem, 0.7rem + 0.25vw, 0.875rem);
  --line-height-base: 1.8;
  --line-height-heading: 1.4;
}

html {
  font-size: var(--font-size-base);
  line-height: var(--line-height-base);
  margin-top: 0 !important;
}

h1 {
  font-size: var(--font-size-h1);
  line-height: var(--line-height-heading);
  margin-bottom: 1.2em;
}

h2 {
  font-size: var(--font-size-h2);
  line-height: var(--line-height-heading);
  margin-bottom: 1em;
}

h3 {
  font-size: var(--font-size-h3);
  line-height: var(--line-height-heading);
  margin-bottom: 0.8em;
}

h4 {
  font-size: var(--font-size-h4);
  line-height: var(--line-height-heading);
  margin-bottom: 0.7em;
}

h5 {
  font-size: var(--font-size-h5);
  line-height: var(--line-height-heading);
  margin-bottom: 0.6em;
}

h6 {
  font-size: var(--font-size-h6);
  line-height: var(--line-height-heading);
  margin-bottom: 0.5em;
}

p {
  margin-bottom: 1.2em;
  letter-spacing: 0.05em;
}

small {
  font-size: var(--font-size-small);
}

/* 管理バーを非表示 */
#wpadminbar {
  display: none !important;
}

/* BuddyPress RSSフィードリンクを非表示 */
#activity-rss-feed {
  display: none !important;
}

div#whats-new-options {
  display: block !important;
}
textarea#whats-new,
.mce-top-part::before {
  display: none !important;
}
div.mce-toolbar-grp {
  border-bottom: none;
  background: #f8f8f8;
  padding: 0;
  position: relative;
}

.mce-tinymce {
  -webkit-box-shadow: none !important;
  -moz-box-shadow: none !important;
  box-shadow: none !important;
}
div#mceu_2 {
  border: 0.5px solid #ccc !important;
  border-radius: 0.5rem;
  overflow: hidden;
}
div#mceu_7 {
  padding: 0.5rem 1rem;
}
div#whats-new-textarea {
  position: relative;
}
button#insert-media-button {
  position: absolute;
  top: 5px;
  font-size: 0.7rem;
  right: 5px;
}
button#insert-media-button {
  position: absolute;
  top: 12px;
  font-size: 0.7rem;
  right: 8px;
  border-radius: 0.5rem;
}
div.mce-toolbar-grp {
  padding: 8px !important;
}

.avatar img {
  object-fit: cover;
  width: 150px;
  height: 150px;
  border-radius: 50%;
}

@import url("https://fonts.googleapis.com/css2?family=IBM+Plex+Sans+JP:wght@400;500;700&display=swap");
html,
body {
  font-family: "IBM Plex Sans JP", sans-serif;
  font-weight: 400;
  font-style: normal;
  background: #ebe8e6;
  background: radial-gradient(
    circle,
    rgba(235, 232, 230, 1) 0%,
    rgba(249, 249, 248, 0) 100%
  );
  background-attachment: fixed;
}

/* Masonry layout support */
#activity-stream.masonry-active {
  position: relative;
}

#activity-stream.masonry-active > li {
  position: absolute;
  will-change: transform;
}
