@charset "utf-8";

/* Foundation
   ========================================================================== */

/* Resetは「normalize.css」で対応 */

a {
  text-decoration: none;
}

ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

/* Layout
   ========================================================================== */

#site-header {
  text-align: center;
}

#contents {
  margin: 0 auto;
}

#main-contents {
  margin: 0 auto;
  width: 95%;
}

#footer {
  text-align: center;
  border-top: 1px solid #999;
  font-size: 75%; /* 12px(0.75=12/16) */
}

/* Object
   ========================================================================== */

/* Object > Component
   -------------------------------------------------------------------------- */
/*
再利用できるパターンとして、小さな単位のモジュールを定義します。
出来る限り、最低限の機能を持ったものとして定義されるべきであり、それ自体が固有の幅や色などの特色を持つことは避けるのが望ましいです。
*/

/* Object > Project
   -------------------------------------------------------------------------- */

.p-site-logo {
  margin-top: -9px;
}

/* -------------------------------------------------------------------------- */
/* ↓↓↓ パンくずリスト ↓↓↓ */

/* パンくずリスト <ol> */
.p-breadcrumbs {
  list-style: none;
  margin-top: -12px;
  margin-left: -40px;
  font-size: 75%; /* 12px(0.75=12/16) */
  color: #666;
  text-align: left;
}

/* パンくずリスト <li> */
.p-breadcrumbs__item--first,
.p-breadcrumbs__item {
  display: inline;
}

/* パンくずリストのテキストの前に区切り文字（" > "）を挿入 */
.p-breadcrumbs__item:before {
  content: " > ";
}

.p-breadcrumbs__item--first >a,
.p-breadcrumbs__item > a {
  color: #666;
  border-bottom: 1px dashed #666;
}

.p-breadcrumbs__item--first > a:hover,
.p-breadcrumbs__item--first > a:focus,
.p-breadcrumbs__item >a:hover,
.p-breadcrumbs__item >a:focus {
  color: #f66;
  border-color: #f66;
}

/* ↑↑↑ パンくずリスト ↑↑↑ */
/* -------------------------------------------------------------------------- */

/* ↓↓↓ p-gotop ↓↓↓ */
/* 参照元（https://www.will-hp.com/wpblog/web/149/）                             */

.p-gotop {
    display: none;
    position: fixed;
    bottom: 30px;
    right: 15px;
}

.p-gotop a {
    display: block;
    background-color: #ffc0cb;
    text-align: center;
    color: #fff;
    font-size: 30px;
    text-decoration: none;
    padding: 5px 10px;
    filter:alpha(opacity=50);
    -moz-opacity: 0.5;
    opacity: 0.5;
}

.p-gotop a:hover {
    display: block;
    background-color: #ffc0cb;
    text-align: center;
    color: #c06;
    font-size: 30px;
    text-decoration: none;
    padding:5px 10px;
    filter:alpha(opacity=50);
    -moz-opacity: 0.5;
    opacity: 0.5;
}

/* ↑↑↑ p-gotop ↑↑↑ */
/* -------------------------------------------------------------------------- */

.p-check-button {
  text-align: center;
  margin-top: 20px;
}

.p-check-button__self,
.p-check-button__others {
  margin-bottom: 20px;
}

.p-check-list {
  text-align: center;
}

/* -------------------------------------------------------------------------- */

.p-page-title {
  margin-top: 20px;
  margin-bottom: 10px;
  font-size: 112.5%; /* 18px(1.125=18/16) */
  text-align: center;
}

/* -------------------------------------------------------------------------- */

.p-commentary__title {
  border-bottom: 1px dashed #f66;
  font-size: 112.5%; /* 18px(1.125=18/16) */
  background-color: #fff0f5;
}

.p-commentary__subtitle_icon {
  float: left;
  margin-right: 10px;
}

.p-commentary__subtitle {
  /*float: left;*/
  height: 45px;
  margin-top: 50px;
  line-height: 20px;
  font-size: 106.25%; /* 17px(1.0625=17/16) */
}

.p-commentary__speech {
  margin: 30px 7% 30px 7%;
}
.p-commentary__speech > p {
  margin-bottom: 8px;
  font-size: 93.7%; /* 15px(0.937=15/16) */
}

.p-commentary__speech_icon {
  float: left;
  margin-top: 20px;
}

/* index.html
   -------------------------------------------------- */

.p-page-header {
  margin-bottom: 20px;
  text-align: center;
}

.p-top-massage {
  margin-top: -10px;
  margin-bottom: 3px;
}

.p-top-text {
  margin: 30px 5% 30px 5%;
}

/* list.html
   -------------------------------------------------- */

.p-list,
.p-combination {
  margin-bottom: 10px;
  text-align: center;
}

.p-list__title {
  border-bottom: 1px dashed #f66;
  font-size: 112.5%; /* 18px(1.125=18/16) */
  background-color: #fff0f5;
}

.p-list__item {
  display: inline-block;
  width: 170px;
  margin-bottom: 10px;
  margin-left: 2px;
  margin-right: 2px;
}

.p-combination > p {
  margin-top: 20px;
  margin-bottom: 30px;
}

.p-combination__item {
  display: inline-block;
  margin-bottom: 15px;
}


/* check_self.html, check_others.html
   -------------------------------------------------- */

.p-question-self,
.p-question-others {
  margin: 20px 5% 10px 5%;
  padding-bottom: 1px;
}

.p-question-self {
  background-color: #ffe4e1;
}

.p-question-others {
  background-color: #ffefd5;
}

.p-question-self__title,
.p-question-others__title {
  text-align: center;
  margin-bottom: 15px;
  line-height: 28px;
  font-size: 150%; /* 24px(1.5=24/16) */
  color: #fff;
}

.p-question-self__text,
.p-question-others__text {
  margin-left: 15px;
  margin-right: 10px;
  margin-bottom: 0;
  font-size: 112.5%; /* 18px(1.125=18/16) */
}

.p-question-self__radio,
.p-question-others__radio {
  width: 285px;
  margin: 0 auto 25px auto;
}

.p-question-self__radio__item,
.p-question-others__radio__item {
  display: none;
}

/* 参照元（http://proengineer.internous.co.jp/content/columnfeature/6492#11） */
.p-question-self__radio__label,
.p-question-others__radio__label {
  float: left; /* 要素の左寄せ・回り込を指定する */
  display: block; /* ブロックレベル要素化する */
  margin: 10px; /* ボックス外側の余白を指定する */
  width: 120px; /* ボックスの横幅を指定する */
  height: 45px;
  line-height: 46px; /* 行の高さを指定する */
  cursor: pointer; /* マウスカーソルの形（リンクカーソル）を指定する */
  border: 1px solid #fff; /* ボックスの境界線を実線で指定する */
  border-radius: 5px; /* 角丸を指定する */
  background-color: #dcdcdc;
  text-align: center; /* テキストのセンタリングを指定する */
  font-size: 150%; /* 24px(1.5=24/16) */
  font-weight: bold;
  color: #fff; /* フォントの色を指定 */
}

.p-question-self__radio input[type="radio"]:checked + span {
  border: 1px solid #fff;  /* ボックスの境界線を実線で指定する */
  background-color: #c33;
  color: #fff;  /* フォントの色を指定 */
}

.p-question-others__radio input[type="radio"]:checked + span {
  border: 1px solid #fff;  /* ボックスの境界線を実線で指定する */
  background-color: #ffa500;
  color: #fff;  /* フォントの色を指定 */
}

.p-question-self__button {
  width: 200px;
  height: 50px;
  border: 0;
  /*outline: none;*/ /* クリック時の枠線を非表示にできるが、css-lintで警告が出る */
  background: url(../img/btn_result_self.png);
  background-size: 200px 50px;
}

.p-question-others__button {
  width: 200px;
  height: 50px;
  border: 0;
  /*outline: none;*/ /* クリック時の枠線を非表示にできるが、css-lintで警告が出る */
  background: url(../img/btn_result_others.png);
  background-size: 200px 50px;
}

/* check_accuracy.html
   -------------------------------------------------- */

.p-question-accuracy {
  margin: 20px 5% 10px 5%;
  padding-bottom: 1px;
  background-color: #ccc;
}

.p-question-accuracy__title {
  text-align: center;
  margin-bottom: 15px;
  line-height: 28px;
  font-size: 150%; /* 24px(1.5=24/16) */
  color: #fff;
}

.p-question-accuracy__text {
  margin-left: 15px;
  margin-right: 10px;
  margin-bottom: 30px;
}

.p-question-accuracy__button {
  width: 200px;
  height: 50px;
  border: 0;
  /*outline: none;*/ /* クリック時の枠線を非表示にできるが、css-lintで警告が出る */
  background: url(../img/btn_result_accuracy.png);
  background-size: 200px 50px;
}

.p-question-accuracy__checkbox__item {
  display: none;
}

/* 参照元（https://qiita.com/ryo620/items/a7941774469a6229a64a） */
.p-question-accuracy__checkbox__label {
  position: relative;
  display: inline-block;
  margin-bottom: 15px;
  margin-right: 8px;
  padding-left: 45px;
  cursor: pointer;
  font-size: 112.5%; /* 18px(1.125=18/16) */

}

.p-question-accuracy__checkbox__label:after {
  position: absolute;
  top: 50%;
  left: 15px;
  display: block;
  margin-top: -10px;
  width: 18px;
  height: 18px;
  border: 2px solid #bbb;
  border-radius: 5px;
  content: '';
  /*-webkit-transition: border-color 0.2s linear;*/
  transition: border-color 0.3s linear;
}

.p-question-accuracy__checkbox__label:before {
  position: absolute;
  top: 50%;
  left: 21px;
  display: block;
  margin-top: -10px;
  width: 7px;
  height: 12px;
  border-right: 3px solid #c33;
  border-bottom: 3px solid #c33;
  content: '';
  opacity: 0;
  /*-webkit-transition: opacity 0.2s linear;*/
  transition: opacity 0.2s linear;
  /*-webkit-transform: rotate(45deg);*/
  /*-ms-transform: rotate(45deg);*/
  transform: rotate(45deg);
}

input[type=checkbox]:checked + .p-question-accuracy__checkbox__label:before {
  opacity: 1;
}

/* Object > Utility
   -------------------------------------------------------------------------- */

.u-clearfix:before,
.u-clearfix:after {
  content: "";
  display: table;
}

.u-clearfix:after {
  clear: both;
}

.u-fontcolor-fff {
  color: #fff;
}

.u-link-text {
  color: #00f;
  border-bottom: 1px dashed #00f;
}

.u-link-text:hover, .u-link-text:focus {
  color: #f66;
  border-color: #f66;
}

.u-bold {
  font-weight: bold;
}

.u-red-text {
  color: #f00;
}

.u-align-center {
  text-align: center;
}

.u-align-right {
  text-align: right;
}

.u-mt45 {
  margin-top: 45px;
}

.u-mb0 {
  margin-bottom: 0;
}

.u-mb5 {
  margin-bottom: 5px;
}

.u-mb10 {
  margin-bottom: 10px;
}

.u-mb20 {
  margin-bottom: 20px;
}

.u-mb30 {
  margin-bottom: 30px;
}

.u-mr10 {
  margin-right: 10px;
}

.u-pt10 {
  padding-top: 10px;
}

.u-pt20 {
  padding-top: 20px;
}

.u-pt30 {
  padding-top: 30px;
}

.u-pb10 {
  padding-bottom: 10px;
}

.u-pb20 {
  padding-bottom: 20px;
}

.u-pb30 {
  padding-bottom: 30px;
}

.u-indent30 {
  margin-left: 30px;
}

.u-underline {
  border-bottom: 1px solid #999;
}

.u-underline--dashed {
  border-bottom: 1px dashed #999;
}


/* ==========================================================================
   480px～ （想定デバイス：スマートフォン）
   ========================================================================== */
@media screen and (min-width: 480px) {

/* Layout
   ========================================================================== */

/* Object
   ========================================================================== */

/* Object > Project
   -------------------------------------------------------------------------- */

/* list.html
   -------------------------------------------------- */

.p-list > p {
  margin: auto;
  width: 460px;
}

.p-list__item {
  margin-bottom: 20px;
  margin-left: 15px;
  margin-right: 15px;
}

.p-combination__item {
  margin-left: 15px;
  margin-right: 15px;
}

}


/* ==========================================================================
   600px～ （想定デバイス：タブレット（スマートフォン以外））
   ========================================================================== */
@media screen and (min-width: 600px) {

/* Layout
   ========================================================================== */


/* Object
   ========================================================================== */

/* Object > Project
   -------------------------------------------------------------------------- */

/* list.html
   -------------------------------------------------- */

.p-combination > p {
  float: left;
  width: 250px;
  margin: 0 0 25px 5%;
}

}

/* ==========================================================================
   769px～ （想定デバイス：タブレット）
   主要タブレット端末のディスプレイサイズが768pxであり、それらの端末までは１カラム表示としたいので、
   ブレイクポイントを(min-width: 769px)とする。
   ========================================================================== */
@media screen and (min-width: 769px) {

/* Foundation
   ========================================================================== */

html {
 /* font-size: 87.5%; *//* 14px(0.875=14/16) */
}

/* Layout
   ========================================================================== */

#contents {
  /*padding: 0 10% 0 10%;*/
}

#main-contents,
#main-contents--index {
  float: left;
  width: 73.958%; /* (=710px/960px) */
  margin-left:  2.083%; /* (=20px/960px) */
  margin-right: 2.083%; /* (=20px/960px) */
}

#sub-contents {
  float: left;
  width: 20.833%; /* (=200px/960px) */
  margin-right: 1.041%; /* (=10px/960px) */
}

/* Object
   ========================================================================== */

/* Object > Project
   -------------------------------------------------------------------------- */

}

/* ==========================================================================
   960px～ （想定デバイス：PC、タブレット（ランドスケープや大画面の機種））
   ========================================================================== */
@media screen and (min-width: 960px) {

/* Foundation
   ========================================================================== */

/* Layout
   ========================================================================== */

#site-header,
/*#contents,*/
#footer {
  margin-left: auto;
  margin-right: auto;
  width: 960px; /* 960px～は、width=960pxで固定 */
}

/* Object
   ========================================================================== */

/* Object > Project
   -------------------------------------------------------------------------- */

}

/* ==========================================================================
   1024px～ （想定デバイス：大画面PC）
   ========================================================================== */






/*
    1.位置情報系(position, top, right, z-index, display, float等)
    2.サイズ(width, height, padding, margin)
    3.文字系(font, line-height, letter-spacing, color- text-align等)
    4.背景(background, border等)
    5.その他(animation, transition等)
*/
