/*======================================
  Hakuhousha Portfolio
  Base CSS
======================================*/
/*----------
  CSS Variables
----------*/

/*----------
  CSS Variables
----------*/
:root {

    /*==================================
      Theme
    ==================================*/

    --primary: #0F4C81;
    --primary-dark: #0A3458;
    --secondary: #F9A826;

    /*==================================
      Typography
    ==================================*/

    --font-family:
        "Yu Gothic",
        "Hiragino Sans",
        "Meiryo",
        sans-serif;

    --font-size: 16px;

    --font-size-sm: .875rem;
    --font-size-base: 1rem;
    --font-size-lg: 1.375rem;
    --font-size-xl: 1.75rem;
    --font-size-2xl: 2.0rem;

    --line-height: 1.8;

    --heading-color: var(--primary);

    --h1-size: 2.5rem;
    --h2-size: 2rem;
    --h3-size: 1.5rem;
    --h4-size: 1.25rem;

    /*==================================
      Text
    ==================================*/

    --text: #333333;
    --text-light: #666666;
    --text-hero-h1: #ffffff;

    /*==================================
      Background
    ==================================*/

    --background: #F7F9FC;
    --surface: #FFFFFF;

    /*==================================
      Border
    ==================================*/

    --border: #E5E7EB;

    /*==================================
      Radius
    ==================================*/

    --radius-sm: 8px;
    --radius: 12px;
    --radius-lg: 20px;

    /*==================================
      Spacing
    ==================================*/
    
    --space-2xs: .25rem;
    --space-xs: .5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2rem;
    --space-xl: 3rem;
    --space-2xl: 5rem;

    /*==================================
      Transition
    ==================================*/

    --transition: .3s ease;

    /*==================================
      Shadow
    ==================================*/

    --shadow: 0 8px 24px rgba(0,0,0,.08);

    /*==================================
      Layout
    ==================================*/

    --section-padding: 5rem 0;

    /*==================================
      Container
    ==================================*/

    --container-sm: 900px;
    --container-md: 1200px;
    --container-lg: 1400px;
    --container-xl: 1700px;

    /*==================================
      Header
    ==================================*/

    --header-height: 80px;
    --header-height-mobile: 70px;

    /*==================================
      Navigation
    ==================================*/

    --logo-size: 1.75rem;
    --logo-size-mobile: 1.5rem;

    /*==================================
      Button
    ==================================*/

    --button-light-bg: #F3F4F6;
    --button-light-border: #D1D5DB;
    --button-light-color: #555555;
    --button-light-hover: #6B7280;

    --button-success-bg: #8FCE8F;
    --button-success-hover: #78AC78;

    /*==================================
      Card
    ==================================*/

    --card-bg: var(--surface);
    --card-padding: 35px;
    --card-radius: var(--radius);
    --card-shadow: var(--shadow);
    --card-hover-y: -8px;

    /*==================================
      Banner
    ==================================*/

    --banner-height: 700px;
    --banner-height-tablet: 600px;
    --banner-height-mobile: 500px;

    /*==================================
      Form
    ==================================*/

    --form-height: 48px;
    --form-padding: 14px 18px;
    --form-radius: var(--radius-sm);
    --form-focus-shadow: 0 0 0 3px rgba(15,76,129,.15);

    /*==================================
      Table
    ==================================*/

    --table-border: var(--border);
    --table-header-bg: var(--background);
    --table-row-hover: #F9FAFB;

    /*==================================
      Modal
    ==================================*/

    --modal-bg: var(--surface);
    --modal-radius: var(--radius);
    --modal-shadow: 0 20px 50px rgba(0,0,0,.20);

    /*==================================
      Toast
    ==================================*/

    --toast-radius: var(--radius);
    --toast-shadow: var(--shadow);

    /*==================================
      Message
    ==================================*/

    --success-color: #166534;
    --success-bg: #ECFDF5;
    --success-border: #86EFAC;

    --error-color: #B91C1C;
    --error-bg: #FEF2F2;
    --error-border: #FCA5A5;

    --warning-color: #92400E;
    --warning-bg: #FFFBEB;
    --warning-border: #FCD34D;

    --info-color: var(--primary);
    --info-bg: #EFF6FF;
    --info-border: #93C5FD;

    --debug-color: #f77c7c;

        
    /*==================================
    Footer
    ==================================*/

    /* Color */

    --footer-bg: var(--primary);

    --footer-text: #ffffff;
    --footer-text-light: rgba(255,255,255,.85);

    --footer-border: rgba(255,255,255,.20);

    --footer-hover: #9fd8ff;

    --footer-icon-bg: rgba(255,255,255,.15);

    /* Size */

    --footer-icon-size: 42px;




    /*==================================
    Badge
    ==================================*/

    --badge-radius: 999px;
    --badge-padding: 6px 14px;
    --badge-font-size: var(--font-size-sm);

    --badge-success-bg: #06C755;
    --badge-success-color: #FFFFFF;

    --badge-disabled-bg: #999999;
    --badge-disabled-color: #FFFFFF;

    /*==================================
    Pagination
    ==================================*/

    --pagination-size: 42px;




    /*==================================
     Header.cssで使用のため追加
    ==================================*/


    --header-shadow:0 2px 10px rgba(0,0,0,.05);

    --z-header:100;
    --z-modal:1000;
    --z-toast:1100;


    /* Hero */

    --hero-height:700px;
    --hero-height-tablet:600px;
    --hero-height-mobile:500px;

    --hero-overlay:
    linear-gradient(
        rgba(15,76,129,.31),
        rgba(21,101,168,.31)
    );


}


/*----------
  Reset
----------*/

*,
*::before,
*::after{

    margin:0;
    padding:0;

    box-sizing:border-box;

}


html{

    font-size:16px;

    scroll-behavior:smooth;

}


body{

    font-family: var(--font-family);

    font-size: var(--font-size);

    color: var(--text);

    background: #fff;

    line-height: var(--line-height);

    overflow-x: hidden;

}

img{

    max-width:100%;

    display:block;

    height:auto;

}


ul,
ol{

    list-style:none;

}


a{

    color:inherit;

    text-decoration:none;

    transition:var(--transition);

}


button{

    cursor:pointer;

    border:none;

    background:none;

    font:inherit;

}


input,
textarea,
select{

    font:inherit;

}


/*----------
 Typography
----------*/
h1,
h2,
h3,
h4,
h5,
h6{

    color: var(--heading-color);

    font-weight: 700;

    line-height: 1.3;

    margin-bottom: 1rem;

}

h1{
    font-size: var(--h1-size);
}

h2{
    font-size: var(--h2-size);
}

h3{
    font-size: var(--h3-size);
}

h4{
    font-size: var(--h4-size);
}

/* ヒーロー用 */
.hero_h1 {
    color: var(--text-hero-h1);
}



/* ヒーロー用 */
.hero_h2 {
    color: var(--text-hero-h1);
}
.section-title{

    text-align:center;

    margin-bottom:60px;

    color:var(--primary);

}



/*----------
 Utility
----------*/

.text-center{

    text-align:center;

}


.mt-50{

    margin-top:50px;

}

.mb-50{

    margin-bottom:50px;

}

.hidden{

    display:none;

}


/*----------
 Animation
----------*/

.fade{

    opacity:0;

    transform:translateY(30px);

    transition:.6s;

}

.fade.show{

    opacity:1;

    transform:none;

}


/*======================================
  Message
======================================*/

.message {

    margin-bottom: 24px;

    padding: 16px 20px;

    border: 1px solid var(--border);

    border-left: 4px solid var(--primary);

    border-radius: var(--radius);

    background: var(--background);

    color: var(--text);

    line-height: 1.8;

    font-size: .95rem;

}

.message--success {

    border-left-color: var(--success-color);

}

.message--error {

    border-left-color: var(--error-color);

}

.message--warning {

    border-left-color: var(--warning-color);

}

.message--info {

    border-left-color: var(--info-color);

}

.message p:last-child {

    margin-bottom: 0;

}

.links a{
    display:inline-flex;
    align-items:center;
    padding:4px 12px;
    border:1px solid var(--border);
    border-radius:var(--radius-sm);

    background:var(--surface);

    color:inherit;
    text-decoration:none;
    transition:var(--transition);
}

.links a:hover{
    background:var(--background);
    border-color:var(--primary);
    color:var(--primary);
}





