@charset "UTF-8";
/*
Theme Name: kodomokatei
Theme URI: https://www.cfa.go.jp/for-children/
Version: 1.0
*/
/*! 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;
  opacity: 0.5;
}

/**
 * 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;
}

@font-face {
  font-family: "MPLUSRounded1c";
  src: url("../font/MPLUSRounded1c-Regular.woff2") format("woff2");
  font-weight: 400;
}
@font-face {
  font-family: "MPLUSRounded1c";
  src: url("../font/MPLUSRounded1c-Medium.woff2") format("woff2");
  font-weight: 500;
}
@font-face {
  font-family: "MPLUSRounded1c";
  src: url("../font/MPLUSRounded1c-Bold.woff2") format("woff2");
  font-weight: 600;
}
/*--------------------------------------------------
Common Style
--------------------------------------------------*/
html {
  font-size: 16px;
  line-height: 1.15;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  width: 100%;
  font-family: "MPLUSRounded1c", ヒラギノ角ゴ ProN W3, Hiragino Kaku Gothic ProN, ヒラギノ角ゴ Pro W3, Hiragino Kaku Gothic Pro, ヒラギノ丸ゴ ProN W4, Hiragino Maru Gothic ProN, ヒラギノ丸ゴ Pro W4, Hiragino Maru Gothic Pro, メイリオ, Meiryo, ＭＳ Ｐゴシック, MS PGothic, sans-serif;
  font-weight: 400;
  font-size: 1rem;
  color: #222222;
  letter-spacing: 0.04em;
  word-break: break-all;
}

a {
  font-size: inherit;
  color: #0067C0;
}
a:hover {
  text-decoration: underline;
  text-decoration-color: #0067C0;
}

html {
  overflow-x: hidden;
}

*:focus {
  outline: 2px solid #eb6e32;
  border-radius: 4px;
}

body {
  font-family: "MPLUSRounded1c", ヒラギノ角ゴ ProN W3, Hiragino Kaku Gothic ProN, ヒラギノ角ゴ Pro W3, Hiragino Kaku Gothic Pro, ヒラギノ丸ゴ ProN W4, Hiragino Maru Gothic ProN, ヒラギノ丸ゴ Pro W4, Hiragino Maru Gothic Pro, メイリオ, Meiryo, ＭＳ Ｐゴシック, MS PGothic, sans-serif;
  width: 100vw;
  overflow-x: hidden;
}
body .pagetop:focus {
  outline: 2px solid #eb6e32;
  border-radius: 4px;
}

.page-title {
  position: relative;
}
.page-title-bg {
  position: relative;
  display: block;
  width: 100%;
  height: auto;
  z-index: 0;
}
.page-title-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: inline-block;
  font-size: 2.5rem;
  font-weight: 600;
  line-height: 1.8;
  text-wrap: nowrap;
  white-space: nowrap;
  height: 1.8em;
  color: #eb6e32;
  padding: 0 1em;
  border-radius: 0.9em;
  background-color: white;
}
.page-title-text.ruby ruby rt {
  font-size: 25%;
}
@media screen and (max-width: 787px) {
  .page-title-text {
    font-size: 1.5rem;
  }
}
.page-title .sp-only {
  display: none;
}
@media screen and (max-width: 787px) {
  .page-title .pc-only {
    display: none;
  }
  .page-title .sp-only {
    display: block;
  }
}

body.en .page-title-text {
  font-size: 1.5rem;
}
@media screen and (max-width: 787px) {
  body.en .page-title-text {
    font-size: 1rem;
  }
}

.breadcrumb-list {
  display: flex;
  width: 83.3333%;
  max-width: 1000px;
  margin: 1rem auto 0;
}
@media screen and (max-width: 787px) {
  .breadcrumb-list {
    width: calc(100% - 2rem);
    overflow-x: auto;
    white-space: nowrap;
  }
}
.breadcrumb-list li {
  position: relative;
  font-size: 0.8rem;
  line-height: 1.5;
  padding: 10px 0;
}
.breadcrumb-list li:not(:last-child)::after {
  content: ">";
  display: inline;
  padding: 0 1rem;
}
.breadcrumb-list li a {
  color: #222222;
  text-decoration: underline;
  text-decoration-color: #222222;
  text-underline-offset: 2px;
}
.breadcrumb-list li a:hover {
  text-decoration: underline;
  text-decoration-color: #222222;
}

span.theme-color {
  color: #eb6e32;
}
span.subtheme-color {
  color: #4aa103;
}

@media screen and (max-width: 787px) {
  br.pc-display {
    display: none;
  }
}
br.sp-display {
  display: none;
}
@media screen and (max-width: 787px) {
  br.sp-display {
    display: block;
  }
}
br.sm-display {
  display: none;
}
@media screen and (max-width: 520px) {
  br.sm-display {
    display: block;
  }
}

.mplus-font {
  font-family: "MPLUSRounded1c", ヒラギノ角ゴ ProN W3, Hiragino Kaku Gothic ProN, ヒラギノ角ゴ Pro W3, Hiragino Kaku Gothic Pro, ヒラギノ丸ゴ ProN W4, Hiragino Maru Gothic ProN, ヒラギノ丸ゴ Pro W4, Hiragino Maru Gothic Pro, メイリオ, Meiryo, ＭＳ Ｐゴシック, MS PGothic, sans-serif;
}

.ruby-text {
  line-height: 2.4;
}

ruby rt {
  font-size: 40%;
  font-weight: normal !important;
  letter-spacing: normal;
  text-align: center;
}

/* Mac OS + Firefox向けルビ調整 */
.firefox-ruby {
  padding-top: 3px !important;
}

body.isFirefox ruby rt {
  font-size: 10px;
  margin-top: -0.3em;
  margin-bottom: -0.3em;
  line-height: 1em;
}

.common-link-button {
  position: relative;
  display: inline-block;
  background-color: #333333;
  font-size: 19.2px;
  font-weight: 500;
  color: #ffffff;
  line-height: 3.6em;
  padding: 0 4em;
  border-radius: 1.8em;
  transition: 0.5s;
}
@media screen and (max-width: 787px) {
  .common-link-button {
    padding: 0;
    width: 100%;
    text-align: center;
  }
}
.common-link-button::before {
  position: absolute;
  top: 0;
  left: 1.8em;
  bottom: 0;
  content: "";
  display: block;
  width: 12px;
  height: 12px;
  margin: auto 0;
  background-color: transparent;
  border-width: 2px 2px 0 0;
  transform: rotate(-135deg);
  border-radius: 1px;
}
.common-link-button:hover {
  transition: 0.5s;
  opacity: 0.8;
  text-decoration: none;
}

body.en .common-link-button {
  font-size: 14px;
}
@media screen and (max-width: 787px) {
  body.en .common-link-button {
    font-size: 12px;
  }
}

/* ハンバーガーメニュー */
.menu-modal {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: block;
  align-items: center;
  justify-content: center;
  background-color: rgba(255, 255, 255, 0.8);
  z-index: 100;
  transform: translateX(100%);
  transition: 0.5s;
}
.menu-modal.open {
  transform: translateX(0);
}

.nav_content {
  width: 450px;
  height: 100%;
  position: fixed;
  top: 0;
  right: 0;
  z-index: 999;
  background: #fff;
  transition: 0.5s;
  padding-top: 20px;
  padding-left: 30px;
  padding-bottom: 20px;
  box-shadow: -5px 0px 10px rgba(0, 0, 0, 0.4392156863);
  overflow-y: scroll;
  -ms-overflow-style: none;
  scrollbar-width: none;
}
.nav_content .scrollbar::-webkit-scrollbar {
  display: none;
}
@media screen and (max-width: 787px) {
  .nav_content {
    width: 90%;
  }
}
.nav_content.menuopen {
  animation: menushow 0.3s linear 0s;
}
.nav_content::-webkit-scrollbar {
  display: none;
}

.nav-button-close {
  position: absolute;
  right: 20px;
}

.nav_list {
  list-style: none;
}

.nav-items__item a {
  color: #000;
  text-decoration: none;
  cursor: pointer;
}

.menuopen {
  animation: menushow 0.5s linear 0s;
}

@keyframes menushow {
  from {
    transform: translateX(100%);
  }
  to {
    transform: translateX(0);
  }
}
.nav_content h3 {
  color: #cc4b21;
  margin: 10px 0 30px 0;
  font-weight: 600;
}

.nav_content ul {
  padding: 0;
  list-style: none;
}

.nav_content .nav-items {
  line-height: 40px;
  background-image: url("../img/menu-bg.png");
  background-position: 90%;
  background-repeat: no-repeat;
  background-size: contain;
}
.nav_content .nav-items__item {
  background-image: url("../img/sitemap-arrow1.png");
  background-repeat: no-repeat;
  background-position: left center;
  padding-left: 30px;
  background-size: 20px;
}
.nav_content .nav-items__item.no-icon {
  background-image: none;
}
.nav_content .nav-items__item a {
  font-size: 1rem;
  color: #000;
  text-decoration: none;
  cursor: pointer;
  display: flex;
  align-items: baseline;
  width: 300px;
  white-space: nowrap;
}
@media screen and (max-width: 787px) {
  .nav_content .nav-items__item a {
    width: 250px;
  }
}
.nav_content .nav-items__item a .text {
  display: inline-block;
  margin-right: 0.5rem;
}
.nav_content .nav-items__item a > img {
  display: inline-block;
}
.nav_content .nav-items__item ul li {
  background-image: url("../img/sitemap-arrow2.png");
  background-repeat: no-repeat;
  background-position: left center;
  padding-left: 20px;
  background-size: 12px;
}

.nav-close-text {
  position: relative;
  display: inline-block;
  font-size: 1rem;
  /*font-weight: bold;*/
  color: #cc4b21;
  text-decoration: underline;
  text-underline-offset: 5px;
  margin-top: 1.5rem;
}

.text-link {
  color: #0067C0;
  text-decoration: underline;
}

.minigame-link {
  position: relative;
}
.minigame-link > img {
  padding-left: 0.3rem;
  vertical-align: baseline;
}

.blank-link {
  padding-left: 5px;
  vertical-align: baseline;
}

button:disabled,
[type=button]:disabled,
[type=reset]:disabled,
[type=submit]:disabled {
  cursor: default;
  opacity: 0.5;
}

.pagetop {
  bottom: 40px;
  position: fixed;
  left: calc(100vw - 96px);
  align-items: center;
  cursor: pointer;
  display: flex;
  height: 56px;
  justify-content: center;
  transition: background-color 0.3s cubic-bezier(0.4, 0.4, 0, 1);
  width: 56px;
  z-index: 10;
}

@media screen and (max-width: 787px) {
  .minecraft-menu {
    display: block !important;
  }
}

/*--------------------------------------------------
ヘッダースタイル
--------------------------------------------------*/
.header {
  position: relative;
  background-color: #ffffff;
  padding: 0.625rem 1.25rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.header-line {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 0.625rem;
  background-image: linear-gradient(-45deg, #f0cd78 25%, #fff 25%, #fff 50%, #f0cd78 50%, #f0cd78 75%, #fff 75%, #fff);
  background-size: 20px 20px;
}
.header-left a {
  display: block;
}
.header-left a .header-logo {
  /*display: block;*/
  height: 3.75rem;
  width: auto;
}
.header-right {
  display: flex;
  align-items: center;
}
.header-right .switch-tab {
  display: flex;
  align-items: center;
}
@media screen and (max-width: 787px) {
  .header-right .switch-tab {
    display: none;
  }
}
.header-right .switch-tab-label {
  font-size: 1rem;
  margin-right: 0.8rem;
}
.header-right .switch-tab-btn-wrap {
  border-radius: 5px;
  font-size: 0;
  display: inline-flex;
  align-items: center;
}
.header-right .switch-tab-btn-wrap .switch-tab-btn {
  display: inline-block;
}
.header-right .switch-tab-btn-wrap .switch-tab-btn input[type=radio] {
  /* 透明度0 */
  -moz-opacity: 0;
  opacity: 0;
  /* ブラウザのデフォルトのスタイルを削除 */
  -webkit-appearance: none;
  appearance: none;
}
.header-right .switch-tab-btn-wrap .switch-tab-btn input[type=radio]:checked ~ .switch-tab-text {
  background-color: #cc4b21;
  color: #ffffff;
}
.header-right .switch-tab-btn-wrap .switch-tab-btn input[type=radio]:focus ~ .switch-tab-text {
  outline: 2px solid #eb6e32;
}
.header-right .switch-tab-btn-wrap .switch-tab-btn .switch-tab-text {
  display: inline-block;
  padding: 0 10px;
  line-height: 45px;
  height: 45px;
  background-color: #ebebeb;
}
.header-right .switch-tab-btn-wrap .switch-tab-btn.default .switch-tab-text {
  font-size: 16px;
  border-radius: 0 5px 5px 0;
}
.header-right .switch-tab-btn-wrap .switch-tab-btn.large .switch-tab-text {
  font-size: 20px;
  border-radius: 5px 0 0 5px;
}
.header-right .nav-button {
  margin-left: 1rem;
  display: block;
}
.header-right .nav-button-img {
  display: block;
  width: 2.25rem;
  height: auto;
}
.header-nav {
  position: absolute;
  display: none;
}

.pc-only {
  display: block;
}
@media screen and (max-width: 787px) {
  .pc-only {
    display: none;
  }
}

.sp-only {
  display: none;
}
@media screen and (max-width: 787px) {
  .sp-only {
    display: block;
  }
}

/*--------------------------------------------------
フッタースタイル
--------------------------------------------------*/
.footer {
  background-color: #ffffff;
  padding: 2rem 6rem 1.5rem;
}
@media screen and (max-width: 787px) {
  .footer {
    padding: 2rem 2rem 1.5rem;
  }
}
.footer-link {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -1rem 2rem;
}
@media screen and (max-width: 787px) {
  .footer-link {
    max-width: 440px;
    margin: 0 auto 2rem;
  }
}
.footer-link li {
  font-size: 0.875rem;
  line-height: 2;
  display: inline-block;
  margin: 0 1rem;
}
@media screen and (max-width: 787px) {
  .footer-link li {
    position: relative;
    display: block;
    width: 50%;
    padding-left: 1rem;
    margin: 0;
  }
  .footer-link li::before {
    position: absolute;
    top: 0.6875rem;
    left: 0;
    content: "";
    display: block;
    width: 0;
    height: 0;
    border-width: 0.1875rem 0 0.1875rem 0.25rem;
    border-color: transparent #707070;
  }
}
.footer-middle {
  display: flex;
  align-items: stretch;
  margin-bottom: 1rem;
}
@media screen and (max-width: 787px) {
  .footer-middle {
    align-items: center;
    flex-flow: column;
  }
}
.footer-middle .footer-logo {
  display: block;
  height: 4.6rem;
  width: auto;
}
@media screen and (max-width: 787px) {
  .footer-middle .footer-logo {
    height: 5rem;
    margin-bottom: 1rem;
  }
}
.footer-middle .footer-information {
  font-size: 0.875rem;
  margin-left: 1.5rem;
}
@media screen and (max-width: 787px) {
  .footer-middle .footer-information {
    text-align: center;
    font-size: 0.75rem;
    margin-left: 0;
  }
}
.footer .copyright {
  font-size: 0.75rem;
}
@media screen and (max-width: 787px) {
  .footer .copyright {
    text-align: center;
  }
}

/*# sourceMappingURL=style.css.map */
