/*
Theme Name: Neo Utopia
Theme URI: https://neoutopia.jp/
Description: A child theme for Linktree style page.
Author: Altradd Works
Author URI: https://altradd.org/
Template: twentytwenty
Version: 1.0.0
*/

@import url('https://fonts.googleapis.com/css2?family=Akshar&family=Zen+Kaku+Gothic+Antique:wght@400;700&display=swap');    

html {
    font-size: 16px;
}

body {
    background-image: url(../img/bg_sky.jpg), linear-gradient(180deg, #219587 0%, #62a8ac 60%, #ffad42 85%, #dc5727 100%);
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-blend-mode: overlay;
    font-family: 'Akshar', 'Zen Kaku Gothic Antique', sans-serif;
    letter-spacing: 0.125em;
    line-height: 1.6em;
}

#header {
    display: none;
}

#header + hr {
    display: none;
}

#footer {
    display: none;
}

.linktree-page + hr {
    display: none;
}

#primary {    
    display: flex;
    flex-direction: column;
    gap: 40px;
    width: 100%;
    min-height: 100vh;
    box-sizing: border-box;
    align-items: center;
    padding: 40px 16px;
}

.site-main {
    width: auto;
    text-align: center;
    max-width: 480px;
}
article {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.linktree-page header.entry-header {
    display: flex;
    flex-direction: column;
    gap: clamp(10px, 8.1px + 1vw, 24px);
    align-items: center;
}
.linktree-page .site-icon-container {
    width: 96px;
    height: 96px;
    border-radius: 48px;
    overflow:hidden
}
.linktree-page .site-icon-container img {
    width: 100%;
}
.linktree-page .entry-title {
    line-height: 1.25em;
    color: #fff;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
    margin: 0px;
    font-family: inherit;
}
.linktree-page .site-description p {
    margin: 0;
    color: #fff;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}
.linktree-container .linktree-buttons {
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: center;
}

.linktree-button {
    display: block;
    width: 100%;
    min-width: 560px;
    background-color: rgb(225, 235, 175);
    color: #ffffff;
    text-decoration: none;
    border-radius: 10px;
    font-size: 1.0em;
    transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
    min-height: 80px;
    position: relative;
    overflow: hidden;
    text-align: center;
    aspect-ratio: 3.303 / 1;
}

.linktree-button .button-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    padding: 15px 25px;
    box-sizing: border-box;
    position: relative;
    z-index: 2;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    transition: background-image 0.3s ease;
    text-shadow: 0px 1px 3px rgba(0, 0, 0, .7);
    font-family: 'Akshar', 'Zen Kaku Gothic Antique', sans-serif;
}

.linktree-button.has-bg-image .button-content::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(0deg, rgba(0,0,0,0.35),50%, rgba(0,0,0,.15));
    border-radius: 10px;
    z-index: 0;
    transition: background 0.3s ease;
}

.linktree-button .button-text {
    font-weight: bold;
    line-height: 1.2;
    z-index: 1;
}
.linktree-button .button-text.en {
    font-size: clamp(1.125rem, 0.989rem + 0.68vw, 1.25rem);
}
.linktree-button .button-text.jp {
    font-size: clamp(1rem, 0.955rem + 0.23vw, 1.125rem);
}

.linktree-button .button-caption {
    font-size: clamp(0.75rem, 0.705rem + 0.23vw, 0.875rem);
    font-weight: normal;
    opacity: 1.0;
    line-height: 1.2;
    z-index: 1;
    margin-top: clamp(6px, 4.1px + 1vw, 12px);
}

.linktree-button:hover {
    background-color: #0056b3;
    transform: translateY(-3px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}
.linktree-button.has-bg-image:hover .button-content::before {
    background: rgba(0, 0, 0, 0.5);
}

.linktree-button:active {
    transform: translateY(0);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.linktree-page .social-links {
    display: flex;
    flex-direction: row;
    gap: 16px;
    list-style: none;
    align-items: center;
    justify-content: center;
    padding: 0;
    margin: 0;
}
.linktree-page .social-links li {
    width: 40px;
}
.linktree-page .social-links a {
    display: block;
    padding: 4px;
}
.linktree-page .social-links svg {
    display: block;
    width: 100%;
    max-width: 32px;
    aspect-ratio: 1 / 1;
}
.linktree-page .copyright {
    font-size: .75em;
    color: #fff;
    line-height: 1.0;
}

small {
    color:#fff
}

@media (max-width: 767px) {
    #primary {
        padding: 24px 16px;
    }
    .site-main {
        width: 100%;
        max-width: 520px;
    }
    .linktree-button {
        width: 100%;
        min-width: auto;
        max-width: 400px;
    }
}

@media (max-width: 479px) {
    #primary {
        padding: 24px 16px;
    }
    .site-main {
        width: 100%;
        max-width: none;
    }
    .linktree-button {
        min-width: auto;
        width:100%;
    }
}

@media (max-width: 374px) {
    .site-main {
        width: 100%;
        max-width: none;
    }
}

/* ----------------------
フォント指定 
----------------------*/
/* サイズ */
.fs-xs {
    /* min 10px max 12px */
    font-size: clamp(0.625rem, 0.58rem + 0.23vw, 0.75rem)
}
.fs-s {
    /* min 12px max 14px */
    font-size: clamp(0.75rem, 0.705rem + 0.23vw, 0.875rem);
}
.fs-m {
    /* min 14px max 16px */
    font-size: clamp(0.875rem, 0.775rem + 0.5vw, 1rem);
}
.fs-l {
    /* min 18px max 20px */
    font-size: clamp(1.125rem, 0.989rem + 0.68vw, 1.25rem);
}
.fs-xl {
    /* min 24px max 32px */
    font-size: clamp(1.5rem, 0.977rem + 1.36vw, 2rem);
}

.bold {
    font-weight: bold;
}

.tal {
    text-align: left;
}
.tac {
    text-align: center;
}
.tar {
    text-align: right;
}