/*
Theme Name: my_theme
Theme URI: https://wordpress.org/themes/twentysixteen/
Author: the WordPress team
Author URI: https://wordpress.org/
Description: Twenty Sixteen is a modernized take on an ever-popular WordPress layout ? the horizontal masthead with an optional right sidebar that works perfectly for blogs and websites. It has custom color options with beautiful default color schemes, a harmonious fluid grid using a mobile-first approach, and impeccable polish in every detail. Twenty Sixteen will make your WordPress look beautiful everywhere.
Version: 1.2
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: black, blue, gray, red, white, yellow, dark, light, one-column, two-columns, right-sidebar, fixed-layout, responsive-layout, accessibility-ready, custom-background, custom-colors, custom-header, custom-menu, editor-style, featured-images, flexible-header, microformats, post-formats, rtl-language-support, sticky-post, threaded-comments, translation-ready
Text Domain: twentysixteen

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


/**
 * Table of Contents
 *
 * 1.0 - Normalize
 * 2.0 - Genericons
 * 3.0 - Typography
 * 4.0 - Elements
 * 5.0 - Forms
 * 6.0 - Navigation
 *   6.1 - Links
 *   6.2 - Menus
 * 7.0 - Accessibility
 * 8.0 - Alignments
 * 9.0 - Clearings
 * 10.0 - Widgets
 * 11.0 - Content
 *    11.1 - Header
 *    11.2 - Posts and pages
 *    11.3 - Post Formats
 *    11.4 - Comments
 *    11.5 - Sidebar
 *    11.6 - Footer
 * 12.0 - Media
 *    12.1 - Captions
 *    12.2 - Galleries
 * 13.0 - Multisite
 * 14.0 - Media Queries
 *    14.1 - >= 710px
 *    14.2 - >= 783px
 *    14.3 - >= 910px
 *    14.4 - >= 985px
 *    14.5 - >= 1200px
 * 15.0 - Print
 */


/**
 * 1.0 - Normalize
 *
 * Normalizing styles have been helped along thanks to the fine work of
 * Nicolas Gallagher and Jonathan Neal http://necolas.github.com/normalize.css/
 */

@import url("wp-page-numbers.css");

.p-works-single h1{
    font-size: 1.9rem;
    color: #FFFFFF;
    background: #e94609;
    margin-bottom: 30px;
    padding: 10px 20px;
    border-radius: 5px;
}

.p-works-single h2:not(.p-voice-single__title){
    font-size: 1.7rem;
    border-bottom: 4px solid #e94609;
    margin-bottom: 30px;
    padding-bottom: 5px;
}

.p-works-single h3{
    font-size: 1.5rem;
    border-left: 4px solid #e94609;
    margin-bottom: 30px;
    padding-left: 10px;
}

.p-works-single h4{
    font-size: 1.5rem;
    margin-bottom: 30px;
}

.p-works-single p{
    font-size: 1rem;
   /* line-height: 0.4;*/
    margin-bottom: 30px;
}

/* 目次 */
#toc_container {
    padding: 40px;
    margin: 30px 0;
    border: 1px solid #a6a6a6;
    width: 100%;
}

#toc_container p.toc_title {
    font-size: 1.6em;
    margin-bottom: 20px;
    text-align: center;
    font-weight: 600;
    font-family: 'Roboto', sans-serif;
    letter-spacing: .2em;
    color: #29c7c7;
}

#toc_container li,
#toc_container ul {
    font-size: 1em;
    line-height: 2.5em;
    list-style: none;
}

#toc_container a {
    position: relative;
    display: inline-block;
    transition: .3s;
    color: #333;
    border: none;
}

#toc_container a:hover {
    transition: all 0.3s;
    opacity: 0.5;
    text-decoration: none !important;
}

.toc_number {
    color: #29c7c7;
    font-weight: 500;
    margin-right: 8px;
}

/* リスト */
.p-works-single ul,
.p-works-single ol {
    margin: 0 0 1.5em;
    line-height: 2.5em;
    padding: 0;
    font-size: 1.1em;
}

.p-works-single ul {
    list-style: inside;
}

.p-works-single ol {
    list-style: decimal;
}

.p-works-single li > ul,
.p-works-single li > ol {
    margin-bottom: 0;
    margin-left: 1.5em;
}

.size-full{
	width: 100%;
	text-align: center;
	margin-bottom: 20px;
}
.size-full img{
	width: 100%;
}
.p-works-single p{
	line-height: 1.8;
}

/* ページ送り部分 */
.page-navigation {
    margin: 110px auto 0;
    max-width: 730px;
    width: 100%;
}
.page-navigation::after {
    clear: both;
    content: "";
    display: block;
    height: 0;
    width: 0;
}
.page-navigation ul {
    display: flex;
    justify-content: center;
    font-weight: 500;
    text-align: center;
}
@media (max-width: 830px) {
    .page-navigation ul {
        display: block;
    }
    .page-navigation ul .button {
        margin: 0;
    }
    .page-navigation ul .button a {
        margin-bottom: 15px;
        display: inherit;
        font-size: 1.1em;
        padding: 10px 40px;
    }
}
.page-navigation .button {
    display: block;
    margin: 0 20px;
}
.page-navigation .button a {
    background-color: #ff7f00;
    padding: 15px 30px;
    color: #fff;
    border-radius: 30px;
    transition: all 0.3s;
    letter-spacing: .1em;
}
.page-navigation .button a:hover {
    filter: brightness(1.2);
}
.page-navigation .button a:hover {
    opacity: 0.8;
}
.page-navigation .button.null {
    background: inherit;
}
.wp-pagenavi {
    font-size: 1.5em;
    text-align: center;
    margin-top: 3em;
    width: 100%;
}
.page {
    margin: 0 15px;
}
.current {
    border-bottom: 2px solid #29c7c7;
    padding-bottom: 5px;
    margin: 0 15px;
}
.larger,.smaller {
    color: #a6a6a6;
}
