@charset "utf-8";

/* =============================
   Reset
============================= */
* {
    margin: 0;
    padding: 0;
}

a {
    text-decoration: underline;
}

/* =============================
   Fluid Image
============================= */
img {
    max-width: 98%;
}

/* =============================
   Base HTML Style
============================= */
html {
    font-family: "ヒラギノ角ゴ Pro W5", "Hiragino Kaku Gothic Pro", "メイリオ", "Meiryo", "Osaka", "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
    font-weight: normal;
    font-size: 1.1em;
    line-height: 1.6em;
    background-color: lemonchiffon;
}

/* =============================
   Headings
============================= */
h1 {
    font: bolder 1.6em sans-serif;
    line-height: 1.5em;
    letter-spacing: 0.02em;
    color: orangered;
    margin: 40px 0;
    text-align: center;
    /* センタリング追加 */
}

h2 {
    font: bolder 1.4em sans-serif;
    line-height: 1.4em;
    letter-spacing: 0.02em;
    color: orangered;
    margin: 30px 0 10px;
}

h3 {
    vertical-align: baseline;
    color: white;
    font: bold 1.5em sans-serif;
    line-height: 1.5em;
    text-align: center;
    border-radius: 20px;
    padding: 15px 0;
    margin: 20px 0;
    background: sienna;
}

h4 {
    color: #222;
    background-color: #f0e68c;
    display: block;
    border-radius: 20px;
    padding: 25px 20px;
    margin: 10px 0;
    font: normal 1.15em sans-serif;
    line-height: 1.5em;
}

/* =============================
   Header
============================= */
header {
    text-align: center;
    padding-top: 24px;
}

/* =============================
   Global Navigation
============================= */
.global_menu {
    width: 100%;
    position: relative;
    color: #222;
    background-color: orange;
    text-align: center;
    box-shadow: 0px 8px 8px #C87E14;
}

.global_menu li {
    display: inline-block;
}

.global_menu a {
    display: block;
    padding: 20px 10px;
    font: 400 1.1em sans-serif;
}

.menu:hover > a {
    background: gold;
}

.child_menu > li > a {
    font-size: 1.0em;
    padding: 8px;
}

.child_menu > li > a:hover {
    background: gold;
}

.child_menu {
    width: 100%;
    position: absolute;
    top: 100%;
    left: 0;
    padding: 8px;
    color: #222;
    background-color: gold;
    visibility: hidden;
}

.global_menu .child_menu li {
    display: list-item;
}

.menu:hover .child_menu {
    visibility: visible;
}

.child_menu a:hover {
    color: red;
}

/*===================================
グローバルナビ用の丸三角
===================================*/

.arrow {
    position: relative;
    padding: 0 0 0 16px;
}

.arrow::before {
    content: "";
    width: 0;
    height: 0;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    margin: auto;
    box-sizing: border-box;
    border: 5px solid transparent;
    border-left: 8px solid #555;
    /* 好みで色を変えてください */
    z-index: 2;
}

.arrow::after {
    position: absolute;
    top: 0;
    bottom: 0;
    left: -6px;
    margin: auto;
    content: "";
    width: 16px;
    height: 16px;
    border: 1px solid #555;
    /* 好みで色を変えてください */
    border-radius: 9px;
    background: #FFF;
    z-index: 1;
}

/* =============================
   Article Body
============================= */
article {
    width: 94%;
    margin: 0 auto;
    text-align: center;
}

article p {
    margin: 10px 6px 17px;
    font-size: 1.1em;
    line-height: 1.6em;
    text-align: left;
}

ul {
    list-style-position: inside;
    padding-left: 0;
    margin-left: 0;
}

ul li {
    text-align: left;
    list-style: none;
    font-weight: bold;
    margin: 0.2em 0.1em;
}

p a {
    color: blue;
}

/* =============================
   Footer
============================= */
footer {
    font-size: 1.2em;
    color: black;
    text-align: center;
    line-height: 1.6em;
    margin: 0 auto;
    padding: 30px 5px;
}

/* =============================
   Inquiry Table
============================= */
table {
    width: 100%;
    border-collapse: collapse;
}

td,
th {
    border: 1px solid #6b3f31;
    padding: 1px;
}


/* =============================
   Typography Helpers
============================= */
.text-akamoji {
    color: firebrick;
    font-size: 1.5em;
    font-weight: bolder;
}

.text-kuromoji {
    font-size: 1.2em;
    font-weight: bolder;
}

figcaption {
    display: block;
    clear: both;
    margin: 0 auto 15px;
    font-size: 0.9rem;
    color: darkblue;
    line-height: 1.3rem;
}

/* =============================
   Footer Enhanced
============================= */
.site-footer {
    background-color: #fafafa;
    border-top: 2px solid #eee;
    padding: 40px 0;
    text-align: center;
    margin-top: 60px;
}

.footer-inner {
    width: 90%;
    max-width: 800px;
    margin: 0 auto;
}

.footer-title {
    font-size: 1.2rem;
    font-weight: bold;
    color: #333;
    margin-bottom: 0.5em;
}

.footer-text {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.8;
    margin-bottom: 1.5em;
}

address {
    font-style: normal;
}

/* お問い合わせボタン */
.footer-button {
    display: inline-block;
    background-color: darkorange;
    color: #fff;
    padding: 15px 30px;
    border-radius: 30px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    margin: 15px auto;
    box-shadow: 0 3px 6px rgba(255, 179, 71, 0.4);
}

.footer-button:hover {
    background-color: #ffa500;
    transform: translateY(-2px);
}

/* =============================
   SNS Buttons (with Icons)
============================= */
.site-footer .footer-links {
    margin-top: 25px;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
}

.site-footer .footer-links .sns-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 30px;
    border-radius: 35px;
    font-size: 1.05rem;
    font-weight: 600;
    text-decoration: none;
    color: #fff;
    box-sizing: border-box;
    min-width: 230px;
    line-height: 1.4;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15);
    transition: transform 0.25s ease, opacity 0.25s ease;
}

.site-footer .footer-links .sns-btn i {
    font-size: 1.4em;
    line-height: 1;
}

.site-footer .footer-links .sns-btn.instagram {
    background: linear-gradient(45deg, #f58529, #dd2a7b, #8134af, #515bd4);
}

.site-footer .footer-links .sns-btn.line {
    background: #06c755;
}

.site-footer .footer-links .sns-btn:hover {
    transform: translateY(-3px);
    opacity: 0.9;
}

/* スマホ対応 */
@media (max-width: 480px) {
    .site-footer .footer-links {
        flex-direction: column;
        gap: 10px;
    }

    .site-footer .footer-links .sns-btn {
        width: 100%;
        padding: 16px 20px;
    }
}

/* =============================
   Copyright
============================= */
.copyright {
    margin-top: 2em;
    font-size: 0.8rem;
    color: #777;
}

/* =============================
   Portfolio Tabs
============================= */


.portfolio-container {
    width: 90%;
    max-width: 1000px;
    margin: 0 auto;
    padding: 40px 0;
}

.tabs {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-bottom: 2em;
}

.tab {
    background-color: #f7f7f7;
    border: 2px solid #ddd;
    border-radius: 30px;
    padding: 10px 18px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.95rem;
    color: #444;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.tab:hover {
    background-color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.tab.active {
    background-color: #ffb347;
    color: #fff;
    border-color: #ffb347;
    box-shadow: 0 3px 6px rgba(255, 179, 71, 0.4);
}

/* =============================
   Portfolio Gallery Layout（枠なしすっきり版）
============================= */

.tab-content {
    display: grid;
    grid-template-columns: 1fr;
    /* スマホは1列 */
    gap: 24px;
    justify-items: center;
}

.tab-content figure {
    width: 100%;
    max-width: 480px;
    border-radius: 0;
    background: none;
    /* 背景色を削除 */
    box-shadow: none;
    /* 影を削除 */
    overflow: hidden;
    transition: transform 0.25s ease;
}

.tab-content figure:hover {
    transform: scale(1.02);
}

.tab-content img {
    width: 100%;
    height: auto;
    display: block;
    border: none;
    /* 下線装飾も削除 */
}

figcaption {
    margin-top: 8px;
    font-size: 0.9rem;
    color: darkblue;
    line-height: 1.4rem;
    text-align: center;
}

/* PC・タブレットで2列 */
@media screen and (min-width: 768px) {
    .tab-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* =============================
   Lightbox
============================= */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.lightbox img {
    max-width: 90%;
    max-height: 85%;
    border-radius: 8px;
    box-shadow: 0 0 12px rgba(255, 255, 255, 0.2);
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/*===================================
カルーセル、スライドショーcss　2
===================================*/

@keyframes horizontal-animation {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-100%);
    }
}

.slider-container {
    display: flex;
    overflow: hidden;
}

.slider-wrapper {
    display: flex;
    animation: horizontal-animation 65s linear infinite;
}

.slide {
    width: 400px;
    margin-right: 2px;
}

.slide img {
    width: 100%;
    height: auto;
    vertical-align: bottom;
}

@media (hover: hover) {
    .slider-container:hover .slider-wrapper {
        animation-play-state: paused;
    }
}

Resources1× 0.5× 0.25×Rerun

/* =============================
   Footer Inquiry Button（影を強調）
============================= */
.footer-button {
    font-size: 1.3rem;
    display: inline-block;
    background-color: #C87E14;
    color: #fff;
    padding: 15px 30px;
    border-radius: 30px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    margin: 15px auto;
    /* グレーの柔らかい影に変更 */
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.25);
}

.footer-button:hover {
    background-color: #ffa500;
    transform: translateY(-3px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

/* =============================
   SNS Buttons（影をくっきり）
============================= */
.site-footer .footer-links .sns-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 30px;
    border-radius: 35px;
    font-size: 1.05rem;
    font-weight: 600;
    text-decoration: none;
    color: #fff;
    box-sizing: border-box;
    min-width: 230px;
    line-height: 1.4;
    /* グレーの明確な影に変更 */
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.3);
    transition: transform 0.25s ease, opacity 0.25s ease, box-shadow 0.25s ease;
}

.site-footer .footer-links .sns-btn:hover {
    transform: translateY(-3px);
    opacity: 0.9;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.35);
}

/* =============================
   雑誌風フォトギャラリー
============================= */
.photo-gallery {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    justify-items: center;
    margin: 40px auto;
    max-width: 1000px;
}

.photo-gallery figure {
    background: none;
    border: none;
    box-shadow: none;
    transition: transform 0.3s ease;
}

.photo-gallery figure:hover {
    transform: scale(1.02);
}

.photo-gallery img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 6px;
}

.photo-gallery figcaption {
    margin-top: 8px;
    font-size: 0.95rem;
    line-height: 1.4rem;
    color: #333;
    text-align: left;
}

/* PC・タブレットで2列 */
@media screen and (min-width: 768px) {
    .photo-gallery {
        grid-template-columns: repeat(2, 1fr);
        gap: 2.5rem;
    }
}


/* =============================
   Responsive Layouts
============================= */
@media screen and (min-width: 768px) {
    article {
        width: 760px;
    }

    nav ul {
        width: 760px;
        margin: 0 auto;
    }

    header {
        background: url(https://www.photo-papan.com/images/tytle760px2025.svg) top center no-repeat;
        background-size: 760px;
    }

    header img {
        height: 360px;
        visibility: hidden;
    }
}

@media screen and (min-width: 1080px) {
    article {
        width: 1080px;
    }

    nav ul {
        width: 1080px;
        margin: 0 auto;
    }

    header {
        background: url(https://www.photo-papan.com/images/tytle960px2025.svg) top center no-repeat;
        background-size: 1080px;
    }

    header img {
        height: 290px;
        visibility: hidden;
    }
}
