/*
Theme Name: Lightning TENTOによる子テーマ
Theme URI: https://www.tento-net.com/
Template: lightning
Description:  Lightning TENTOによる子テーマ
Author: TENTO qramo
*/

.page-header { display: none; } 

/* .breadcrumb { display: none; }  */
.entry-meta-item-author { display: none; }

nav.footer-nav li {
    font-size: 1.3em;
    margin: 0.7em 0;
}
@media (min-width: 992px) {
    div.site-header-logo{
	      padding: 0.3em;
        margin: 0px;
    }
    .site-header-logo span{
	      display: block;
        width: 150px;
    }
    .site-header-logo img{
        width: 150px;
   }
}


.cat-item-135,
.cat-item-160,
.cat-item-140,
.cat-item-137,
.cat-item-224,
.cat-item-139,
.cat-item-142,
.cat-item-141,
.cat-item-138
{
	display:none;
}

/* Author box*/
#padSection {
    clear: both;
    margin: 2em 0;
    display: block;
    overflow: hidden;
    padding: 25px;
    border: 3px solid var(--wp--preset--color--border-normal, #e5e5e5);
    font-size: 14px
}

#padSection a {
    text-decoration: none;
    border-bottom: none
}

#padSection h2,#padSection h3,#padSection h4,#padSection h5,#padSection dl,#padSection dl dt,#padSection dl dd {
    margin: 0px;
    padding: 0px;
    background: none;
    border: none;
    color: inherit;
    outline: unset;
    outline-offset: unset;
    box-shadow: unset;
    border-radius: unset;
    color: inherit
}

#padSection h2::before,#padSection h2::after,#padSection h3::before,#padSection h3::after,#padSection h4::before,#padSection h4::after,#padSection h5::before,#padSection h5::after,#padSection dl::before,#padSection dl::after,#padSection dl dt::before,#padSection dl dt::after,#padSection dl dd::before,#padSection dl dd::after {
    content: none
}

#padSection dl dt .authorName {
    font-size: 18px
}

#padSection dl dt .pad_caption {
    padding-left: 10px;
    font-size: 12px;
    font-weight: lighter
}

#padSection::before {
    display: block;
    overflow: hidden;
    width: 100%
}

#padSection .padSectionTitle {
    display: block;
    font-weight: bold;
    margin-bottom: 20px;
    padding-bottom: 4px;
    border-bottom: 1px dotted var(--wp--preset--color--border-normal, #e5e5e5);
    font-size: 18px
}

#padSection .avatar {
    float: left
}

#padSection .avatar.circle img {
    border-radius: 50%
}

#padSection .avatar img {
    border: 1px solid #ccc;
    margin-bottom: 15px;
    width: 100px;
    height: auto
}

#padSection .profileTxtSet {
    margin-left: 130px;
    display: block;
    overflow: hidden
}

#padSection .profileTxtSet dt {
    margin-bottom: 5px
}

ul.sns_icons {
    list-style: none;
    margin: 10px 0;
    padding: 0
}

ul.sns_icons li {
    display: inline;
    font-size: 28px;
    margin-right: 10px
}

ul.sns_icons li a.web {
    color: #1780bb
}

ul.sns_icons li a.twitter {
    color: #0f1419
}

ul.sns_icons li a.facebook {
    color: #3b5998
}

ul.sns_icons li a.instagram {
    color: #262626
}

ul.sns_icons li a.youtube {
    color: #cc181e
}

ul.sns_icons li a.linkedin {
    color: #0077b5
}

ul.sns_icons li a.google-plus {
    color: #db4437
}

ul.sns_icons li a.wordpress {
    color: #585c60
}

ul.sns_icons li a.amazon {
    color: #232f3e
}

#latestEntries {
    margin-top: 15px;
    clear: both;
    position: relative
}

#latestEntries .latestEntriesTitle {
    font-weight: bold;
    display: block;
    margin-top: 0;
    margin-bottom: 10px;
    padding-bottom: 5px;
    border-bottom: 1px dotted var(--wp--preset--color--border-normal, #ccc);
    color: var(--wp--preset--color--text-normal, #333);
    font-size: 16px
}

#latestEntries .authorLink {
    text-align: right;
    margin: 0;
    position: absolute;
    top: -1px;
    right: 0;
    font-size: 14px
}

#latestEntries .authorLink a {
    color: var(--wp--preset--color--text-normal, #333)
}

#latestEntries ul,#latestEntries ul li {
    list-style: none;
    margin: 0;
    padding: 0;
    position: relative;
    background: none
}

#latestEntries li a {
    position: relative
}

#latestEntries li .padDate {
    color: var(--wp--preset--color--text-secondary, #666);
    line-height: 14px
}

#latestEntries li a.padCate {
    font-size: 10px;
    background-color: #e5e5e5;
    color: #fff;
    padding: 2px 5px 1px;
    line-height: 11px;
    text-decoration: none
}

#latestEntries li a.padTitle {
    color: inherit
}

#latestEntries li.textList {
    margin-bottom: 3px;
    border-bottom: 1px dotted #ccc;
    padding: 3px 0
}

#latestEntries li.textList .padDate {
    margin-right: 5px;
    vertical-align: text-bottom
}

#latestEntries li.textList a.padCate {
    border-radius: 2px;
    position: relative;
    vertical-align: middle
}

#latestEntries li.textList a.padTitle {
    display: block;
    overflow: hidden;
    clear: both
}

#latestEntries li.textList a.padTitle::before {
    display: inline-block;
    font: normal normal normal 14px/1 FontAwesome;
    font-size: inherit;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    content: "";
    margin-right: 6px
}

.fa_v5_css #latestEntries li.textList a.padTitle::before {
    font-family: "Font Awesome 5 Free";
    font-weight: 900
}

#latestEntries li.thumbnailBox {
    display: block;
    overflow: hidden;
    width: 23.5%;
    margin-right: 2%;
    float: left
}

#latestEntries li.thumbnailBox:last-child {
    margin-right: 0
}

#latestEntries li.thumbnailBox .inner-box {
    display: block;
    position: relative;
    border: 1px solid var(--wp--preset--color--border-normal, rgba(0, 0, 0, 0.1));
    margin-bottom: 4px
}

#latestEntries li.thumbnailBox .postImage>a img {
    width: 100%;
    height: 100%;
    display: block;
    aspect-ratio: 16/9;
    object-fit: cover
}

#latestEntries li.thumbnailBox .postImage a.padCate {
    display: block;
    position: absolute;
    bottom: 0;
    right: 0
}

#latestEntries li.thumbnailBox .padDate {
    display: block;
    font-size: 10px
}

#latestEntries li.thumbnailBox a.padTitle {
    display: block;
    clear: both;
    font-size: 12px;
    line-height: 18px
}

@media(max-width: 600px) {
    #padSection {
        padding:15px 10px 10px
    }

    #padSection .avatar img {
        width: 80px;
        height: auto
    }

    #padSection .profileTxtSet {
        margin-left: 95px
    }

    #padSection dl dt span {
        display: block;
        overflow: hidden
    }

    #padSection dl dt .authorName {
        padding-bottom: 5px
    }

    #padSection dl dt .pad_caption {
        padding-left: 0
    }

    #padSection dl dd {
        clear: both;
        width: 100%
    }

    #padSection #latestEntries h5 {
        margin-bottom: 5px
    }

    #padSection #latestEntries ul li {
        border-bottom: 1px dotted #ccc;
        padding: 6px 0
    }

    #padSection #latestEntries ul li.thumbnailBox {
        display: block;
        overflow: hidden;
        width: 100%;
        margin: 0%;
        float: none
    }

    #padSection #latestEntries ul li.thumbnailBox .inner-box {
        display: block;
        overflow: hidden;
        float: left;
        width: 120px;
        margin-right: 10px;
        margin-bottom: 0
    }

    #padSection #latestEntries ul li.thumbnailBox a.padTitle {
        clear: none
    }

    #padSection #latestEntries ul li.thumbnailBox a.padCate {
        display: inline-block;
        padding: 1px 5px
    }
}

body.archive.author #padSection {
    margin: 0 0 30px
}

/* author style by claude */

        .author-section {
            max-width: 800px;
            margin: 0 auto;
            background: white;
            border-radius: 12px;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
            padding: 32px;
            border-top: 4px solid #4A90E2;
        }

        .author-header {
            display: flex;
            align-items: center;
            gap: 24px;
            margin-bottom: 24px;
            flex-wrap: wrap;
        }

        .author-image {
            width: 100px;
            height: 100px;
            border-radius: 50%;
            object-fit: cover;
            border: 3px solid #4A90E2;
            flex-shrink: 0;
        }

        .author-info {
            flex: 1;
            min-width: 200px;
        }

        .author-name {
            font-size: 24px;
            font-weight: bold;
            color: #2c3e50;
            margin-bottom: 8px;
        }

        .author-description {
            font-size: 16px;
            color: #555;
            line-height: 1.6;
            margin-bottom: 20px;
        }

        .author-contact {
            display: flex;
            flex-direction: column;
            gap: 12px;
            margin-bottom: 20px;
        }

        .contact-item {
            display: flex;
            align-items: center;
            gap: 8px;
            font-size: 14px;
            color: #666;
        }

        .contact-item svg {
            width: 18px;
            height: 18px;
            flex-shrink: 0;
        }

        .contact-item a {
            color: #4A90E2;
            text-decoration: none;
            transition: color 0.2s;
        }

        .contact-item a:hover {
            color: #357ABD;
            text-decoration: underline;
        }

        .author-social {
            display: flex;
            gap: 16px;
            padding-top: 20px;
            border-top: 1px solid #e0e0e0;
        }

        .social-link {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            padding: 8px 16px;
            background: #f8f9fa;
            border-radius: 6px;
            text-decoration: none;
            color: #333;
            font-size: 14px;
            font-weight: 500;
            transition: all 0.2s;
        }

        .social-link:hover {
            background: #e9ecef;
            transform: translateY(-2px);
        }

        .social-link svg {
            width: 20px;
            height: 20px;
        }

        .social-link.twitter {
            background: #e8f5ff;
        }

        .social-link.twitter:hover {
            background: #d0ebff;
        }

        .social-link.youtube {
            background: #ffe8e8;
        }

        .social-link.youtube:hover {
            background: #ffd0d0;
        }

        @media (max-width: 600px) {
            .author-section {
                padding: 24px 20px;
            }

            .author-header {
                flex-direction: column;
                text-align: center;
            }

            .author-info {
                width: 100%;
            }

            .author-social {
                flex-direction: column;
            }

            .social-link {
                justify-content: center;
            }
        }
