@charset "UTF-8";

/* =====================================================
  ROOT TOKENS
===================================================== */
:root{
  --tg-bg:#ffffff;
  --tg-text:#222;
  --tg-muted:#666;
  --tg-line:#ece9e3;

  --tg-menu-bg:#f7f4ee;
  --tg-menu-text:#2a2825;
  --tg-menu-line:rgba(0,0,0,.10);

  --tg-container:980px;
  --tg-text-width:720px;

  --tg-space-xs:8px;
  --tg-space-s:16px;
  --tg-space-m:24px;
  --tg-space-l:32px;
  --tg-space-xl:48px;
  --tg-space-xxl:64px;

  --tg-section:120px;
  --tg-section-sp:80px;

  --tg-title:clamp(26px, 3vw, 34px);
  --tg-hero:clamp(18px, 2vw, 24px);
  --tg-body:16px;
  --tg-lh:2;
  --tg-track:.05em;

  --tg-header-h:72px;

  --tg-ja:"Noto Serif JP", serif;
  --tg-en:"Cinzel", serif;
}

/* =====================================================
  RESET
===================================================== */
html,
body{
  height:100%;
}

html{
  scroll-behavior:smooth;
}

body{
  margin:0;
  background:var(--tg-bg);
  color:var(--tg-text);
  font-family:var(--tg-ja);
  font-size:var(--tg-body);
  line-height:var(--tg-lh);
  letter-spacing:var(--tg-track);
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
}

*,
*::before,
*::after{
  box-sizing:border-box;
}

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

a{
  color:inherit;
  text-decoration:none;
}

p,
h1,
h2,
h3,
h4,
h5,
h6,
figure,
ul,
ol{
  margin:0;
  padding:0;
}

ul,
ol{
  list-style:none;
}

/* =====================================================
  BASE
===================================================== */
.tg-container{
  width:min(100%, var(--tg-container));
  margin-inline:auto;
  padding-inline:40px;
}

.tg-section{
  padding-top:var(--tg-section);
  padding-bottom:var(--tg-section);
}

.tg-text{
  max-width:var(--tg-text-width);
  margin-inline:auto;
  text-align:center;
}

.tg-title{
  position:relative;
  display:inline-block;
  font-size:var(--tg-title);
  line-height:1.5;
  font-weight:500;
  letter-spacing:.08em;
  margin-bottom:28px;
}

.tg-title::after{
  content:"";
  display:block;
  width:48px;
  height:1px;
  background:#222;
  margin:16px auto 0;
  opacity:.6;
}

.tg-body{
  margin-top:40px;
  color:var(--tg-text);
}

.tg-image{
  margin-top:48px;
}

.tg-linkline{
  margin-top:32px;
}

.tg-linkline a{
  display:inline-block;
  padding-bottom:4px;
  border-bottom:1px solid var(--tg-text);
  transition:opacity .3s ease;
}

.tg-linkline a:hover{
  opacity:.6;
}

.tg-body a{
  border-bottom:1px solid rgba(0,0,0,.24);
}

/* =====================================================
  MOBILE
===================================================== */
@media (max-width: 768px){
  :root{
    --tg-header-h:64px;
  }

  .tg-container{
    padding-inline:20px;
  }

  .tg-section{
    padding-top:var(--tg-section-sp);
    padding-bottom:var(--tg-section-sp);
  }

  .tg-title{
    margin-bottom:24px;
  }

  .tg-title::after{
    margin-top:14px;
  }

  .tg-body{
    margin-top:28px;
    font-size:15px;
    line-height:1.95;
  }

  .tg-linkline{
    margin-top:28px;
  }
}