/*
Theme Name: avancer
Author: WEB先案内
Author URI: https://web-navigator.com/
Description: avancer-tech 用カスタムテーマ。Customizer からセクション文言・配色・アイコン画像を編集できます。
Version: 1.1.0
Requires at least: 6.0
Tested up to: 6.9
Requires PHP: 7.4
Text Domain: avancer
*/

:root {
    --page-width: 1100px;
    --content-width: 860px;
    --text-color: #222;
    --muted-color: #666;
    --border-color: #e5e5e5;
    --bg-color: #fff;
}

body {
    color: var(--text-color);
    background: var(--bg-color);
}

img {
    max-width: 100%;
    height: auto;
}

.page-shell {
    width: min(calc(100% - 40px), var(--content-width));
    margin: 0 auto;
}

.entry-header {
    padding: 120px 0 30px;
}

.entry-title {
    margin: 0;
    line-height: 1.2;
}

.entry-content {
    padding: 0 0 80px;
    line-height: 1.9;
}

.entry-content > *:first-child {
    margin-top: 0;
}

.entry-content a {
    word-break: break-word;
}

.site-footer-simple {
    border-top: 1px solid var(--border-color);
    padding: 24px 20px;
    text-align: center;
    color: var(--muted-color);
    font-size: 14px;
}

.screen-reader-text {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}


.hero-copy {
    position: absolute;
    z-index: 2;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -58%);
    width: min(90vw, 920px);
    text-align: center;
    pointer-events: none;
}

#mainVisualTitle {
    margin: 0 0 12px;
    font-family: "Teko", sans-serif;
    font-size: clamp(40px, 9vw, 120px);
    line-height: .95;
    letter-spacing: .08em;
}

.hero-subtitle {
    margin: 0 auto;
    max-width: 680px;
    line-height: 1.8;
    font-size: clamp(14px, 2vw, 18px);
}

.contact-lead {
    margin: 0 auto 18px;
    max-width: 680px;
    text-align: center;
    line-height: 1.9;
}

@media screen and (max-width: 768px) {
    .hero-copy {
        width: calc(100% - 40px);
        transform: translate(-50%, -54%);
    }
}

.service-img img {
    width: auto;
    max-width: 100%;
    height: 80px;
    object-fit: contain;
    display: block;
    margin: 0 auto;
}


.service-img {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 96px;
}

.service-img img {
    width: 100%;
    max-width: 120px;
    height: 80px;
    object-fit: contain;
    display: block;
    margin: 0 auto;
}


.service-img .service-icon-image {
    display: block;
    width: min(160px, 100%);
    height: min(160px, 100%);
    margin: 0 auto;
    object-fit: contain;
}
