@charset "UTF-8";
@import url('https://fonts.googleapis.com/css?family=M+PLUS+Rounded+1c');
@import url(//netdna.bootstrapcdn.com/font-awesome/3.2.1/css/font-awesome.css);

/****** 基本CSS ******/

* {
  margin: 0;
  padding: 0;
  
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

*:focus {
  outline: 0;
  outline: none;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

fieldset,
img {
  border: 0;
}

caption,
th {
  text-align: left;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: normal;
}
h2{
  padding-bottom: 5px;
}

.container {
  padding: 0 15px;
  margin: 0 auto 100px;
  display: block;
}

.headline {
  font-size: 50px;
  margin-top: 100px;
  margin-bottom: 50px;
  width: 500px;
  border-bottom: double 5px #FFC778;
}

q:before,
q:after {
  content: '';
}

abbr,
acronym {
  border: 0;
  font-variant: normal;
}

sup {
  vertical-align: text-top;
}

sub {
  vertical-align: text-bottom;
}

input,
textarea,
select {
  font-family: inherit;
  font-size: inherit;
  font-weight: inherit;
  font-size: 100%;
}

legend {
  color: #000;
}

#yui3-css-stamp.cssreset {
  display: none;
}

figure {
  padding: 0;
  margin: 0;
}

/* clearfix */

.cf {
  zoom: 1;
}

.cf:before,
.cf:after {
  content: "";
  display: table;
}

.cf:after {
  clear: both;
}

a:hover {
  cursor: pointer;
}

button {
  background-color: transparent;
  border: none;
  cursor: pointer;
  outline: none;
  padding: 0;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

h2 {
	border-bottom: 1px solid #A3A3A3;
	padding: 0.2em 0.5em;
	border-left: solid 5px #27acd9;
  margin-bottom: 10px;
}

/****** 共通css ******/

html {
  color: #0f0f3d;
  line-height: 1.8;
  height: 100%;
}

body {
  background-color: #FFFCF3;
}

.font_red {
 color: #FF0000;  
}

.font_bold {
  font-weight: bold;  
 }

.paragraph {
  margin-top: 20px;
  margin-bottom: 20px;
}

.half_img {
  width: 80%;
  height: auto;
}

.main{
  padding-left: 5%;
  padding-right: 5%;
}

.quote{
  font-size: small;
}

.ncnd{
  font-size: small;
  text-align: center;
}

/****** 共通レイアウト ******/

@media only screen and (min-width: 769px) {
  .main {
    max-width: 980px;
    width: 100%;
    padding: 0 30px;
    margin: 50px auto 70px;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
  }
}

.header {
  background-color: #ffbeb8;
}

.footer {
  color: #FFFCF3;
  background-color: #707070;
  padding: 15px;
  margin-top: auto;
  display: block;
  width: 100%;
  bottom: 0;
}

.title-logo {
  width: 20%;
  height: auto;
}

.box2 {
  padding: 0.5em 1em;
  margin: 2em 0;
  border: double 5px #a3d9db;
}


/* 見出し */

.h_1 {
  font-size: 2rem;
  font-weight: 600;
  padding: 1em 15px;
}

.h_2 {
  font-size: 1.8rem;
  font-weight: 540;
  margin: 50px 0 30px;
  padding: .5em .3em;
  border-top: 2px solid #ffbeb8;
  border-bottom: 2px solid #ffbeb8;
}

/* 位置・余白 */

.center {
  text-align: center;
}

.mt_S {
  margin-top: 20px;
}

.mt_M {
  margin-top: 50px;
}

.mt_L {
  margin-top: 100px;
}

.mb_S {
  margin-bottom: 20px;
}

.mb_M {
  margin-bottom: 50px;
}

.mb_L {
  margin-bottom: 100px;
}

/* グリッド */

@media only screen and (max-width: 768px) {
  .grid {
    display: block;
  }
}

@media only screen and (min-width: 767px) {
  .grid {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    overflow: hidden;
    margin-right: -30px;
  }

  .grid_item {
    margin: 0 30px 30px 0;
  }

  .grid_item.x1 {
    width: calc(8.33333% - 30px);
  }

  .grid_item.x2 {
    width: calc(16.66666% - 30px);
  }

  .grid_item.x3 {
    width: calc(24.99999% - 30px);
  }

  .grid_item.x4 {
    width: calc(33.33332% - 30px);
  }

  .grid_item.x5 {
    width: calc(41.66665% - 30px);
  }

  .grid_item.x6 {
    width: calc(49.99998% - 30px);
  }

  .grid_item.x7 {
    width: calc(58.33331% - 30px);
  }

  .grid_item.x8 {
    width: calc(66.66664% - 30px);
  }

  .grid_item.x9 {
    width: calc(74.99997% - 30px);
  }

  .grid_item.x10 {
    width: calc(83.3333% - 30px);
  }

  .grid_item.x11 {
    width: calc(91.66663% - 30px);
  }
}

/* カード */

.card {
  border: 1px solid #ccc;
}

.card_contents {
  padding: 15px;
}

.card_contents {
  color: #333;
}

/****** NEXTボタン ******/

.btn {
  margin-top: 30px;
  position: relative;
  display: inline-block;
  width: 100%;
  max-width: 250px;
  height: 50px;
  line-height: 50px;
  text-align: center;
  outline: none;
}

.btn span {
  display: block;
  position: absolute;
  width: 100%;
  height: 100%;
  border: 1px solid #333;
  transform-style: preserve-3d;
  transition: 0.5s;
}

.rotatefront span:nth-child(1) {
  background: #FFFCF3;
  color: #333;
  transform: rotateX(0deg);
  transform-origin: 0 50% -25px;
}

.rotatefront:hover span:nth-child(1) {
  transform: rotateX(-90deg);
}

.rotatefront span:nth-child(2) {
  background: #333;
  color: #FFFCF3;
  transform: rotateX(90deg);
  transform-origin: 0 50% -25px;
}

.rotatefront:hover span:nth-child(2) {
  transform: rotateX(0deg);
}

/****** INDEX CSS ******/

.chat-container {
  width:  90%;
  margin: 20px auto;
  font-family: Arial, sans-serif;
}

.message-container {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
}

.icon {
  margin-right: 10px;
  font-size: 20px;
}

.message {
  display: inline-block;
  padding: 10px;
  border-radius: 5px;
  background-color: #a3d9db;
}

.board {
  width: 80%;
  margin: 20px auto;
  border: 1px solid #ccc;
  padding: 10px;
  border-radius: 10px;
  background-color: #f9f9f9;
}

/****** TOP CSS ******/

.top_container {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  margin: 0;
}

.title {
  overflow: hidden;
  transform: translate(-150%, 0);
  transition: transform cubic-bezier(0.215, 0.61, 0.355, 1) 0.5s;
  color: #000;
  font-size: 80px;
  font-weight: bold;
}

.title img {
  display: block;
  transform: translate(150%, 0);
  transition: transform cubic-bezier(0.215, 0.61, 0.355, 1) 0.5s;
}

.title.-visible,
.title.-visible img {
  transform: translate(0, 0);
}

.top_container {
  text-align: center;
}

.top_container h3 {
  line-height: 3;
  font-size: 18px;
}

/****** CHECKLIST CSS ******/

.msg {
  font-size: 20px;
}

.checkbutton {
    text-decoration: none;
    font-size: 24px;
    width: 200px;
    height: 50px;
    border-radius: 15px;
    font-weight: bold;
    color: #fff;
    background: #27acd9;
    padding: 2px;
  }
  .checkbutton:hover {
  color: #27acd9;
  transition: 0.5s;
  border: 2px solid #27acd9;
}

.checklist_container {
  padding: 20px; 
  margin: 50 auto 30px; 
  display: block;
  background-color: #f9f9f9; 
  border: 2px solid #ccc; 
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); 
}

/****** NOTEBOOK CSS ******/

.img_movie {
  width: 100%;
  height: auto;
}

.flex {
  display: flex;
  justify-content: space-between;
}

.flex > p {
  width: 45%;
}

/****** Q&A CSS ******/

.icon img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
}

.icon {
  min-width: 50px;
  max-width: 50px;
}

.fukidashi {
  display: flex;
}

.fukidashi+.fukidashi {
  margin-top: 30px;
}

.fukidashi-left p {
  margin-left: 25px;
}

.fukidashi-left p::before {
  clip-path: polygon(100% 0%, 0% 50%, 100% 100%);
  left: -15px;
}

.fukidashi-right {
  flex-direction: row-reverse;
}

.fukidashi-right p {
  margin-right: 25px;
}

.fukidashi-right p::before {
  clip-path: polygon(0% 0%, 0% 100%, 100% 50%);
  right: -15px;
}

.talk h2 {
  font-weight: bold;
}

.talk .text {
  max-width: 75%;
  filter: drop-shadow(3px 3px 5px rgba(0, 0, 0, 0.3));
  display: flex;
  align-items: flex-start;
  flex-direction: column;
}

.talk .text #Q_A {
  max-width: 75%;
}

.talk .text p {
  position: relative;
  display: inline-block;
  color: #000;
  background-color: #f9f9f9; 
  padding: 10px;
  border-radius: 20px;
}

.talk .text p {
  background-color: #f9f9f9; 
  padding: 10px;
}

.talk .text p+p {
  margin-top: 15px;
}

.text p+p::before {
  content: none;
}

.talk .text p::before {
  content: "";
  display: block;
  width: 20px;
  height: 15px;
  background-color: #f9f9f9; 
  position: absolute;
  top: 10px;
}

/****** COOKING CSS ******/

.note2 {
  width: auto;
  max-width: 50%;
  height: auto;
}

/****** TREATMENT CSS ******/

table,
td {
  border: 2px solid #a3d9db;
  padding: 10px;
}

thead,
tfoot {
  background-color: #a3d9db;
  color: #000;
}

/****** INTERVIEW CSS ******/

p.box {
  border-bottom: 1px solid red;
}

/****** THOUGHTS CSS ******/

.thoughts_box {
  padding: 20px; 
  margin-bottom: 50px auto 10px; 
  display: block;
  background-color: #f9f9f9; 
  border: 2px solid #ccc; 
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); 
}

.risu {
  display: flex;
  align-items: flex-end;
  margin-bottom: 10px;
}

.icon_risu {
  width: 50px;
  height: 50px;
  overflow:hidden;
  border-radius: 50%;
  margin-top: 30px;
  margin-right: 10px;
}

/****** QUIZZ CSS ******/

.quiz_box {
  padding: 20px; 
  margin: 50px auto 30px; 
  display: block;
  background-color: #f9f9f9; 
  border: 2px solid #ccc; 
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); 
}

.question__text {
  font-size: 18px;
}

.question__options {
  display: flex;
  justify-content: center;
}

.question__item {
  margin-left: 16px;
  margin-bottom: 30px;
  padding: 16px;
  text-decoration: none;
  font-size: 16px;
  width: 200px;
  height: 70px;
  font-weight: bold;
  border-style: double;
  border-color: #ffbeb8;
}

.question__item:hover {
  border-color: transparent;
  background-color: #ffbeb8;
}

.question__item:first-child {
  margin-left: 0;
}
.answer__result {
  font-size: large;
}

.next-btn {
  text-decoration: none;
  font-size: 24px;
  width: 200px;
  height: 50px;
  border-radius: 15px;
  font-weight: bold;
  color: #fff;
  background: #27acd9;
  padding: 2px;
  margin-top: 30px;
}
.next-btn:hover {
color: #27acd9;
transition: 0.5s;
border: 2px solid #27acd9;
}

.hidden {
  display: none;
  background-color: #fff;
}

/****** SITEPOLICY CSS ******/

.policy {
  margin-top: 50px;
  margin-bottom: 10px;
}

/****** ACTIVITY LOG CSS ******/

.icon {
  margin-left: 3%;
}

/****** FLOWCHART CSS ******/

.choose_box {
  position: relative;
  height: 50vw;
  width: 100%;
}
 .choose_box p {
    font-size: 24px;
    display: block;
    font-weight: 600;
    text-align: center;
  }

.choose_box ul {
    width: 80%;
    text-align: center;
    margin: auto;
   display:flex;
  flex-wrap: wrap;
}
.choose_box ul li {
  width: calc(100% / 2 - 20px);
  margin-right: 20px;
  margin-bottom: 20px;
  list-style: none;
}

.choose_box ul li:nth-child(2n) {
   margin-right: 0;
}
.choose_box ul li a {
  color: #fff;
  display: block;
  padding: 10px;
  text-align: center;
  background-color: #2791d4;
  font-weight: 600;
  font-size: 18px;
  border: 2px solid #2791d4;
  text-decoration: none;
  -webkit-border-radius: 6px;
  -moz-border-radius: 6px;
  border-radius: 6px;
  margin: auto;
}

.choose_box ul li a:hover {
   background-color: #fff;
  color: #2791d4;
    -webkit-transition: 0.7s;
    -moz-transition: 0.7s;
    -o-transition: 0.7s;
    transition: 0.7s;
}

h4 {
    width: 50%;
    clear: both;
    margin: auto;
    padding: 20px;
    text-align: center;
    font-size: 24px;
    font-weight: 600;
    color: #fff;
    text-align: center;
  background-color: #C00003;
  }

.fit {
  position: absolute;
  left: 20px;
  top: 20px;
  width: 80%;
}
#q_06 span,#q_07 span {
  display: block;
  width:100%;
}
#q_06 a,#q_07 a {
  display: block;
  width:100%;
  text-align: center;
}

#emergency-flowchart {
  padding: 20px; 
  margin: 50 auto 30px; 
  display: block;
  background-color: #f9f9f9; 
  border: 2px solid #ccc; 
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); 
  height: 300px;
}

.btn1 {
  text-decoration: none;
  font-size: 2px;
  width: 180px;
  height: 70px;
  font-weight: bold;
  color: #fff;
  background: #27acd9;

}



/****** SITEMAP CSS ******/
.left_box {
  background: #fcc;
  margin-bottom: 10px;
}
.center_box {
  background: #fea;
}
.center_box {
  background: #fcc;
}
.main,
.side {
  padding: 2%;
  border-radius: 10px
}
 
/* Responsive */
.row {
  display: flex;
  margin-left: -20px;
}
.col {
  width: 100%;
  margin-left: 20px;
}
.map_title {
  background-color: #FFC778;
}

@media screen and (max-width: 540px) {
  .row { flex-wrap: wrap; }
}