/*
* Prefixed by https://autoprefixer.github.io
* PostCSS: v8.3.6,
* Autoprefixer: v10.3.1
* Browsers: last 4 version
*/

@charset "utf-8";
html {
  scroll-behavior: smooth;
}

body {
  font-family: "Montserrat","Helvetica Neue",Arial,"Hiragino Kaku Gothic ProN","Hiragino Sans",Meiryo,sans-serif;
  font-size: 15px;
  color: #333;
  background: #FFF;
  margin: 0 auto;
  padding: 0;
}

header {
  margin: 0 auto;
  padding: 0;
  background: #FFF;
}

footer {
  margin: 0 auto;
  padding: 0;
  color: #FFF;
  background: #4F473C;
  font-size: 95%;
  font-weight: 200;
  width: 100%;
}

footer a {
  text-decoration: none;
  color: #fff;
}

footer a:hover {
  color: #F8DB83;
}

footer ul {
  list-style: none;
}

footer .copyright {
  display: block;
  text-align: right!important;
  padding: 10px;
  margin: 0 auto;
  color: #888;
}

h1 {
  font-size: 200%;
  color: #000;
  font-weight: bold;
  text-align: center;
}

h1 span {
  background: -webkit-gradient(linear, left top, left bottom, color-stop(60%, transparent), color-stop(60%, #F8DB83));
  background: -o-linear-gradient(transparent 60%, #F8DB83 60%);
  background: linear-gradient(transparent 60%, #F8DB83 60%);
}

.container {
  width: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  margin: 0 auto;
  padding: 0;
}

.main {
  display: block;
  width: 65%;
  font-size: 120%;
  background: #F7F1E2;
  padding: 10px;
  margin: 0 auto;
}

.sidebar {
  width: 35%;
  background: #f6f6f6;
  margin: 0 auto;
  padding: 14px;
}

.sidebar__item {
  position: sticky;
  margin-bottom: 0;
  padding: 10px;
  top: 10px;
  z-index: 1;
  margin: 20px 10px 20px 10px;
  padding: 0;
}

.sidebar__item__menu {
  padding: 20px;
  background: #FFF;
  border-radius: 10px 10px 10px 10px;
  -webkit-box-shadow: 0 0 8px #dcdcdc;
          box-shadow: 0 0 8px #dcdcdc;
}

.sidebar__header {
  color: #E8332F;
  font-weight: bold;
}

.sidebar__item__menu ol {
  list-style: none;
  padding-left: 0;
  display: table;
}

.sidebar__item__menu ol li:after {
  content: "";
  display: block;
  margin-bottom: 0.5em;
}

.sidebar__item__menu ol li > a {
  color: #000;
  font-weight: bold;
  text-decoration: none;
  font-size: 120%;
}

.sidebar__sp {
  display: none;
}

.chat__left,
.chat__right {
  width: 100%;
  margin: 20px 0;
  display:-webkit-box;
  display:-ms-flexbox;
  display:flex;
  -webkit-box-pack: start;
      -ms-flex-pack: start;
          justify-content: flex-start;
  -webkit-box-align: start;
      -ms-flex-align: start;
          align-items: flex-start;
  padding-bottom: 10px;
}

.chat__right {
  -webkit-box-pack:end;
      -ms-flex-pack:end;
          justify-content:flex-end;
  margin-right: 20px;
}

.face__icon img {
  width: 60px;
  height: 60px;
  border: solid 2px #333;
  border-radius: 50%;
  height: auto;
}

.chat__right .face__icon {
  margin-left: 25px;
  -webkit-box-ordinal-group:3 !important;
      -ms-flex-order:2 !important;
          order:2 !important;
}

.chat__left .face__icon {
  margin-right:25px;
}

.bubble {
  margin: 0;
  padding: 0;
}

.bubble__left {
/*
  max-width: 100%; 
  display: -webkit-box; 
  display: -ms-flexbox; 
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
*/
  position: relative;
  padding: 17px 13px 15px 18px;
  border-radius: 12px;
  background: #FFF;
  -webkit-box-sizing:border-box;
          box-sizing:border-box;
  margin:0 !important;
  line-height:1.5;
}

.bubble__left p {
  margin:8px 0 0 !important;
}

.bubble__left p:first-child {
  margin-top:0 !important;
}

.bubble__caption {
  font-size: 70%;
  color: #666;
  margin: 4px 20px;
}

.bubble__left:after {
  content: "";
  position: absolute;
  border: 10px solid transparent;
}

.chat__left .bubble__left:after {
  left: -26px;
  top: 12px;
  border-right: 22px solid #FFF;
}

.bubble__right {
  max-width: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  position: relative;
  padding: 17px 13px 15px 18px;
  border-radius: 12px;
  color: #FFF;
  background: #E8332F;
  -webkit-box-sizing:border-box;
          box-sizing:border-box;
  margin:0 !important;
  line-height:1.5;
}

.bubble__right p {
  margin:8px 0 0 !important;
}

.bubble__right p:first-child {
  margin-top:0 !important;
}

.bubble__right:after {
  content: "";
  position: absolute;
  border: 10px solid transparent;
}

.chat__right .bubble__right:after {
  right: -26px;
  top: 12px;
  border-left: 22px solid #E8332F;
}

.chat__image img {
  display: block;
  margin:auto;
  max-width: 80%;
  background-color: #FFF;
  padding: 10px;
  border-radius: 12px;
}

.link__box {
  background: #F8DB83;
  border: none;
  padding:10px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  margin: 20px 0 20px 0;
  border-radius: 12px;
}

.link__box:hover {
  background-color:#F7F1E2;
  -webkit-transition:background-color .35s;
  -o-transition:background-color .35s;
  transition:background-color .35s
}

.link__box__wrap {
  width:  100%;
  margin: 20px 0 0 0;
}

.img__box {
/*   width: 32%; */
  float: left;
}

.img__box img {
  border-radius: 12px;
  height: 15vw !important;
}

.text__box {
/*   width: 68%; */
/*   float: left; */
  padding: 5px 10px 10px 20px;
  margin: 0;
 
  white-space:normal;
}

.link__box__wrap a{
	text-decoration: none;
}

.text__box .title {
  color: #000;
  font-weight: bold;
  text-decoration: none;
}

.text__box .description {
  font-size: 80%;
  color: #000;
  text-decoration: none;
  overflow-wrap: break-word;
  word-break: break-all;
}

/** PCのみ **/
@media all and (min-width: 769px) {
  header {
    position: relative;
    height: 50vw !important;
    background: url(../img/pc_header_bg.png) center / cover;
  }

  .footer__wrap {
    margin: 0 auto;
    padding: 0;
    display:-webkit-box;
    display:-ms-flexbox;
    display:flex;
    width: 100%;
  }

  footer .footer__list {
    display: inline-block;
    vertical-align: top;
    height: 12vh;
    width: 20%;
  }

  footer .footer__list li {
    padding-bottom: 6px;
  }

  footer .footer__list__logo {
    margin-left: auto;
    margin-top: auto;
    padding-right: 10px;
  }

  .sidebar__item__menu ol li {
    display: table-row;
    counter-increment: table-ol;
    margin-bottom: 0.5em;
  }

  .sidebar__item__menu ol li:before {
    content: counter(table-ol);
    font-weight: bold;
    font-size: 120%;
    display: table-cell;
    padding-top: 0.2em;
    padding-right: 0.4em;
    padding-left: 0.25em;
  }

  .sidebar__nav, .sidebar__nav__1, .sidebar__nav__2, .sidebar__nav__3, .sidebar__nav__4 {
    background: url(../img/rice_icon_pc_normal.svg) no-repeat 0 0;
    background-size: auto 30px;
  }

  .sidebar__nav__active, .sidebar__nav__1__active, .sidebar__nav__2__active, .sidebar__nav__3__active, .sidebar__nav__4__active {
    background: url(../img/rice_icon_pc_active.svg) no-repeat 0 0;
    background-size: auto 30px;
    color: #FFF;
  }

  .sidebar__nav__item {
      padding-left: 10px;
  }
}

/** スマホ・タブレット **/
@media all and (max-width: 768px) {

  header {
    position: relative;
    height: 144vw !important;
    background: url(../img/sp_header_bg.png) center / cover;
    background-size: 100%;
    background-repeat: no-repeat;
  }

  footer {
    text-align: center!important;
    padding-top: 30px;
  }

  footer .footer__item {
    margin: 0 auto;
    padding: 0;
    line-height: 40px;
  }

  footer .footer_logo_list {
    margin-left:auto;
    margin-right:0px;
  }

  footer .footer_logo_item {
    margin-top: 30px;
  }

  footer .copyright {
    display: block;
    text-align: center!important;
    padding-top: 10px;
    padding-bottom: 10px;
    margin: 0 auto;
    color: #888;
  }

  .main {
    display: block;
    width: 96%;
    font-size: 120%;
    background: #F7F1E2;
    padding: 10px;
    margin: 0 auto;
  }

  .sidebar {
    width: 0%;
    display:none;
  }

  .sidebar__sp {
    display: block;
  }

  .sidebar__item__menu ol li {
    display: table-row;
    counter-increment: table-ol;
    margin-bottom: 0.5em;
  }

  .sidebar__item__menu ol li:before {
    content: counter(table-ol);
    font-weight: bold;
    font-size: 100%;
    display: table-cell;
    padding-right: 0.4em;
    padding-left: 0.3em;
    background: url(../img/rice_icon_sp.svg) no-repeat 0 0;
    background-size: auto 34px;
  }

  h1 {
    font-size: 160%;
  }

  .text__box {
    width:70%;
    padding: 0px 5px 0px 10px;
    margin: 0;
  }
}

/** IE11対応 **/
@media all and (-ms-high-contrast:none){
  *::-ms-backdrop, .bubble {
    max-width: 800px;
  }
  .link__box{
	  display: block;
  }
  .link__box::after{
	  content: "";
	  display: block;
	  clear: both;
  }
  .img__box{
	  padding-right: 12px; 
  }
}